Application Development and Automation 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: 
Read only

Object for attachment on vendor master data.

Former Member
0 Likes
1,851

Hi all,

I have one problem because I need to create a BI over tx FK02 that will attach a pc file to one vendor master data. The issue is mainly related to knowing which object is directly connected with this need. While debbugging I have noticed that system calls method SET_OBJECT on class CL_GOS_SERVICE, which seems to be part of the suitable flow but unfortunately the possibility of attaching one pc file is desabled on my system.

Could somebody help telling me which is the object related to this attaching to one already existing vendor master data?

Thanks in advance.

Abdali

Hi all,

I have one problem because I need to create a BI over tx FK02 that will attach a pc file to one vendor master data. The issue is mainly related to knowing which object is directly connected with this need. While debbugging I have noticed that system calls method SET_OBJECT on class CL_GOS_SERVICE, which seems to be part of the suitable flow but unfortunately the possibility of attaching one pc file is desabled on my system.

Could somebody help telling me which is the object related to this attaching to one already existing vendor master data?

Thanks in advance.

Abdali

4 REPLIES 4
Read only

Former Member
0 Likes
865

Hi ,

you need to search in SDN before you post ...

check this sample code.

[WIki|http://wiki.sdn.sap.com/wiki/display/ABAP/GOS-AttachmentstoSAP+Documents/]

regards

Prabhu

Read only

0 Likes
865

Dear Prabhu,

I'm sorry but I think there's been a misunderstanding: my problem is mainly related to knowing which is the object related rather than knowing the ABAP code, that in your answer is for a FI document and not for a AP master data.

My problem is that I need to identify which object is related to attachaments in FK01 tx., part related to LFA1 table. I think it could be LFA1 or LFA1_CORE but as I don't know I need help. Specifically I need to know which suitable object would be transferred using an adapted Z program that calls the estándar tx FK01 after a workflow and when the object should also be transferred in the workflow.

Thanks in advance.

Abdali

Read only

0 Likes
865

Hi ,

its not my answer , its sample code to handle attachments within ABAP.

anyhow , coming to your Question ... object Id should be LFA1.

SPRO>Cross - Application comp>Document Management>Control Data>Maintain Screen for Object Link.....

regards

Prabhu

Read only

0 Likes
865

Hi Prabhu,

Thanks a lot. I need to get deep into this solution you are purposing because if you go to tx FK01, if after entering data on the selection screen you go to the Menu toolbar and select Sistem > Services for the object system displays the following message:

No services available for this object

Message number: SGOS_MSG002

With this information would you say it could still be possible to call tx FK01 on a BI with a wf in between and transferring an annex considering that the LFA1 object seems not to exist yet?

Thanks in advance.

Abdali

Edited by: Abdali Bali on Jan 18, 2012 10:11 AM