Skip to Content
0
Former Member
Apr 15, 2010 at 02:50 AM

Looking for a function that returns the currently opened document type

48 Views

Dear SAP gurus

I have a user exit for transaction VA02. In VA02, when I click on button (Item details-configuration),

it launches a URL in a browser. I am asked to add to the URL, values like Document Type, Document Number

and Line Item Number.

I can get Document Number and Line Item Number from the presently opened Sales Document by using the standard Function 'CUCB_GET_OWNER_OF_CFG'.

However, I am not able get the value of Document Type. Is there any function that will give me

the value of the Document type of the present document that is open.

Any feedback/Suggestion will be highly appreciated.

Thanks

Ram