cancel
Showing results for 
Search instead for 
Did you mean: 

Posting Journal Entries with alternative accounts in SAP Public Cloud / S4 via API

ManuelDias
Discoverer
0 Kudos
166

Hello,

I've setup a correct JE entry transaction sending from an external system to a customer SAP S4 Cloud Public Edition, and I'm using this standard SAP API to integrate JE transactions into SAP via XML data:

Journal Entry - Post (Synchronous)

https://api.sap.com/api/JOURNALENTRYCREATEREQUESTCONFI/overview

However, since customer uses an alternative chart of accounts in SAP due to country financial requirements, it requested to change the integration to use alternative accounts instead of internal SAP accounts.

Is there any way to send these alternative accounts in the Journal Entry - Post (Synchronous) XML message?

Currently I'm using the XML tag <GLAccount> to send the internal SAP JE accounts but could find any tag to send alternative accounts...

Thanks

View Entire Topic
BobShen
Product and Topic Expert
Product and Topic Expert
0 Kudos
When you active flag Use Alternative Acct in app Edit User-Specific Options for Journal Entries ,then Alternative Account can be selected in field GL acount. Please try it in API accordingly.
ManuelDias
Discoverer
0 Kudos

Hi,

I've activated the flag you suggested and although I could enter alternative accounts via UI, when I sent JE transactions via API, SAP does not accept the alternative accounts. It reports the same error "G/L account NNNNN is not defined in chart of accounts YCOA".

I tried to find any XML field to specify the "Alternative COA" code but found none... 

Do you have any alternative suggestion?

Thanks