cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST & special GL indicator

nico_dewaele
Active Contributor
0 Kudos

Hello,

we are using an excel upload format to trigger BAPI_ACC_DOCUMENT_POST. Unfortunatley, we are having difficulties when we are trying to use hte special GL indicators.  The field EXTENSION2-NEWUM has been added. When using posting key (e.g. 29) and a valid special GL indicator (e.g. U)

we get  an error message F5 838 : "Special G/L indicator  not defined or incorrect"

The special GL indicator is not picked up (error message says ' ' instead of 'U' ). When simulating the posting via FB01, all works fine.

Can somebody provide a solution?

kr

Nico

Accepted Solutions (1)

Accepted Solutions (1)

iklovski
Active Contributor
0 Kudos

Hi,

Why are using EXTENSION2 and not pre-defined field SP_GL_IND for special G/L indicator?

Regards,


Eli

nico_dewaele
Active Contributor
0 Kudos

Eli,

then there's more programming involved? Can you show us how you did it?

tx !

Nico

iklovski
Active Contributor
0 Kudos

Actually, no programming, just filling the right structure of the BAPI. You have this field equally on 'AccountReceivable' and 'AccountPayable' import structures of this BAPI. So, fill SGL there in the field I mentioned. Normally, should work...

Answers (1)

Answers (1)

VijayCR
Active Contributor
0 Kudos

Can you provide the screen shot ? of the f1 for the sap Messege ?