Hello ! Everybody
I have one report where i am printing out the partner types for one sales order. But my requirement is I have to get at least three partner types..in each line i.e SH,SP,BP.....
If Any body has SAP system with it then I can send my code
for better understandibility...to check....but its really important for me as i am under pressure
In the output....under the partner type field...i am actually getting one value for the partner type.....but it should be at least three values n each line.... i.e SP,SH,BP
REPORT ZTESTBAPIJOY line-size 1000.
*TABLE DECLARATION
TABLES:vbak, "Sales Document: Header Data
vbkd, "Sales Document: Business Data
vbpa, "Sales Document: Partner
vbap, "Sales Document: Item Data
adrc, "Addresses (central address admin.)
t178t, "Conditions: Groups for Materials
t188t, "Pricing groups for customers
tvm1,
tvm1t, "Material pricing group 1:Description
tvm2,
tvm2t, "Material Pricing Group 2:Description
tvm3,
tvm3t, "Material Pricing Group 3:Description
tvm4,
tvm4t, "Material Pricing Group 4:Description
tvm5,
tvm5t, "Material Pricing Group 5:Description
sza1_d0100,
tvlv , "Check table for release orders:Usage ID
tvlvt,
tvkgg, "Customer Condition Groups(Customer Master)
tvkggt,
tpar, "Business Partner: Functions
tpart,
tvaut. "Sales Documents: Order Reasons:Texts
*SELECT OPTIONS
SELECT-OPTIONS s_vbeln FOR vbak-vbeln.
*CREATING INTERNAL TABLES
TYPES:BEGIN OF ty_tab,
vbeln LIKE vbak-vbeln,
vkorg LIKE vbak-vkorg,
erdat LIKE vbak-erdat,
augru LIKE vbak-augru,
bezei LIKE tvaut-bezei,
bstdk LIKE vbkd-bstdk,
bstdk_e LIKE vbkd-bstdk_e,
bstkd LIKE vbkd-bstkd,
kdkg1 LIKE vbkd-kdkg1,
konda LIKE vbkd-konda,
matnr LIKE vbap-matnr,
spart LIKE vbap-spart,
kondm LIKE vbap-kondm,
waerk LIKE vbap-waerk,
netwr LIKE vbap-netwr,
kwmeng LIKE vbap-kwmeng,
vkaus LIKE vbap-vkaus,
mvgr1 LIKE vbap-mvgr1,
mvgr2 LIKE vbap-mvgr2,
mvgr3 LIKE vbap-mvgr3,
mvgr4 LIKE vbap-mvgr4,
mvgr5 LIKE vbap-mvgr5,
kunnr LIKE vbpa-kunnr,
parvw like vbpa-parvw,
post_code1 LIKE adrc-post_code1,
po_box LIKE adrc-po_box,
name1 LIKE adrc-name1,
name2 LIKE adrc-name2,
city1 LIKE adrc-city1,
city2 LIKE adrc-city2,
country LIKE adrc-country,
street LIKE adrc-street,
str_suppl1 LIKE adrc-str_suppl1,
str_suppl2 LIKE adrc-str_suppl2,
str_suppl3 LIKE adrc-str_suppl3,
smtp_addr LIKE adr6-smtp_addr,
beze_i LIKE tvlvt-bezei,
vtext LIKE v_t178-vtext,
v_text LIKE v_t188-vtext,
bezei1 LIKE tvm1t-bezei,
bezei2 LIKE tvm2t-bezei,
bezei3 LIKE tvm3t-bezei,
bezei4 LIKE tvm4t-bezei,
bezei5 LIKE tvm5t-bezei,
vtext2 LIKE tvkggt-vtext,
END OF ty_tab.
DATA: itab TYPE STANDARD TABLE OF ty_tab WITH HEADER LINE.
DATA: BEGIN OF t_vbak OCCURS 0,
vbeln TYPE vbak-vbeln,
erdat TYPE vbak-erdat,
vkorg type vbak-vkorg,
augru TYPE vbak-augru,
kunnr TYPE vbak-kunnr,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
vkaus TYPE vbap-vkaus,
spart TYPE vbap-spart,
netwr TYPE vbap-netwr,
waerk TYPE vbap-waerk,
kwmeng TYPE vbap-kwmeng,
kondm TYPE vbap-kondm,
mvgr1 TYPE vbap-mvgr1,
mvgr2 TYPE vbap-mvgr2,
mvgr3 TYPE vbap-mvgr3,
mvgr4 TYPE vbap-mvgr4,
mvgr5 TYPE vbap-mvgr5,
END OF t_vbak.
DATA:
BEGIN OF t_vbkd OCCURS 0,
vbeln TYPE vbkd-vbeln,
posnr TYPE vbkd-posnr,
konda TYPE vbkd-konda,
bstkd TYPE vbkd-bstkd,
bstdk TYPE vbkd-bstdk,
bstkd_e TYPE vbkd-bstkd_e,
bstdk_e TYPE vbkd-bstdk_e,
kdkg1 TYPE vbkd-kdkg1,
END OF t_vbkd.
DATA:
BEGIN OF t_vbpa OCCURS 0,
vbeln type vbpa-vbeln,
posnr type vbpa-posnr,
kunnr type vbpa-kunnr,
adrnr type vbpa-adrnr,
parvw type vbpa-parvw,
END OF t_vbpa.
DATA: t_adrc TYPE TABLE OF adrc WITH HEADER LINE.
DATA:
BEGIN OF t_tvm1t OCCURS 0,
mvgr1 TYPE tvm1t-mvgr1,
bezei TYPE tvm1t-bezei,
END OF t_tvm1t.
DATA:
BEGIN OF t_tvaut OCCURS 0,
augru TYPE vbak-augru,
bezei TYPE tvaut-bezei,
END OF t_tvaut.
DATA:
BEGIN OF t_tvm2t OCCURS 0,
mvgr2 TYPE tvm2t-mvgr2,
bezei TYPE tvm2t-bezei,
END OF t_tvm2t.
DATA:
BEGIN OF t_tvm3t OCCURS 0,
mvgr3 TYPE tvm3t-mvgr3,
bezei TYPE tvm3t-bezei,
END OF t_tvm3t.
DATA:
BEGIN OF t_tvm4t OCCURS 0,
mvgr4 TYPE tvm4t-mvgr4,
bezei TYPE tvm4t-bezei,
END OF t_tvm4t.
DATA:
BEGIN OF t_tvm5t OCCURS 0,
mvgr5 TYPE tvm5t-mvgr5,
bezei TYPE tvm5t-bezei,
END OF t_tvm5t.
DATA:
BEGIN OF T_ADR6 OCCURS 0,
SMTP_ADDR TYPE ADR6-SMTP_ADDR,
ADDRNUMBER TYPE ADR6-ADDRNUMBER,
END OF T_ADR6.
data:
begin of t_tvkggt occurs 0,
vtext type tvkggt-vtext,
kdkgr type tvkggt-kdkgr,
spras type tvkggt-spras,
end of t_tvkggt.
data:
begin of t_tpart occurs 0,
parvw type tpart-parvw,
vtext1 type tpart-VTEXT,
spras type tpart-spras,
end of t_tpart.
DATA:
BEGIN OF T_T178T OCCURS 0,
SPRAS TYPE T178T-SPRAS,
KONDM TYPE T178T-KONDM,
VTEXT TYPE T178T-VTEXT,
END OF T_T178T.
DATA:
BEGIN OF T_T188T OCCURS 0,
SPRAS TYPE T188T-SPRAS,
KONDA TYPE T188T-KONDA,
VTEXT TYPE T188T-VTEXT,
END OF T_T188T.
data:
begin of t_tvlvt occurs 0,
spras type tvlvt-spras,
abrvw type tvlvt-abrvw,
bezei type tvlvt-bezei,
end of t_tvlvt.
*WRITING THE QUERY
Sales Order details...
*break-point.
SELECT vbak~vbeln
vbak~erdat
vbak~vkorg
ABRVW
augru
kunnr
posnr
matnr
vbap~vkaus
vbap~spart
vbap~netwr
vbap~waerk
kwmeng
kondm
mvgr1
mvgr2
mvgr3
mvgr4
mvgr5
FROM vbak AS vbak INNER JOIN vbap AS vbap
ON vbak~vbeln EQ vbap~vbeln
INTO corresponding fields of TABLE t_vbak
WHERE vbak~vbeln IN s_vbeln.
Sales data from VBKD.
SELECT vbeln
posnr
konda
bstkd
bstdk
bstkd_e
bstdk_e
kdkg1
FROM vbkd
INTO TABLE t_vbkd
WHERE vbeln IN s_vbeln.
SELECT vbeln
posnr
kunnr
adrnr
parvw
FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE t_vbpa
where vbpa~vbeln IN s_vbeln.
IF t_vbak[] IS INITIAL.
WRITE : / 'No data found'.
else.
SORT t_vbak BY vbeln.
SELECT augru bezei
FROM tvaut
INTO TABLE t_tvaut
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND augru EQ t_vbak-augru.
SORT t_tvaut BY augru.
SELECT vbeln posnr kunnr adrnr parvw
FROM vbpa
INTO CORRESPONDING FIELDS OF TABLE t_vbpa
FOR ALL ENTRIES IN t_vbak
WHERE vbeln EQ t_vbak-vbeln
and posnr EQ t_vbpa-posnr.
IF sy-subrc EQ 0.
SORT t_vbpa BY vbeln posnr parvw.
SELECT *
FROM adrc
INTO TABLE t_adrc
FOR ALL ENTRIES IN t_vbpa
WHERE addrnumber EQ t_vbpa-adrnr.
SORT t_adrc BY addrnumber.
ENDIF.
select smtp_addr
from adr6
into table t_adr6
for all entries in t_vbpa
WHERE ADDRNUMBER = t_vbpa-ADRNR.
SORT T_ADR6 BY ADDRNUMBER.
SELECT mvgr1 bezei
FROM tvm1t
INTO TABLE t_tvm1t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr1 EQ t_vbak-mvgr1.
SORT t_tvm1t BY mvgr1.
SELECT mvgr2 bezei
FROM tvm2t
INTO TABLE t_tvm2t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr2 EQ t_vbak-mvgr2.
SORT t_tvm2t BY mvgr2.
SELECT mvgr3 bezei
FROM tvm3t
INTO TABLE t_tvm3t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr3 EQ t_vbak-mvgr3.
SORT t_tvm3t BY mvgr3.
SELECT mvgr4 bezei
FROM tvm4t
INTO TABLE t_tvm4t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr4 EQ t_vbak-mvgr4.
SORT t_tvm4t BY mvgr4.
SELECT mvgr5 bezei
FROM tvm5t
INTO TABLE t_tvm5t
FOR ALL ENTRIES IN t_vbak
WHERE spras EQ sy-langu
AND mvgr5 EQ t_vbak-mvgr5.
SORT t_tvm5t BY mvgr5.
SELECT SPRAS KONDM VTEXT
FROM T178T
INTO TABLE T_T178T
FOR ALL ENTRIES IN T_VBAK
WHERE SPRAS EQ SY-LANGU
AND KONDM EQ T_VBAK-KONDM.
SORT T_T178T BY KONDM.
SELECT SPRAS KONDA VTEXT
FROM T188T
INTO TABLE T_T188T
FOR ALL ENTRIES IN T_VBKD
WHERE SPRAS EQ SY-LANGU
AND KONDA EQ T_VBKD-KONDA.
SORT T_T188T BY KONDA.
LOOP AT t_vbak.
MOVE-CORRESPONDING t_vbak TO itab.
SORT t_vbkd BY vbeln posnr.
loop at t_vbkd.
READ TABLE t_vbkd WITH KEY
vbeln = t_vbak-vbeln
posnr = t_vbak-posnr
BINARY SEARCH.
endloop.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING t_vbkd TO itab.
ENDIF.
READ TABLE t_tvaut WITH KEY augru = t_vbak-augru BINARY SEARCH.
itab-bezei = t_tvaut-bezei.
READ TABLE t_tvm1t WITH KEY mvgr1 = t_vbaK-mvgr1 BINARY SEARCH.
itab-bezei1 = t_tvm1t-bezei.
READ TABLE t_tvm2t WITH KEY mvgr2 = t_vbak-mvgr2 BINARY SEARCH.
itab-bezei2 = t_tvm2t-bezei.
READ TABLE t_tvm3t WITH KEY mvgr3 = t_vbak-mvgr3 BINARY SEARCH.
itab-bezei3 = t_tvm3t-bezei.
READ TABLE t_tvm4t WITH KEY mvgr4 = t_vbak-mvgr4 BINARY SEARCH.
itab-bezei4 = t_tvm4t-bezei.
READ TABLE t_tvm5t WITH KEY mvgr5 = t_vbak-mvgr5 BINARY SEARCH.
itab-bezei5 = t_tvm5t-bezei.
READ TABLE t_tpar WITH KEY PARVW = t_vbpa-PARVW BINARY SEARCH.
ITAB-NRART = T_TPAR-NRART.
itab-parvw = t_tpar-parvw.
READ TABLE T_T178T WITH KEY KONDM = T_VBAk-KONDM BINARY SEARCH.
ITAB-KONDM = T_T178T-KONDM.
ITAB-VTEXT = T_T178T-VTEXT.
READ TABLE T_T188T WITH KEY KONDA = T_VBKD-KONDA BINARY SEARCH.
ITAB-KONDA = T_T188T-KONDA.
ITAB-V_TEXT = T_T188T-VTEXT.
READ TABLE t_adr6 with key addrnumber = t_vbpa-adrnr binary search.
itab-smtp_addr = t_adr6-smtp_addr.
READ TABLE t_vbpa WITH KEY vbeln = t_vbak-vbeln
BINARY SEARCH.
itab-kunnr = t_vbpa-kunnr.
itab-parvw = t_vbpa-parvw.
SELECT bezei FROM TVLVT
INTO CORRESPONDING FIELDS OF TABLE T_TVLVT
WHERE ABRVW = ITAB-VKAUS.
read table t_tvlvt with key abrvw = t_tvlvt-abrvw binary search.
itab-beze_i = t_tvlvt-bezei.
SELECT vtext FROM TVKGGT
INTO CORRESPONDING FIELDS OF TABLE t_tvkggt
WHERE KDKGR = itab-kdkg1.
clear t_tvkggt.
read table t_tvkggt with key kdkgr = t_tvkggt-kdkgr binary search.
itab-vtext2 = t_tvkggt-vtext.
READ TABLE t_adrc WITH KEY addrnumber = t_vbpa-adrnr BINARY SEARCH.
if sy-subrc EQ 0.
MOVE-CORRESPONDING t_adrc TO itab.
ENDIF.
APPEND itab.
CLEAR :itab, t_tvm1t,t_tvm2t,t_tvm3t,t_tvm4t,t_tvm5t,t_adrc,t_tvaut,
t_adr6,t_t188t,t_t178t,t_tvlvt,t_vbak, t_vbpa.
ENDLOOP.
ENDIF.
*PRINTING THE OUTPUT
FORMAT COLOR COL_HEADING
WRITE:/
'Order-No',' ',
'Sales-Org',' ',
'Order-Date',' ',
'Purchase-Order',' ',
'Purchase-Order-Date',' ',
'Order-Reason-code',' ',
'Order-Reason description',' ',
'Partner-Type',' ',
'Partner-Type description',' ',
'Partner-no',' ',
'Partner-Name1',' ',
'Partner-Name2',' ',
'Partner-Address 1',' ',
'Partner-Address 2',' ',
'Partner-Address 3',' ',
'Partner-Address 4',' ',
'City',' ',
'DISTRICT',' ',
'Country',' ',
'Post Code',' ',
'PO BOX',' ',
'Partner-email',' ',
'Material-no',' ',
'Material-Division',' ',
'Product-Line and Edition code',' ',
'Product-Line and Edition Desc',' ',
'Product-Name code',' ',
'ProductName Desc',' ',
'Product-Version Code',' ',
'Product-Version Desc',' ',
'Product-Platform Code',' ',
'Product-platform Desc',' ',
'Product-App Server Code',' ',
'Product-App Server Desc',' ',
'Compiler-Code',' ',
'Compiler-Desc',' ',
'LanguageCode', ' ',
'LanguageDesc',' ',
'Runtime-Band Code',' ',
'Runtime-Band description',' ',
'Support-Start Date',' ',
'Support-End Date',' ',
'Support-Level Code',' ',
'Support-Level Desc',' ',
'Currency',' ',
'NetPrice',' ',
'Order-Quantity',' ',
sy-uline.
FORMAT COLOR COL_NORMAL.
LOOP AT itab.
WRITE:/
itab-vbeln UNDER 'Order-No',
itab-vkorg UNDER 'Sales-Org',' ',
itab-erdat UNDER 'Order-Date',
itab-bstkd UNDER 'Purchase-Order',
itab-bstdk UNDER 'Purchase-Order-Date',
itab-augru UNDER 'Order-Reason-code',
itab-bezei UNDER 'Order-Reason description',
itab-parvw UNDER 'Partner-Type',
itab-vtext UNDER 'Partner-Type description',
itab-kunnr UNDER 'Partner-no',
itab-name1 UNDER 'Partner-Name1',
itab-name2 UNDER 'Partner-Name2',
itab-street UNDER 'Partner-Address 1',
itab-str_suppl1 UNDER 'Partner-Address 2',
itab-str_suppl2 UNDER 'Partner-Address 3',
itab-str_suppl3 UNDER 'Partner-Address 4',
itab-city1 UNDER 'City',
itab-city2 UNDER 'DISTRICT',
itab-country UNDER 'Country',
itab-post_code1 UNDER 'Post Code',
itab-po_box UNDER 'PO BOX',
itab-smtp_addr UNDER 'Partner-email',
itab-matnr UNDER 'Material-no',
itab-spart UNDER 'Material-Division',
itab-mvgr1 UNDER 'Product-Line and Edition code',
itab-bezei1 UNDER 'Product-Line and Edition Desc',
itab-mvgr2 UNDER 'Product-Name code',
itab-bezei2 UNDER 'ProductName Desc',
itab-mvgr3 UNDER 'Product-Version Code',
itab-bezei3 UNDER 'Product-Version Desc',
itab-mvgr4 UNDER 'Product-Platform Code',
itab-bezei4 UNDER 'Product-platform Desc',
itab-mvgr5 UNDER 'Product-App Server Code',
itab-bezei5 UNDER 'Product-App Server Desc',
itab-kondm UNDER 'Compiler-Code',
itab-vtext UNDER 'Compiler-Desc',
itab-konda UNDER 'LanguageCode',
itab-v_text UNDER 'LanguageDesc',
itab-vkaus UNDER 'Runtime-Band Code',
itab-beze_i UNDER 'Runtime-Band description',
itab-bstdk UNDER 'Support-Start Date',
itab-bstdk_e UNDER 'Support-End Date',
itab-kdkg1 UNDER 'Support-Level Code',
itab-vtext2 UNDER 'Support-Level Desc',
itab-kwmeng UNDER 'Order-Quantity',
itab-netwr UNDER 'NetPrice',
itab-waerk UNDER 'Currency'.
ULINE.
ENDLOOP.
Similar Messages
-
Hello everybody, Im trying to update my ITunes on my MAC (laptop) to the newer version so I can then be able to update the latest updates for my Iphone-3G. I don’t require a complete reinstall just need to be able to update my itunes.
What I have tried so far is I had my MAC search for update’s and it said that I should update to (ITunes version 10 . 6 . 3 ) So I asked it to do the update but after 2hrs of waiting for it to download/update it then puts up a message saying the following- (In order to continue installation, please close the following application: ITunes).
When I tried to do this another message comes up that says- (The update ITunes can’t be installed. The following install step failed: run preupgrade script for Apple mobile device support. Contact the software manufacturer for assistance.)
I have also tried to run the update while having closed ITunes before I even start the update but the same problem happens after waiting about 2hrs.
Some one that had the same problem said this might be happening in the older operating systems. But that does not make sense because surely Apple want customers who own a MAC and i-phone to still buy from iTunes.
My MAC is about 4-5years old. I have a i-phone.3G,
Can anybody help me please and Thank you?Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.
-
hello everybody, is anybody else having problems exporting music to their iphone 4's from their itunes 10.6.1. (7)? i sure am. somehting is way differant. i used to be able to simply drag, and drop albums, artists, and entire genres to my phone without a worry. now i drag an album to my phone, and it will only add a couple of the songs. so i drag and drop again, and maybe even a third time to get all whole album on there. oh, and the album artwork is a no-show. i dont know what i'm missing. it's sure not what i'm used to. anyways, i'm new to this support community deal. thank you in advance for any help.
much respect,
tommy bravoAfter further testing, I noticed that iTunes not only becomes totally unresponsive but will start using all the CPU until I kill the process. After restarting, it works again for a while and then it dies again...
Luis -
Hello everybody,i've forgot my apple password and i wanted to reset it to a new one but i also forgot the security question and the alternative email does not work and i am really need to log in to my apple i d because my iPhone 4g won't let me access it so anyone can help me with it or can i put another apple id to it without putting the first password?THANKS FOR YOUR HELP.
Then call AppleCare and talk to someone in account security.
-
Hello everybody out there.
Which way can I get the screensaver from Lion get back on Mountain Lion??
Thanks
malibu0978Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though
-
Hello, everybody, who know how to use the function READ_TEXT
Hello , everybody, I came across a program in which there is a function READ_TEXT, what is it used for ? please specify the parameters id object
. Thank you in advance, mate.
Best regards
Frank
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0207'
language = sy-langu
name = tmp_name
object = 'VBBK'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
lines = text_itab
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8Refer this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db764494511d182b70000e829fbfe/frameset.htm
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
Raja T -
Hello, everybody, help me with quota arragement and release Purchase Order
Hello everybody:
When maintain Quota arrangement today, a warning message poped up saying Quota arrangement for Material X10002 in plant 1855 not active. but X10002 does exist, I can maitnain it with MM02.
Why this happened? everyone.
what's more, all purchase order can not be released with me29n , but ok with me28. why is it so ? thank you in advance, everybody. couldn't thank you more.Hi,
Regarding your 2 nd Query.
ME29N - Indidual Release
Suppose when my PO is subjected to three release code, this transaction gives me an option to release the three levels altogether by the highest level ( ie the three level release will be able to perform the release if R1 and R2 have not released )
ME28 - Collective Release.
This needs to be released by inidviuals using their release code independently thereby the release is possible only with the three levels releases the same.
The names given to transaction codes is a little bit confusing unless until you are clear about the fucntionality.
Regards,
DilliB -
Hello everybody, my Iphone feld on the ground. Now its broken the display is damaged. What can I do??!!
I have the AppleCare Protection Plan!
Can i send my iPhone to appel and then they replace my iphone??If you have AppleCare+ you can get the phone replaced for $49. Call or take it in to your local Apple Store (make an appointment first).
-
Hello everybody. I have Mac Os X 10.6.8. Can I star with use creative clouds, or it's impossible?
Hi Daniele,
The CC2014 applications are only compatible with 10.7 or later but you can install CC and CS6 versions of most of Adobe applications but not all.
You can refer to the link mentioned below:
http://helpx.adobe.com/creative-cloud/system-requirements.html
Creative Cloud for desktop FAQ
Thanks,
Nikhil Gupta -
Hello everybody. Anybody knows link for latest version of Need for speed for OSx?
Hello everybody. Anybody knows link for latest version of Need for speed for OSx?
sig wrote:
Dispassionate cluelessness: Several years ago a little something called “Google” rained down from the sky. This Google provides the means for finding answers to many, many questions. I’m routinely amazed at how helpful people can be when others need assistance, but it’s unwise to abuse their patience by clamoring for increasing amounts of help when the answer you seek is a simple Google search away.
I always put that down to the UI
User Incompetence -
hello everybody! i want ask you... how can i transfer my files from macbook pro to flash card or other devices?
Of course you can. You may use USB drives, HDDs and other Mac if the need be. More details from you will be required if you want more information.
Ciao. -
Hello, everybody,regarding events At LAST,AT END,
Hello everybody:
thank you all in advance for your help!
What's the difference between at-last event and at-end event, would you please give me an example, couldn't thank you more!
Best regards
FrankHi,
This is very good document for you.
Processing Control Levels
When you sort an extract dataset, control levels are defined in it. For general information about control levels, refer to Processing Internal Tables in Loops The control level hierarchy of an extract dataset corresponds to the sequence of the fields in the HEADER field group. After sorting, you can use the AT statement within a loop to program statement blocks that the system processes only at a control break, that is, when the control level changes.
AT NEW <f> | AT END OF <f>.
ENDAT.
A control break occurs when the value of the field <f> or a superior field in the current record has a different value from the previous record (AT NEW) or the subsequent record (AT END). Field <f> must be part of the HEADER field group.
If the extract dataset is not sorted, the AT... ENDAT block is never executed. Furthermore, all extract records with the value HEX 00 in the field <f> are ignored when the control breaks are determined.
The AT... ENDAT blocks in a loop are processed in the order in which they occur. This sequence should be the same as the sort sequence. This sequence must not necessarily be the sequence of the fields in the HEADER field group, but can also be the one determined in the SORT statement.
If you have sorted an extract dataset by the fields <f1>, <f2>, ..., the processing of the control levels should be written between the other control statements as follows:
LOOP.
AT FIRST.... ENDAT.
AT NEW <f1>....... ENDAT.
AT NEW <f2>....... ENDAT.
AT <fgi>..... ENDAT.
<single line processing without control statement>
AT END OF <f2>.... ENDAT.
AT END OF <f1>.... ENDAT.
AT LAST..... ENDAT.
ENDLOOP.
You do not have to use all of the statement blocks listed here, but only the ones you require.
REPORT DEMO.
DATA: T1(4), T2 TYPE I.
FIELD-GROUPS: HEADER.
INSERT T2 T1 INTO HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
T1 ='BBCC'. T2 = 2. EXTRACT HEADER.
T1 ='AAAA'. T2 = 2. EXTRACT HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
T1 ='BBBB'. T2 = 2. EXTRACT HEADER.
T1 ='BBCC'. T2 = 2. EXTRACT HEADER.
T1 ='AAAA'. T2 = 1. EXTRACT HEADER.
T1 ='BBBB'. T2 = 1. EXTRACT HEADER.
T1 ='AAAA'. T2 = 3. EXTRACT HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
SORT BY T1 T2.
LOOP.
AT FIRST.
WRITE 'Start of LOOP'.
ULINE.
ENDAT.
AT NEW T1.
WRITE / ' New T1:'.
ENDAT.
AT NEW T2.
WRITE / ' New T2:'.
ENDAT.
WRITE: /14 T1, T2.
AT END OF T2.
WRITE / 'End of T2'.
ENDAT.
AT END OF T1.
WRITE / 'End of T1'.
ENDAT.
AT LAST.
ULINE.
ENDAT.
ENDLOOP.
Reward if useful -
Hello everybody, I forgot the password of my macbook. What do i do now?
hello everybody. I forgot my password of my MacBook Pro. What do i do now? I have OS X
Mountain LionLook to the right of your post to the column "More Like This" where others have done the same. When you've fixed the issue write down your password and stick it under your MBP.
-
Hello everybody, is there a possibility to block "anonym callers" with iPhone 5?
Hello everybody, is there a possibility to block "anonym callers" with iPhone 5?
No. You can try this through your carrier. At this time iphones cannot block callers... I think ios7, when it gets released, will have this feature.
-
Hello everybody, I have the following problem: my apple id was desabled for security reason and I have to reset my password to enable the account again, but when I try to do this, using the e-mail, I've never received such e-mail. When I chose to do this by the security answers, it's not work again, because does not accept my birth date. Can you please somebody help with this issue? Thanks in advance
If you have a rescue email address on your account then you've checked the inbox and spam folder on that account as well, and you've tried requesting the email again ? If you still can't find it then try contacting Support in your country and see if they can reset it for you.
Contacting Apple about account security : http://support.apple.com/kb/HT5699 -
Hello everybody,anyone can inform me plz if apple solve the problem of Maps
hello everybody,anyone can inform me plz if apple solve the problem of Maps,
i am in qatar ,i have iphone 4 (IOS 7) and after I determine the start and end point for the place where I want to go then i do route ,I receive this window :direction not available ,a route cannot be determined from this start location(this is old problem since ios4 maybe. plz any news about new solution .
Maybe you are looking for
-
How can I change the alternative apple ID in iCloud?
How can I change the alternative apple ID in iCloud?
-
"Copy and Paste"-Event in Indesign
Hi everyone, does anyone have an idea, if there is SOMEWHERE an event, which is fired upon "copy and paste"-ing one or multiple object in Indesign?
-
Why can't I make a purchase through iTunes on my iPad?
II'M playing candy crush saga and all of a sudden I can't purchase extra lives.
-
WITH MEMBER [FYDay].[DateHierarchy].[CurrentDay] AS AGGREGATE( { [FYDay].[DateHierarchy].[FYEAR].&[2014].&[4].&[10].&[41].&[09/11/2014] } , [Measures].CURRENTMEMBER) MEMBER [FYDay].[DateHierarchy].[PreviousDay] AS AGGREGATE( { [FY
-
Need suggestion to choose the Weblogic Edition
We are developing the Rich web application using ADF technology which has more number of pages (approx. 700 – 800) also expecting more no. of users (15K). 1.We want to know which weblogic edition (Enterprise or Suite) is suitable for production. 2.Is