Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

LSMW BAPI

Former Member
0 Likes
469

I am using LSMW BAPI method for good receipt. I am using Business Object BUS2017 method CREATEFROMDATA. I notice that I need to setup the port at Settings > IDoc Inbound Processing. Can anyone explain what is this for? And also at Maintaining Port, I need to create a new port. What should I input for Directory, Function Module and Outbound File? Currently I set Directory to the path where I saved the text file and the text file name for Outbound File. How about Maintain Partner Number? Is that necessary? Without the setup, currently I encounter problem at step 13: Start IDoc Generation with error 'GOODS_RECEIPT.lsmw.conv' File Has Not Been Accepted for Processing'.

1 REPLY 1
Read only

Former Member
0 Likes
377

Hi ,

When you use LSWM with BAPI ,IT creates Idocs .So for the Idocs Port ,Partner Profile and Other settings are required .

Also Activate Idoc Processing is required .

Goto to we20 for Partner Profile .In the Inbound Section fill in Message type then select in Receiver port enter BAPI .

Goto to WE21 create a PORT then select EDI* FM for File name.