⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appendix-a.htm

📁 这个是sap开发语言abap的教育文档
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">

<!--

function popUp(pPage) {

 var fullURL = document.location;

 var textURL = fullURL.toString();

 var URLlen = textURL.length;

 var lenMinusPage = textURL.lastIndexOf("/");

 lenMinusPage += 1;

 var fullPath = textURL.substring(0,lenMinusPage);

 popUpWin = window.open('','popWin','resizable=yes,scrollbars=no,width=525,height=394');

 figDoc= popUpWin.document;

 zhtm= '<HTML><HEAD><TITLE>' + pPage + '</TITLE>';

 zhtm += '</head>';

 zhtm += '<BODY bgcolor="#FFFFFF">';

 zhtm += '<IMG SRC="' + fullPath + pPage + '">';

 zhtm += '<P><B>' + pPage + '</B>';

 zhtm += '</BODY></HTML>';

 window.popUpWin.document.write(zhtm);

 window.popUpWin.document.close();

 // Johnny Jackson 4/28/98

 }

//-->

</SCRIPT>
<META>

	<META NAME="Author" Content="Steph Mineart">
	<TITLE>Sams Teach Yourself ABAP/4&reg; in 21 Days -- Appendix A-Naming Conventions</TITLE>
</HEAD>

<BODY BGCOLOR="#FFFFFF">

<P ALIGN="CENTER"><IMG SRC="button/sams.gif" tppabs="http://pbs.mcp.com/ebooks/0672312174/button/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM"
BORDER="0">
<H1 ALIGN="CENTER">Sams Teach Yourself ABAP/4<SUP>&reg;</SUP> in 21 Days</H1>
<CENTER>
<P><A HREF="ch21/rev03.htm" tppabs="http://pbs.mcp.com/ebooks/0672312174/ch21/rev03.htm"><IMG SRC="button/previous.gif" tppabs="http://pbs.mcp.com/ebooks/0672312174/button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" BORDER="0"></A> <A HREF="index.htm" tppabs="http://pbs.mcp.com/ebooks/0672312174/index.htm"><IMG SRC="button/contents.gif" tppabs="http://pbs.mcp.com/ebooks/0672312174/button/contents.gif"
WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" BORDER="0"></A> <A HREF="appendix-b.htm" tppabs="http://pbs.mcp.com/ebooks/0672312174/appendix-b.htm"><IMG
SRC="button/next.gif" tppabs="http://pbs.mcp.com/ebooks/0672312174/button/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" BORDER="0"></A>
<HR>

</CENTER>
<H1>Appendix&nbsp;A</H1>
<H1>Naming Conventions</H1>

<UL>
	<LI><A HREF="#ProgramNamingConventions">Program Naming Conventions</A>
	<UL>
		<LI><A HREF="#NamingConventionsforReports">Naming Conventions for Reports</A>
		<LI><A HREF="#NamingConventionsforDialogPrograms">Naming Conventions for Dialog Programs</A>
	</UL>
	<LI><A HREF="#CustomerNameRanges">Customer Name Ranges</A>
</UL>

<P>
<HR>

<H2><A NAME="ProgramNamingConventions"></A>Program Naming Conventions</H2>
<P>There are two program types:

<UL>
	<LI>Reports
	<LI>Dialog programs
</UL>

<P>Each program type has its own naming conventions. Table A.1 contains the characters
that are not allowed in program names.</P>
<CENTER>
<B>Table A.1&nbsp;&nbsp;Invalid Characters for Program Names</B></CENTER>
<CENTER>

<TABLE BORDER="1">
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER"><B>Character</B>
		</TD>
		<TD WIDTH="192">
			<P ALIGN="CENTER"><B>Description</B>
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">.
		</TD>
		<TD WIDTH="192">Period</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">,
		</TD>
		<TD WIDTH="192">Comma</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>&nbsp;</TD>
		<TD WIDTH="192">Blank</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">( )
		</TD>
		<TD WIDTH="192">Parentheses</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">'
		</TD>
		<TD WIDTH="192">Single quote</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">&quot;
		</TD>
		<TD WIDTH="192">Double quote</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">=
		</TD>
		<TD WIDTH="192">Equal sign</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">*
		</TD>
		<TD WIDTH="192">Asterisk</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">_
		</TD>
		<TD WIDTH="192">Underscore</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">%
		</TD>
		<TD WIDTH="192">Percent sign</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER">&Auml; &auml; &Ouml; &ouml; &Uuml; &uuml; &szlig;
		</TD>
		<TD WIDTH="192">
			<P ALIGN="CENTER">Umlaut and &quot;scharfes s&quot; characters
		</TD>
	</TR>
</TABLE>
</CENTER>
<H3><A NAME="NamingConventionsforReports"></A>Naming Conventions for Reports</H3>
<P>Customer report names follow the convention <I>Yaxxxxxx</I> or <I>Zaxxxxxx</I>,
where:

<UL>
	<LI>The first character must be a <I>Y</I> or <I>Z.</I>
	<LI>The second character represents the application area.
	<LI>The maximum program length is 10.
</UL>

<P>The second character is the short form for the application area (see Table A.2).
For example, a customer report for Treasury would follow the convention <I>Z5xxxxxx</I>,
while a logistics report would be named <I>Z21xxxxx</I>.</P>
<P>Each application area can be represented by a code. Each code has two commonly
used forms, the short form and the long form. There is also a code used only for
logical database names. These codes are shown in Table A.2.</P>
<CENTER>
<B>Table A.2&nbsp;&nbsp;Codes for the Application Areas in R/3</B></CENTER>
<CENTER>

<TABLE BORDER="1">
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER"><B>Application<BR>
			Area</B>
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER"><B>Long<BR>
			Form</B>
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER"><B>Short<BR>
			Form</B>
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER"><B>LDB<BR>
			Form</B>
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Financial Accounting</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">FI
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">1
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">F
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Materials Management</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">MM
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">2
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">M
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Sales and Distribution</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">SD
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">3
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Production Planning and Control</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">PP
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">4
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Treasury</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">TR
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">5
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Quality Management</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">QM
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">6
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Project System</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">PS
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">7
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Plant Maintenance</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">PM
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">8
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Warehouse Management</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">WM
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">9
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Human Resources</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">HR
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">10
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Asset Accounting</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">AA
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">11
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Controlling</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">CO
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">12
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Process Industries</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">PI
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">13
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Investment Management</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">IM
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">14
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Logistics (General)</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">LO
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">21
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>International Development</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">IN
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">22
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD>Cross Application Functionality</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">CA
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">23
		</TD>
		<TD WIDTH="96">
			<P ALIGN="CENTER">&nbsp;
		</TD>
	</TR>
</TABLE>
</CENTER>
<P>
<H3><A NAME="NamingConventionsforDialogPrograms"></A>Naming Conventions for Dialog
Programs</H3>
<P>Customer dialog program names follow the convention <I>SAPMYxxx</I> or <I>SAPMZxxx</I>,
where:

<UL>
	<LI>The first four characters must be <I>SAPM</I>.
	<LI>The fifth character must be a <I>Y</I> or <I>Z.</I>
	<LI>The last three characters may be any valid characters.
</UL>

<P>Programs written by SAP follow the convention <TT>SAPMaxxx</TT>, where <TT>a</TT>
is the short form for an application area.
<H2><A NAME="CustomerNameRanges"></A>Customer Name Ranges</H2>
<P>The R/3 system contains many types of development objects. If you want to create
a development object yourself, you must create it in the <I>customer name range</I>.
The conventions for customer name ranges are shown in Table A.3.</P>
<CENTER>
<B>Table A.3&nbsp;&nbsp;Customer Name Ranges for All R/3 Development Objects</B></CENTER>
<CENTER>

<TABLE BORDER="1">
	<TR VALIGN="TOP">
		<TD>
			<P ALIGN="CENTER"><FONT SIZE="2"><B>Object<BR>
			Type</B></FONT>
		</TD>
		<TD>
			<P ALIGN="CENTER"><FONT SIZE="2"><B>Max<BR>
			Length</B></FONT>
		</TD>
		<TD>
			<P ALIGN="CENTER"><FONT SIZE="2"><B>Naming <BR>
			Convention</B></FONT>
		</TD>
		<TD>
			<P ALIGN="CENTER"><FONT SIZE="2"><B>Notes</B></FONT>
		</TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">ABAP/4 Query<BR>
			&nbsp;&nbsp;Query<BR>
			&nbsp;&nbsp;Functional Area<BR>
			&nbsp;&nbsp;Function Group</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			2<BR>
			4<BR>
			3</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			*<BR>
			*<BR>
			*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Append Structures<BR>
			&nbsp;&nbsp;Append Structure<BR>
			&nbsp;&nbsp;Append Structure Fields</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			10<BR>
			10</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			Y* Z*<BR>
			YY* ZZ*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Application Logs<BR>
			&nbsp;&nbsp;Object<BR>
			&nbsp;&nbsp;Sub-Object</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			4<BR>
			10</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			Y* or Z*<BR>
			Y* or Z*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Area Menus</FONT></TD>
		<TD><FONT SIZE="2">4</FONT></TD>
		<TD><FONT SIZE="2">Y* Z*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Authorizations<BR>
			&nbsp;&nbsp;Authorization<BR>
			<BR>
			&nbsp;&nbsp;Authorization Class<BR>
			&nbsp;&nbsp;Authorization Group<BR>
			&nbsp;&nbsp;Authorization Object</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			12<BR>
			<BR>
			4<BR>
			30<BR>
			10</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			any<BR>
			<BR>
			Y* Z*<BR>
			Y* Z*<BR>
			Y* Z*</FONT></TD>
		<TD><FONT SIZE="2"><BR>
			Not allowed in 2nd position</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">CATT Flows</FONT></TD>
		<TD><FONT SIZE="2">8</FONT></TD>
		<TD><FONT SIZE="2">Y* Z*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Change Document Objects</FONT></TD>
		<TD><FONT SIZE="2">10</FONT></TD>
		<TD><FONT SIZE="2">Y* or Z*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Codepages</FONT></TD>
		<TD><FONT SIZE="2">4</FONT></TD>
		<TD><FONT SIZE="2">9*</FONT></TD>
		<TD><FONT SIZE="2">&nbsp;</FONT></TD>
	</TR>
	<TR VALIGN="TOP">
		<TD><FONT SIZE="2">Data Elements<BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -