on 11-11-2010 10:32 AM
Hi
I want transfer the file attachment of Purchase Requisition from ECC to Shopping cart of SRM 7.0.
I am attaching the file using GOS method, does SRM7.0 support this functionality. wondering how the header and item level attachments from ECC will be transfered to SRM system.
does function BBP_ATTACH_CONTENT_WEBGET solve this problem.?
I refferred the below link. but not clear.
Regards
Ckumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
we are using BBP_EXTREQ_TRANSFER to transfer the PR from ERP to SRM SC.
PR document is created in SRM but GOS attachment is missing.
we are following Classic scenario and basically when you transfer the attachment from ERP to SRP or SRM To ERP i
the attachment is always missing regardless of file attached. To add with we are using PI -IDOC transfer for few scenarios.
Pls help me where to start analysing the problem.
Regards
ckumar
Hi
In our environment, we are not using DMS. and
the expected attachement to be sent is only at Header level only not at item level.
Can i know why you recommend ESOA any SAP notes recommend us to go for it.?
Pls suggest.
No idea about ESOA.?..does all customers are following ESOA for this kind of problem....?
appreciate if you give more ideas on this.
Regards
Chandra
Hi,
I just thought customers who select ERP 6.0 EhP4 use CPPR function. CPPR sends PR via ESOA.
If you do not use CPPR and wnat to use old RFC, please check followings.
I think your issue is in sender side. Application gets attachments from dokar doknr dokvr doktl objky tables.
Set a break point and make sure attachment is passed.
Sourcing Cockpit handles item level. If you want to pass header attachment to all items, you may need to enhance the code.
Program: LBBP_EXTREQF18
FORM send_pr_to_procsystem
...
**to get the object key for all items.
LOOP AT it_item INTO wa_item.
MOVE : wa_item-item_guid TO wa_objectkey-item_guid.
CONCATENATE wa_item-parent wa_item-item_guid INTO
wa_objectkey-objectkey.
APPEND wa_objectkey TO lt_objectkey.
ENDLOOP.
*to get the attachment documents for all items.
SELECT dokar doknr dokvr doktl objky INTO
TABLE lt_drad
FROM drad
FOR ALL ENTRIES IN lt_objectkey
WHERE dokob = lc_eban AND
objky = lt_objectkey-objectkey.
Regards,
Masa
Hi Masa
It was great reply.
I will check with BBP_EXTREQ_TRANSFER by debugging the PR transfer.
I guess FM BBP_BC_EXTREQ_INB is called in SRM and recieving attachment for SC
but not sure how to debugg BBP_BC_EXTREQ_INB from ECC.
Also FM BBP_EXTREQ_INBOUND in BBP_BC_EXTREQ_INB seems to be receiving header attachment ...was it not?
Pls correct me if i am wrong.
Regards
Hi,
Attachment structure has parent GUID pointing to header or item. So it depends on how sender side fill attachment structure.
Please share your test result and findings in SDN.
PARENT_GUID BBP_ER_PARENT
LOGICAL_SYSTEM BDS_LOGSYS
CLASSNAME BDS_CLSNAM
CLASSTYPE BDS_CLSTYP
OBJKEY BDS_TYPEID
DOC_ID BDS_DOCID
DOC_VER_NO BDS_DVERNO
DOC_VAR_ID BDS_DVARID
DESCRIPTION BDS_PROPVA
URL BBP_ER_ATT_URL
TYPE BBP_ER_ATT_TYPE
INTERNAL_IND BBP_ER_ATT_INTERNAL
CATEG BBP_ER_ATT_CATEG
Regards,
Masa
Hi,
Here are my findings.
- GOS attachment is not transfered from ERP in standard. I think this is OK because PR and SC does not have header concept. Sourcing cockpit handles item level. If you need to transfer GOS attachment to item level, you can enhance the code.
- For receiver side, you can set breakpoint at BBP_BC_EXTREQ_INB.
- Attachment information is transfered to SRM and SRM calls BBP_RFC_CON_GETATTACH to get attachment body from ERP.
Regards,
Masa
Hi Masa
>> Do you have any SAP note or document mentioning this particularly? just a proof kind of.
GOS attachment is not transfered from ERP in standard. I think this is OK because PR and SC does not have header concept.
>> this is again converting Header level attachment to item level right...but my requirement is Header level needs to be transferred to SRM only as Header level not in item level.
So finally things are like GOS attachment in header level cannot be passed from ERP to SRM or SRM to ERP.
now looking for any SAP statement confirming about this...because...customer need proof whether it can be done or not.
Sourcing cockpit handles item level. If you need to transfer GOS attachment to item level, you can enhance the code.
- For receiver side, you can set breakpoint at BBP_BC_EXTREQ_INB.
- Attachment information is transfered to SRM and SRM calls BBP_RFC_CON_GETATTACH to get attachment body from ERP.
Regards
ckumar
Hi,
It is clear from source code in my previous post. Header and item concept is also clear.
How do you want to use attachment in header?
When/Where do you want to display attachment?
SC does not has header concept. How do you want to manage?
RFx and PO will be created from several PR items or SC items. How do you wont to manage the header level attachment?
You can enhance function based on your business requirement.
Regards,
Masa
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.