‎2012 May 04 10:45 PM
I'm a SAP newbie ...
I'm using function modules do get information from SAP. I get materials or documents using BAPI...
Question:
I have a material and want to know which documents are linked to this material (like I can do it in the SAP GUI). I have found the CO_DM_MAT_GET_DOC_LINKS. But this does not work via remote function call.
Do you have a hint which function module I can use instead?
Thanks
Thomas
‎2012 May 07 9:18 AM
‎2012 May 05 10:31 AM
Hi Thomas,
If CO_DM_MAT_GET_DOC_LINKS is works for you then you can create a wrapper FM (Remote enabled) with same parameters and call the CO_DM_MAT_GET_DOC_LINKS in wrapper FM.
Many Thanks,
Jitendra
‎2012 May 06 10:10 AM
Hi Jitendra,
Thanks for the response. I haven't created any wrapper FM yet. In my understanding I have to do it e.g. by the /nme_wizard?
We are not using SAP in our company. Some customers want to pump some of our data to their SAP system. So I don't want to manipulate or maintain their SAP server and want to use a more standard ways.
If I put 'mm03' in the SAPGui transaction field I get the material view. In the menu Additionals I find the menu item Document Data. If I click this item, I get the document (I use a German version, so I'm not sure if the mentioned menu labels are correct ...). So it seems this is a general requirement?
Actually I believe there must be a way to get these documents with the standard remote calls.
In which way would you look for these data?
Thanks in advance
Thomas
‎2012 May 07 9:18 AM
‎2012 May 08 8:45 AM
A friend told me about another function module - BAPI_DOCUMENT_GETOBJECTDOCS
thanks guys for your hints!
It solved my issue ...