2008 Apr 21 8:10 AM
Dear ALL,
Can anyone tell me, how to use BAPI with LSMW?
When I tried to use this, it is asking for EDI Settings. Why these required?
Please ASAP.
Thanks in advance.
Kind Regards,
Prasad
2008 Apr 21 8:27 AM
2008 Apr 25 6:57 AM
2008 Apr 25 6:18 PM
hi prasad,
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
Go to Transaction BAPI
Click on Search Button
Enter the value BUS2012 and select Obj.type(Technical Object Name
for remaining info pls see
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm
thanks
karthik
reward me if usefull
2008 Jun 20 7:58 AM
HI,
I am trying to load the date field in SAP using bapi in lsmw.
The default date is 01.01.1900.
the data is read correctly,even converted correctly(upto step-13).The data displyed after conversion is absolutely correct ie-01011900.But in idocs processing,loading is getting failed as i am getting an error like 'Month 19 is not pausible' in idoc overview.
If anybody know..how to recover please help.
2008 Jun 20 8:13 AM
Hi,
if the default date is 01.01.1900, the correct value in the SAP format is 19000101(YYYYMMDD, SAP takes the date only in this format)
Thanks,
Rajinikanth.