2020 Jun 04 11:45 AM
Hi Experts,
I need to call Odata - FAC_GL_DOCUMENT_POST_SRV for Journal Entry posting.
Can anyone here advise if there is any standard guide or documentation available from SAP ?
I am calling it from Postman but need to consume from .net.
The postman call gets failed.
Following is the error I get
{"error":{"code":"FINS_ACDOC_POST/100","message":{"lang":"en","value":"We’re sorry, but an error occurred"},"innererror":{"application":{"component_id":"FI-FIO-GL","service_namespace":"/SAP/","service_id":"FAC_GL_DOCUMENT_POST_SRV","service_version":"0001"},"transactionid":"A592B9D487BE0050E005ED0BD6BDFB14","timestamp":"20200603073413.9839460","Error_Resolution":{"SAP_Transaction":"For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"FDC_POSTING_001/025","message":"Your session has ended. Please go back and start again.","propertyref":"","severity":"error","transition":false,"target":""},{"code":"/IWBEP/CX_MGW_TECH_EXCEPTION","message":"We’re sorry, but an error occurred","propertyref":"","severity":"error","transition":false,"target":""}]}}} --72569D92F571A3CF84084E4630FC2C120
Hi Experts,
I need to call Odata - FAC_GL_DOCUMENT_POST_SRV for Journal Entry posting.
Can anyone here advise if there is any standard guide or documentation available from SAP ?
I am calling it from Postman but need to consume from .net.
The postman call gets failed.
Following is the error I get
{"error":{"code":"FINS_ACDOC_POST/100","message":{"lang":"en","value":"We’re sorry, but an error occurred"},"innererror":{"application":{"component_id":"FI-FIO-GL","service_namespace":"/SAP/","service_id":"FAC_GL_DOCUMENT_POST_SRV","service_version":"0001"},"transactionid":"A592B9D487BE0050E005ED0BD6BDFB14","timestamp":"20200603073413.9839460","Error_Resolution":{"SAP_Transaction":"For backend administrators: use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"FDC_POSTING_001/025","message":"Your session has ended. Please go back and start again.","propertyref":"","severity":"error","transition":false,"target":""},{"code":"/IWBEP/CX_MGW_TECH_EXCEPTION","message":"We’re sorry, but an error occurred","propertyref":"","severity":"error","transition":false,"target":""}]}}} --72569D92F571A3CF84084E4630FC2C120
2021 Aug 11 2:47 PM
2021 Aug 16 5:23 AM
Hi Nilesh,
Yes, there are two fields in this Odata - 'TmpId' and 'TmpIdType'.
You need to make calls to the server to get values of these and then in subsequent calls, you need to pass these same values there.
Just keep debugging network calls of its actual FIORI app and you will find the answer in more clarity.
2021 Aug 16 5:35 AM
Thanks Rahul for your reply. I will try it once I have access to Fiori apps, currently I have only backend access. By chance do you have sample payload that you tried from postman or any other http client, please share if you have one.
Also if you have some time to discuss that would help.
2021 Aug 16 5:51 AM
It was long back but I will check if I still have the payload.
You can share your actual requirement as this is SAP's internal Odata that has no documentation or support if you may need in future.
2021 Aug 16 6:39 AM
My actual requirement is to post journal entries (GL to GL) and also create attachment while creating journal entries
2021 Dec 07 12:28 PM
Hi Rahul,
Can you please provide the payload to test this API.
Thanks & Regards
Kura Bharadwaj
2023 Dec 27 12:57 AM
Hi Rahul, Can you provide a detailed implementation of how to use FAC_GL_DOCUMENT_POST_SRV to post a Journal Entry?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |