2007 Sep 05 5:15 AM
I would like to use LSMW to change CRM Business Partner data via BAPI. I have located the correct BAPI to use, but I now need to perform the proper port config, Partner profile setup, etc. Does anyone have straightforward documentation on how to convert this BAPI so that it can be used by LSMW? The Bus. Object is BUS1006005, but it has not yet been prepared for use by LSMW. I have plenty of LSMW experience using BDC, so full LSMW documentation is not necessary. Thanks in advance for your help.
Kind Regards,
Jason
2007 Sep 05 5:20 AM
Hi Jason,
I got a documentation of LSMW with BAPI in PPT format. IF you want i can send it to u.
regards
Gokul
2007 Sep 05 6:04 AM
That would be excellent! My email address is jdeluca@deloitte.com. Thanks kindly for your help. Looking forward to checking it out.
Kind Regards,
Jason
2007 Sep 05 6:31 AM
Jackie,
Thanks, the documents are good, however they do not describe steps needed to prepare BUS1006005 for use in LSMW. See, when Iook at it in BAPI Explorer, the ALE Message Type says "Does Not Exist." I am also having difficulty with port config, partner profile setup, etc. Thanks for your help.
Kind Regards,
Jason
2007 Sep 05 6:01 AM
Hi Jason,
Check this link..
<b>Step By Step.</b>
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL2.htm
<b>Regards,
Jackie.</b>
2007 Sep 05 6:57 AM
Hi
Process Step
After the step Display Converted Data the exact content of the next steps may differ, depending on the import technique that you have chosen in step 1. The steps displayed by the program for the different import techniques are:
BAPI or IDoc:
Start IDoc creation
Start IDoc processing
Create IDoc overview
Start IDoc post-processing
Using BAPI in LSM Workbench
We now go through a step by step process of realizing LSMW through a BAPI
Details of BAPI used:
- Business Object: BUS2012
- Method: CreateFromData
Details of Message Type and Basic IDoc Type:
- Message Type: PORDCR
- Basic IDoc Type: PORDCR02
Step 1 : Go to transaction LSMW
Step 2 : Enter project, subproject and object and click on Create
Step 3: Enter the descriptions for Project, Subproject and Object as prompted
Step 4: Now select Settings  IDoc Inbound Processing
Step 5 :IDoc Inbound Processing screen appears. Enter the required details as shown below:
Step 6 :Click on Activate IDoc Inbound Processing.
Step 7 : Click on Yes when prompted for Activate IDoc Inbound?
Step 8 : Hit on Back to return to the main screen
Step 9: Click on Continue (F8). Following Screen appears
Step 10: Select the Step 1 Maintain Object Attributes and select Execute
Step 11 : Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Step 12: Save and click on BACK button. Following information message is displayed
Step 13: Maintain Source Structure
Step 14:Create source structure HEADERDATA and a lower level structure ITEMDATA
Save and go back to main screen
Step 15 : Maintain source fields
Step 16:Maintain Structure Relations
Maintain structure relations:
- Select E1PORDCR in previous fig. and click on CREATE Relationship. Following screen appears:
- Select HEADERDATA and hit ENTER. Do the same for other
structures
Step 17 :Maintain Field mapping and conversion rules. Maintain field mapping as shown:-
Step 18 : Specify File
Provide the link for the test file. Maintain the same structure of the test file as defined before
Step 19: Select Assign Files & execute
Step 20: Read Data
Step 21: Display read data
Step 22: Return to main screen and select Convert Data followed by Display Convert Data
Step 23: Return to main screen and select Start IDoc generation
Step 24 : Process Idoc through the step Start Idoc Processing on main screen
Step 25: Click on Create Idoc Overview on the main screen. Here the data record and status record of the Idoc can be viewed
reward if usefull
2007 Sep 05 2:57 PM
Thanks for your response. The documentation that I am looking for is with regard to BAPI. The business object BUS1006005 (the one I need to use) is available (with the method I need) in the BOR, but it is not available in F4 help of LSMW Bus. Object Meth. When I look at the BAPI method in transaction BAPI, there is no ALE Message Type. The LSMW steps are straightforward, I am interested in knowing the steps for preparing the BAPI for use in LSMW.
Kind Regards,
Jason
2007 Sep 05 3:08 PM
<b><a href="http://www.saptechnical.com/Tutorials/LSMW/MMBAPI/Page1.htm">refer this link for LSMW using BAPI with screenshots</a></b>
regards,
srinivas
2007 Sep 05 3:54 PM
Srinivas,
This is the best documentation so far, as steps 1 - 5 are what I am looking for. However, the bus. object I need still doesn't show on the Bus. Object dropdown in LSMW. I will be doing a mass change using a file on the pres. srvr. Any suggestions?
Regards,
Jason