ABAP keyword 'BUILD'
Hi Guru's,
I would like to know if ther is any keyword 'BUILD' in ABAP.
If yes please let me know how it is used.
regards
Sunil Kumar P
Hi,
The statement has been used in one of the program which has to be upgraded to ECC6.0.
I could not replace this BUILD statement. Below is the code
REPORT zghgtmrg .
merge trkorr-list into a single transport
TABLES: e070, e070c, e071, e071k.
PARAMETERS: p_sfile RADIOBUTTON GROUP a,
p_slist RADIOBUTTON GROUP a.
SELECTION-SCREEN SKIP 1.
PARAMETERS: p_file LIKE rlgrap-filename.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: p_list FOR e070-trkorr.
PARAMETERS: p_trkorr LIKE e070-trkorr DEFAULT 'CD1K90????'.
DATA: BEGIN OF wk,
rec(255),
p1(32),
p2(32),
p3(32),
p4(32),
p5(32),
p6(32),
p7(32),
p8(32),
p9(32),
trkorr LIKE e070-trkorr,
ctr TYPE i,
as4pos LIKE e071-as4pos,
errsw,
END OF wk.
DATA: BEGIN OF wk_thiskey,
pgmid LIKE e071k-pgmid,
object LIKE e071k-object,
objname LIKE e071k-objname,
END OF wk_thiskey.
DATA: BEGIN OF wk_lastkey,
pgmid LIKE e071k-pgmid,
object LIKE e071k-object,
objname LIKE e071k-objname,
END OF wk_lastkey.
DATA: fe071 LIKE e071 OCCURS 100 WITH HEADER LINE,
fe071k LIKE e071k OCCURS 100 WITH HEADER LINE,
te071 LIKE e071 OCCURS 3000 WITH HEADER LINE,
te071k LIKE e071k OCCURS 3000 WITH HEADER LINE.
DATA: BEGIN OF ifile OCCURS 500,
rec(255),
END OF ifile.
DATA: x09 TYPE x VALUE '09'.
*Begin Of Change by v02.01MA3
DATA L_P_FILE TYPE STRING.
L_P_FILE = p_list.
RANGES: i_list FOR e070-trkorr.
START-OF-SELECTION.
Check input parameters:
IF NOT p_slist IS INITIAL.
DESCRIBE TABLE p_list LINES wk-ctr.
IF wk-ctr EQ 0.
MESSAGE i368(00) WITH 'Specify trkorrs in list'.
EXIT.
ENDIF.
ELSE.
IF p_file IS INITIAL.
MESSAGE i368(00) WITH 'Specify filename'.
EXIT.
ENDIF.
ENDIF.
IF NOT p_slist IS INITIAL.
use p_list from selection screen:
Check selected transports:
LOOP AT p_list.
IF p_list-option NE 'EQ'.
MESSAGE i368(00) WITH 'Do not use generic selections'.
MOVE 'X' TO wk-errsw.
EXIT.
ENDIF.
ENDLOOP.
ELSE.
Build p_list from (P_FILE).
This last statement has to be replaced.
Can anyone guide me on this.
Regards
Sunil kumar P
Similar Messages
-
ABAP Programming Guidelines not showing in ABAP Keyword Documentation
We are currently in the process of upgrading to Netweaver 7.0 EhP2
I have seen mentioned that the ABAP Keyword Documentation and ABAP Examples are now all provided in an improved ABAPDOCU transaction. In addition, the ABAPDOCU transaction is meant to also have a section on ABAP Programming Guidelines.
I have seen a screen example of what the ABAPDOCU screen now looks like (as shown in the mockup below). Our ABAPDOCU screen looks very similar except that there is no node for ABAP Programming Guidelines.
That is an area that I would like to have a closer look at. Have we missed something. Is this available as part of the standard 7.0 EhP2 install or does it need to be installed separately (or perhaps is this only available in a higher EhP). I've tried finding further information on this option but have not been able to come across anything. Does anyone know what would be involved (or if it is possible) to make this available in EhP2
Greg Milici
ABAP Developer
...V...ABAP Keyword Documentation
.......>...ABAP Overview
.......>...ABAP - Reference
.......>...ABAP - Short Reference
.......>...ABAP - Release-Specific Changes
.......>...ABAP Programming Guidelines
............ABAP Glossary
............ABAP Index
............ABAP Subject Directory
etc.Hi Greg,
When [searching|http://help.sap.com/search/sap_trex.jsp] the [documentation for NW 7.0.2|http://help.sap.com/nw702/] for ABAP keyword there are several documents that mention how you can find more details about ABAP keywords. For example, [Data Consistency|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/41/7af4b6a79e11d1950f0000e82de14a/frameset.htm] mentions a menu in the ABAP Editor, and [New Features in Web Dynpro ABAP for Enhancement Package 2 (EhP2)|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/54/07ec96bd5a4764be4996fff231b4de/frameset.htm] mentions the ABAPHELP transaction.
I suppose you could try to find if the documentation you need is installed on your system. Perhaps the [how do I Install SAP Document CD and SAP Library|how do I Install SAP Document CD and SAP Library; thread might be of help.
Best regards,
Rossen -
ABAP Keyword Documentation for ECC 6.0
Hello,
Can somebody point out the link to the ABAP Keyword Documentation for ECC 6.0?
Thanks in advance.
Regards,
ReenaHi,
Look into this URL:
http://www.geocities.com/academic37/abap/abapindx.htm
Rgds,
Ramani N -
ABAP keyword documentation not displayed
Hello all,
I have an ECC 6 IDES system installed with SPS 14 on it. I want to view ABAP keyword documentation through SE38 --> Utilities --> Keyword documentation , But nothing is being displayed. The control brings me back to the same screen. However, ABAPHELP , ABAPDOCU tcodes work fine.
Do we need to explicitly configure the ABAP keyword documentation?
My SAP GUI is 710 with latest patch applied.
Please help me resolve this issue.
Regards,
Shahid Khadri.Hi,
I have the same problem. I´m on SAP_ABA level 13. We have two sap systems here, MCC and MQA (on this server abap keyword documentation is not displayed). MCC does work properly and works on SAP_ABA level 13. So I guess the error can´t be from not patching the system to a later SAP_ABA level.
Any other ideas? Slowly I´m running dry of ideas.
Dominik -
Hi,
The link which I was using for ABAP KEYWORD DOCUMENTATION does not work anymore.
http://help.sap.com/abapdocu/en/ABENABAP.htm
Does anyone know the correct link?
Thanks and Regards,
ReenaHi Reena,
Use this it's working.
[http://help.sap.com/abapdocu_70/en/ABENABAP.HTM]
Thank you,
pavan. -
Abap Keyword Documentation and IE7
Hi;
when i install ie7 i cannot see the abap keyword documentation. the window opens but cannot see the content.Huh?
I have the same problem.
Which patch 20?
Thanks.
Jean-Marie -
Where can I find list of new ABAP keywords for ECC6 with examples
AndrewTry documentation in ABAP workbench. It lists all the keywords with examples in most cases. ABAP delta documentation may also have lot of details.
-Cheers -
Need ABAP Query Builder Like Ms-SQLQuery Builder for Critical ABAP-Query
Dear ABAP Friends,
I Need ABAP Query Builder which is as flexible as Ms-SQLQuery Builder for building Critical ABAP-Queries e.g. "I have 4 master tables , Each master table having self-join with some condition and these 4 Result-Sets have Innser-Join+Left Outer Join " Please Help.I have seen TCODE SQ01, But I found that this TCODE may be used to build simple ABAP Query with Selection-screen which can be used for generating simple report. But i think for critical query ??????????
I have build my Query in MS-SQL and got the right output, Now how do I write this in ABAP Using Join statement. Please Help.....................
My SQL Query as below(Remember this is a single Query and verified correct in SQL):
SELECT P1.PERNR, P1.ENAME, P1.BEGDA AS P1BEGDA, P1.ENDDA AS P1ENDDA, P1.AEDTM AS P1AEDTM, P1.UNAME AS P1UNAME, P1.PERSG, P1.PERSK,
P1.PLANS,
P2.ENDDA AS P2ENDDA, P2.BEGDA AS P2BEGDA, P2.AEDTM AS P2AEDTM, P2.UNAME AS P2UNAME, P2.GESCH, P2.FAMST,
P21.ENDDA AS P21ENDDA, P21.BEGDA AS P21BEDDA, P21.AEDTM AS P21AEDTM, P21.UNAME AS P21UNAME, P21.FAMSA, P21.FAVOR, P21.FANAM,
P21.FGBDT, P21.FASEX,
P0.ENDDA AS P0ENDDA, P0.BEGDA AS P0BEDDA, P0.AEDTM AS P0AEDTM, P0.UNAME AS P0UNAME, P0.MASSN,
P0.MASSG
FROM (SELECT TOP (100) PERCENT PA0001_2.PERNR, PA0001_2.ENDDA, PA0001_2.BEGDA, PA0001_2.AEDTM, PA0001_2.UNAME, PA0001_2.PERSG,
PA0001_2.PERSK, PA0001_2.PLANS, PA0001_2.ENAME
FROM PA0001 AS PA0001_2 INNER JOIN
(SELECT PERNR, MAX(ENDDA) AS ENDDA
FROM PA0001 AS PA0001_1
GROUP BY PERNR) AS Pi1
ON PA0001_2.PERNR = Pi1.PERNR
AND PA0001_2.ENDDA = Pi1.ENDDA
ORDER BY PA0001_2.PERNR) AS P1 LEFT OUTER JOIN
(SELECT TOP (100) PERCENT PA0000.PERNR, PA0000.ENDDA, PA0000.BEGDA, PA0000.AEDTM, PA0000.UNAME, PA0000.MASSN,
PA0000.MASSG
FROM PA0000 INNER JOIN
(SELECT PERNR, MAX(AEDTM) AS Pi0AEDTM
FROM PA0000 AS PA0000_1
GROUP BY PERNR) AS Pi0 ON PA0000.PERNR = Pi0.PERNR AND PA0000.AEDTM = Pi0.Pi0AEDTM
ORDER BY PA0000.PERNR) AS P0 ON P1.PERNR = P0.PERNR LEFT OUTER JOIN
(SELECT TOP (100) PERCENT PA0021.PERNR, PA0021.ENDDA, PA0021.BEGDA, PA0021.AEDTM, PA0021.UNAME, PA0021.FAMSA, PA0021.FAVOR,
PA0021.FANAM, PA0021.FGBDT, PA0021.FASEX
FROM PA0021 INNER JOIN
(SELECT PERNR, MAX(AEDTM) AS Pi21AEDTM
FROM PA0021 AS PA0021_1
GROUP BY PERNR) AS Pi21 ON PA0021.PERNR = Pi21.PERNR AND PA0021.AEDTM = Pi21.Pi21AEDTM
ORDER BY PA0021.PERNR) AS P21 ON P1.PERNR = P21.PERNR LEFT OUTER JOIN
(SELECT TOP (100) PERCENT PA0002.PERNR, PA0002.ENDDA, PA0002.BEGDA, PA0002.AEDTM, PA0002.UNAME, PA0002.GESCH,
PA0002.FAMST
FROM PA0002 INNER JOIN
(SELECT PERNR, MAX(ENDDA) AS Pi2ENDDA
FROM PA0002 AS PA0002_1
GROUP BY PERNR) AS Pi2 ON PA0002.PERNR = Pi2.PERNR AND PA0002.ENDDA = Pi2.Pi2ENDDA
ORDER BY PA0002.PERNR) AS P2 ON P1.PERNR = P2.PERNR
xxxxx----
Edited by: Goutam Roy on May 5, 2009 1:11 PM -
PDF version of the ABAP keyword documentation
hi all,
can any1 please help me to find the PDF version of the ABAP keyword documentation??.......i have the HTML version downloaded from the TC ABAPDOCU.....but i prefer the PDF version...so please help out in this regard.................if any1 having that please mail a copy to [email protected]...thanx in advanceHi,
start <a href="http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm">here</a> and navigate to: Basis Components - ABAP Programming and Runtime Environment (BC-ABA) - ABAP Programming (BC-ABA)
Save the PDF.
Beware it's 1400+ pages...
Peter -
Cannot Display Window for ABAP Keyword Documentation
Dear Rolf-Martin,
Again, I have problem with my friend PC that run Windows OS.
When he start transaction code ABAPDOCU, than he call The ABAP Keyword
Documentation and type a keyword like "SELECT" than Enter.
In the right of ABAP Keyword Documentation window, there is nothing documentation
are shown.
What's wrong with SAP GUI (4.6C) Instalation?
Best Regards,
Dedy.WDear Eric Brunelle,
It's work!
I only update the patch.
Well, thanks a lots Eric.
by the way, whats wrong with my user id in this forum.
It's change to Orlando Ding??
Best regards,
Dedy.W -
Broken links to ABAP keyword documentation
Hi,
The links to ABAP Keyword documentation on SAP Help portal mentioned by Horst Keller here:
http://help.sap.com/abapdocu_740/en/index.htm
http://help.sap.com/abapdocu_740/de/index.htm
appear to be down again for me... Ditto for http://help.sap.com/abapdocu_731/en/index.htm and http://help.sap.com/abapdocu_731/de/index.htm. Only http://help.sap.com/abapdocu_702/en/abenabap.htm seems to be working for me at the moment (no, that page came from cache or something, now not working as well )
This documentation has been accessible only sporadically for me this week... I even tried silly sounding suggestions like copy-pasting link into browser rather than clicking links... I tried using different browsers, I tried clearing cache - everything I could think of. What's up with that, when will it be fixed? It's such a valuable resource...
Thank you
JānisMe too. I am forced to use Google cache to to see documentation. There is one Google Cache Browser website but it does not help as the hyperlinks are not static. After opening http://help.sap.com/abapdocu_740/en/abenabap.htm , the ABAP Overview hyperlink is linking to javascript:call_link('abenabap_oview.htm') instead of http://help.sap.com/abapdocu_740/en/abenabap_oview.htm
Perhaps we need to keep a offline copy on desktop. -
Problems with ABAP Keyword Documentation after install Internet Explorer 7
After install Internet Explorer 7 I see left frame with tree in ABAP Keyword Documentation, but don't see right frame.
I find note 857216, but it not approach.
Product Version SAP R/3 ENTERPRISE 47X200
SAP GUI 620 Final Release 6206.6.62.970
Internet Explorer 7.0.5730.11Once the page is opened, try to refresh the page a few times. I have seen this couple of times but just refreshing the same will solve the problem I believe.
Regards
Kathirvel -
Unsolved ABAP keyword documentation failure
Hi everybody,
I already posted this in the other "ABAP keyword documentation" threads, but because those are solved I think nobody sees that there´s still a problem (unfortunately all those solutions didn´t work for me or I should say that "my" problem didn´t appear yet, so I thought it might be a good idea to create a new thread so people can help me). For inconvenience I´m sorry.
Here is my problem:
We have two sap servers here, MCC and MQA. If I log into MCC, open SE80, mark a word (for example WRITE) and press F1, I get the pop up with title "ABAP key word documentation". I doubleclick on WRITE and another pop up (session) appears. Everything works wonderful.
Now I repeat this on server MQA. I mark a word (also WRITE, FYI: it doesn´t work on IF or ELSE), press F1 and a pop up appears (title is also "ABAP key word documentation"). I doubeclick WRITE and the pop up closes and nothing happens.
Please help me. I absolutely don´t know how to solve this problem. Both systems are on the same level in Support Package level, Kernel level etc.
Best regards, DominikTo be more specific:
I was missing an entry in SR13 -> PlainHtmlFile.
Well, I took the Documentation DVD and installed it.
Still the same problem, BUT if I call transaction ABAPHELP, leave the popup for the keyword blank and confirm, the ABAP reference opens. I click on ABAP-Index and search for WRITE (just an example). If I click it I get the same information like I normally would by selecting WRITE in SE80 and pressing F1.
So, in short: The system has the information it needs (ABAP-Index), but it can´t be opened via F1 in SE80.
I think / hope that there´s is only one little thing left I have to do / configure.
Any ideas / suggestions?
Greetings, Dominik -
Regarding 'FREE' ABAP Keyword in the local internal table
Hi Experts,
//sorry for my english ;(
Our ABAP Development leader forced us to use FREE ABAP Keyword on Local internal table like below situation.
and I really don't get it.
-below-
FORM GET_DATA.
DATA: LT_ITAB TYPE TABLE OF SFLIGHT.
SELECT * FROM ZTABLE INTO TABLE LT_TABLE
FOR ALL ENTRIES IN LT_ITAB
WHERE KKEY = LT_ITAB-CARRID.
"// WHY DO I HAVE TO USE THIS CODE
FREE LT_ITAB.
ENDFORM.
I know that GC(garbage collector) will release memory area of LT_ITAB.
but why do i have to release directly FREE LT_ITAB memory area?
cause to take in short time memory advantage of before GC calling?
thanks.Guys, why don't you read ABAP help?
From ABAP help about FREE:
For internal tables, FREE has the same effect as the REFRESH statement, though the entire memory area occupied by the table rows is released, and the initial memory area remains unoccupied
About REFRESH:
This statement sets an internal table itab to its initial value, meaning that it deletes all rows of the internal table. The memory space required for the table is freed up to the initial memory size INITIAL SIZE. For itab, you must specify an internal table.
To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE.
About INITAIL SIZE:
After the optional addition INITIAL SIZE, you can specify a number of rows n as a numeric literal or numeric constant to adjust the size of the first block in the memory that is reserved by the system for an internal table of the table type. Without this addition, if the number 0 is entered, or the value of n exceeds a maximum value, the system automatically allocates an appropriate memory area.
To summarize:
Using free allows you to immediately free the initial space reserved by the kernel for an internal table.
I am lazy to look for it, but I don't think it ever exceeds few Kb.
regards,
Yuri -
Hi All,
If i have a word with me is there any way to know if that particular word is an ABAP keyword or not.
Ex: If i give 'DATA' as input i should get output as its a keyword,
If i give 'TEST' as input i should get output as not a keyword.
Is there any function module or other solution for this?
Thanks in Advance,Hi,
You can use the below function module.
TERM_KEYWORDS_SEARCH.
Take a key word FOR ALL ENTRIES, and pass this to the variable SEARCH_TERM.
For the parameter, CONTEXT, pass EN as language key.
In the import parameter, RESULT table will have this entry, under the column TEXT.
You can also restrict your search based on the component type.
Regards,
Santhosh.
Maybe you are looking for
-
Comparison between ABAP command statements in different versions
Hi, I'm looking for information on version wise difference in ABAP statements. Can someone provide help in this area. I need a list of Commands along with there syntax in different versions of ABAP (ECC 5.0 and 4.7). Is there any system table where t
-
Can I use my G4 quicksilver keyboard on a mini?
Can I use my G4 quicksilver keyboard on a mini?
-
Optimisation statistics graph lag
My Clock settings are fine as i have used an ntp server which is fuctional but i noticed a lag of about 3 hours on the graphs for optimisation statistics especially when i do a daily graph. How do i resolve these ?
-
Multiple Spanning Tree in a Hub and Spoke topology?
My company is planning to implement Multiple Spanning tree into our hub and spoke topology. Is that possible? Should I divide up the vlans into instances based on assigned switch or assigned department? Thank You.
-
Keeping itunes files on 2 external drives?
i keep my itunes files on an external hard drive right now, i just got a 500gb external drive to back up all my files. how can i keep my current drive as a primary drive for itunes to load up to and also have the files copied into the new drive as a