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

bapi_acc_document_post via LSMW does not commit

Former Member
0 Likes
1,094

LS.,

In LSMW I defined BUS6035 which calls BAPI_ACC_DOCUMENT_POST. All steps complete succesfully and an idoc is created with status 53. Everything looks ok. All intermediate steps (read data, convert data, generate idoc, start idoc) also look oke. The message is status 53 is

"Document posted succesfully: BKPFF 180000035110002006 R3DCLNT090"

But in FBL5N no financial document is created. I checked BKPF and BSEG: not entry with the given number.

It seems the no database commit is entered.

I checked the partner- and port-settings of LSMW and the checkbox 'test' is not marked.

I checked the BAPI_IDOC_INPUT1 and it does not contain any commit-statement.

I also checked IDOC_START_INBOUND and when LSMW reaches that FM, the parameter DO_COMMIT is 'X' (meaning: it should do a commit).

Does anybody know what I need to do to make this LSMW commit its result?

Thanks,

Tim

3 REPLIES 3
Read only

Former Member
0 Likes
678

Hello Tim,

That is interesting that you used BAPI with LSMW. Can you please send the creation start from step to last step through screen shots link. That will be great to helpful similar kind of object that i have already in the queque.

enjoy! sap

SDN powered

Read only

Former Member
0 Likes
678

of course you can send the doc to sdn.sap.com@gmail.com too.

Read only

Former Member
0 Likes
678

Hi Tim,

I have exactly the same issue ........ did you get any working solution for it ?

Thanks,

Jasjit