Application Development 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: 

BAPI/IDOC/best LSMW approach for updating GL open items Posting key ?

Former Member
0 Kudos

Hi,

I am trying to update the POSTING KEY, AMOUNT IN CURRENCY, AMOUNT IN LOCAL CURRENCY, RECOVERY INDICATOR fields for GL Open Items by using either BAPI or IDOC method for my LSMW. But i'm not able to find these 4 fields in BAPI_ACC_DOCUMENT_POST and BAPI_ACC_GL_POSTING_POST. Also the IDOC message type ACC_DOCUMENT, Basic type ACC_DOCUMENT02 does not have these 4 fields in their IDOC segments.

BSEG-BSCHL- Posting Key

BSEG-DMBTR- Amount in Local Currency

BSEG-DMBE2- Amount in Second Local Currency

BSEG-RECID-Recovery Indicator

Please let me know what is the correct BAPI or IDOC message type to update these 4 fields when using LSMW.

Otherwise suggest me the BEST method for uploading the GL open items with the aobve fields using LSMW.

<< Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help quickly. >>

Regards,

Swaraj

Edited by: Rob Burbank on Nov 22, 2011 9:28 AM

2 REPLIES 2

Former Member
0 Kudos

Hi,

Try the below function modules, check their usage using where used list.

FI_DOCUMENT_CHANGE

FI_ITEMS_CHANGE

FI_ITEMS_MASS_CHANGE

Regards,

Karthik D

JL23
Active Contributor
0 Kudos

have you already executed an IDOC or a BAPI or a batch input for open items?

do it and then check the BSEG record.

Maybe SAP is able to calculate the content of these fields by itself, or do you enter those fields as well manually when you do the usual transaction?

Whatever import method you choose, the expected result is that an open item is loaded.

so the best method, is the method which you are used to work with, and to come to a good result in the shortest possilbe time.

Edited by: Jürgen L. on Nov 22, 2011 9:07 PM