2007 Dec 06 5:53 AM
hi,
i have tried lsmw using bapi method.first i created two stuctures,1.headerdata,2.item data.In 9th step it accepted only one strcture(headerdata),it doesnt accept itemdata.....
can anyone help me.....
hi,
i have tried lsmw using bapi method.first i created two stuctures,1.headerdata,2.item data.In 9th step it accepted only one strcture(headerdata),it doesnt accept itemdata.....
can anyone help me.....
2007 Dec 06 5:56 AM
May be these links give you some answers.
This one is the most complete document for the same
2007 Dec 06 5:58 AM
and this also
BAPI method
http://saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL2.htm
Check out this thread
http://help.sap.com/saphelp_erp2004/helpdata/en/d4/0a43a124e8924ea890cf0855860db5/content.htm
2007 Dec 06 6:05 AM
Welcome to SDN............
what do u mean by 9th step?
it will vary from one to other based on the user settings.........
is it assign file step u r talking about?
ok if it is the same u r talkign about then in the specify file step check the radio button multiple structures then you can assign the same file to multiple structure...
This should solve your problem............
2007 Dec 06 7:05 AM
Hi thanks for ur immediate response...actually my doubt in 9th step(read data).In read data only it has accepted only one structure,i.e.,headerdata.but it doesnt accept another structure,ie.,itemdata......i think now u got my doubt.............if u know plz tell me solution..
2007 Dec 06 8:51 AM
hi,
while creating source stucture u have to define
identifier fiield in the start
identifier c 1 in header and item sructure.
in flat file
h fld1 fld2 for header
i fld1 fld2 foritem.
hope u rpboblem be solved
if any pboblem let mr know
sonu
2007 Dec 06 9:00 AM
hi,
i have tried this one.Even i given identifier with both structure(H for header and I for item),but i dint get .............
2007 Dec 06 9:13 AM
i dont know but just now i done .
i am also working on that i stuck in idoc setting.
2007 Dec 06 9:37 AM
2007 Dec 06 6:25 PM
at Step 4, u need to map ur created data structures for header and items to its corr. segments, its means that Header segment corr. to ur header structure and
Line item segment to ur lie item structure.
clearly, place cursor on Header segment and click on Relationship button, it displays a pop window with header and line items structures, select header structure. do same for line item also.
at step 7, u need to define 2 files, one is for header and another is line time.
at step 8, need to assign 2 files for both header and line item.
check all these steps, let me know the status.
2007 Dec 06 6:27 PM
Hi,
Go through these
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Regards,
Satish
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |