‎2007 Apr 07 12:06 PM
Hi Experts,
I want one function module which wil allows us to attach a attachment to the material in the SAP R/3 System.
Please clear my doubt . Why Because i got strucked here in this issue of selecting a right Function Module.
Please clear my doubt. Helpful ANswers wil be Reward.
Regards
Khanna
‎2007 Apr 07 7:47 PM
Hi khanna rajesh,
this is done by <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm">Generic Object Services (BC-SRV-GBT)</a>
You have to generate an instance of the class cl_gos_manager by calling the constructor method. Enter the BOR-ID of your object as the export parameter for the constructor.If you do not know which object type your object has, choose Tools ® Business Workflow ® Development, Business Object Builder, Business Object Repository, Repository Browser and then All object types. Search for your application document in the outputted list using Edit ® Search.
Regards,
Clemens
‎2007 Apr 08 7:51 AM
Hi Rajesh,
You can attach the attachment to material using MM02 transaction, the buttons next to the title bar using them you can attach.
Or
Using the Transactions 'OAER' / 'OAOR'
Or
Using this submit you can call the program that calls the attachment screen, in which you can attach an attachment to the material....
SUBMIT bdsfind_1 WITH classn = 'BUS1001'
WITH classtyp = 'BO'
WITH objkey = v_matnr AND
RETURN.
Regards,
Ramesh S
*award points if reply is helpful
‎2007 Apr 09 6:02 AM
Hi Ramesh,
What i said i s i understood.
But here we should use only Function Modules.
Please reply me .
Regards
Khanna