2010 Nov 18 11:33 PM
Hi experts
I need to create (load) mass Recipes tcode C201 using LSMW. I investigated and (apparently) there are not any IDOC, BAPI or Standard Batch Input ; so i'm trying with Batch Input Recording.
I created the recording for C201 , but this is a header-detail transaction, that is it uses Table Controls in its screens and i really don't know how to mapping the Recording C201 Fields to file.
In C201 recording i have for the detail data (table control) fields like PLPOD-ARBPL(01), PLPOD-ARBPL(02), and so on.
I guess i need to create 2 files (structures) , one for header data and other for detail data ; but i do not know :
a) For Standard Batch/Direct Input i believe we can assign 2 files (structures) , but it is possible for batch input recording ?
b) If this is possible, how can i assign the second file (detail structure) to C201 recording ?
c) How can i mapping the detail file fields to recording fields (PLPOD-ARBPL(01), PLPOD-ARBPL(02),..) ?
I have been investigating so lot in but i have not found yet the way to do this , if it's possible, or if there is other way to load mass Recipes C201.
Excuse me for the long thread , any help will be appreciated.
Regards
Frank
2010 Nov 19 4:52 PM
Hi
a) For Standard Batch/Direct Input i believe we can assign 2 files (structures) , but it is possible for batch input recording ?
b) If this is possible, how can i assign the second file (detail structure) to C201 recording ?
In [this post|] you can read a good discussion about a problem like yours (header, item):
I believe you can use both solutions: single or double files.
c) How can i mapping the detail file fields to recording fields (PLPOD-ARBPL(01), PLPOD-ARBPL(02),..) ?
Just as Breakpoint said you can check if there's a chance in order to place the record to the top line, else it could be a problem
Max
Hi experts
I need to create (load) mass Recipes tcode C201 using LSMW. I investigated and (apparently) there are not any IDOC, BAPI or Standard Batch Input ; so i'm trying with Batch Input Recording.
I created the recording for C201 , but this is a header-detail transaction, that is it uses Table Controls in its screens and i really don't know how to mapping the Recording C201 Fields to file.
In C201 recording i have for the detail data (table control) fields like PLPOD-ARBPL(01), PLPOD-ARBPL(02), and so on.
I guess i need to create 2 files (structures) , one for header data and other for detail data ; but i do not know :
a) For Standard Batch/Direct Input i believe we can assign 2 files (structures) , but it is possible for batch input recording ?
b) If this is possible, how can i assign the second file (detail structure) to C201 recording ?
c) How can i mapping the detail file fields to recording fields (PLPOD-ARBPL(01), PLPOD-ARBPL(02),..) ?
I have been investigating so lot in but i have not found yet the way to do this , if it's possible, or if there is other way to load mass Recipes C201.
Excuse me for the long thread , any help will be appreciated.
Regards
Frank
2010 Nov 19 4:38 PM
What I have done in the past with BDCs is to try to reposition the screen between table control entries by doing a page down or by selecting item number ,etc., if that control exists, after entering the first item. Then I inserted into table with subscript (02) or (03). This allows multiple rows without trying to figure out where you are on screen, etc. Try recording a page down after every entry to your item detail.
2010 Nov 19 4:52 PM
Hi
a) For Standard Batch/Direct Input i believe we can assign 2 files (structures) , but it is possible for batch input recording ?
b) If this is possible, how can i assign the second file (detail structure) to C201 recording ?
In [this post|] you can read a good discussion about a problem like yours (header, item):
I believe you can use both solutions: single or double files.
c) How can i mapping the detail file fields to recording fields (PLPOD-ARBPL(01), PLPOD-ARBPL(02),..) ?
Just as Breakpoint said you can check if there's a chance in order to place the record to the top line, else it could be a problem
Max
2010 Nov 19 7:49 PM
Thanks Breakpoint and Max
Even i could create in LSMW 2 structures (header and detail , i could assign in Mapping fields this structures to Recording Fields, and i could assign this 2 structures in step 7 Specify Files by mark 'Data for Multiple Source Structures (seq. File)' button; at moment to try to assign the the files (setp 😎 or read data (step 9) LSMW sends error 'Using different sequential files is not allowed'.
I do not what i i'm doing wrong, but taking in mind that my C201 data is header-detail in several levels and the recipes material components changes from one material to other ; i think i'm going to try to do this Recipes Load with ABAP program using BDC.
However this was the first doubt in order to try to made this Recipes load with LSMW, because still missing know how to assign the detail file fields to recording table-control fields like field(01, field(02) , etc.
Thanks a lot.
Regards
Frank
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |