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: 

How to activate GOS services for when the Object key is not known

Former Member
0 Kudos

Experts,

I am trying to activate the GOS option for FB70 Transaction. I am able to show the GOS icon with all the desired options.

The issue is that if I want to link the GOS documents (attachments, notes etc) to the Customer invoice (entered via FB70) the Object key is still unknown. The reason for this is that the Customer invoice No. is not generated - it gets generated only after the invoice is saved/posted.

I have gone through the following document as well, but have not been successful to create a link between GOS docs and the customer invoice.

SAP Library - Generic Object Services (BC-SRV-GBT)

Please let me know if someone has any idea about this.

Thanks.

3 REPLIES 3

former_member200338
Active Contributor
0 Kudos

it is mandatory to pass the id while creating GOS. Alternate option is to generate a guid and pass it GOS. Later once you get the actual document no, do a mapping.

0 Kudos

Hello,

Thanks a lot your reply. Are you aware of any Function modules or class methods using which I can pass the GUID to GOS?

Please advise.

Thanks.