Hi,
I am working on a Credit Card Add-On for one of our customers and I am trying to create a Credit Memo and an Outgoing Payment in the code.
I have an issue with the creation of the Outgoing Payment. SAP expects me to specify the GL Account to which the Card Payment will be posted. I have to hardcode the Account # and then it works fine. But I do not want to go that way of hardcoding the values. Am I missing something or Is there any alternate solution for this?
Please help me.
The code snippet is attached.
Thanks
Sriram.