‎2007 Apr 13 7:03 AM
Hi ALL,
am using BAPI method in LSMW.
Object type is "BUS1501"
Method " CHANGE"
Message Type "BUS1501_CHANGE".
i mapped all source z-fields to target field (Value-part1 in Extend BAPI)
but data is not converting into Target structure..
Note:my flat file data is coming into source fields properly.
Regards
Suresh.d
‎2007 Apr 13 7:06 AM
Hi Suresh,
Check your procedure using this Links.
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Apr 13 7:06 AM
Hi Suresh,
Check your procedure using this Links.
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.saptechnical.com/Tutorials/LSMW/BAPIinLSMW/BL1.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards
‎2007 Apr 27 11:21 PM
Hi Suresh,
Am using LSMW BAPi method to post account document . using BUS6035 & BAPI_ACC_DOCUMENT_POST.
can you pelase let me know in this how can we handle errors documents ?
Thanks in advance !
‎2007 Apr 13 7:27 AM
Hi Suresh ,
Have you assigned the custom structure name which has all your custom fields to EXTENSION_IN-STRUCTURE variable.
thats the only way the data can be updated ?
Also its better to code for assigning the values
by using classes rather than doing a direct Assign/Move in the LSMW if the system/programs are Unicode enabled.
For eg u can assign use the following code as example.
prepare BAPI-parameter
ls_extension_in-structure = 'CI_DATA'.
doesn't work with unicode:
ls_extension_in-valuepart1 = ls_ci_data.
use instead:
CALL METHOD cl_abap_container_utilities=> fill_container_c
EXPORTING
im_value = ls_ci_data
IMPORTING
ex_container = ls_extension_in-valuepart1
EXCEPTIONS
OTHERS = 0.
Cheers
Kareem
Message was edited by:
Kareemullah Shah Quadri
‎2007 Apr 13 11:49 AM
Hi Kareem,
Thank you for your valuable suggesion.
but the source data is not coming into ls_extension_in-valuepart1
Regards,
suresh