cancel
Showing results for 
Search instead for 
Did you mean: 

Document is Attached or not

Former Member
0 Kudos
81

Hi,

How should I find whether the document is attached under the Documents/Attachments for a particular line item in the shopping cart.

Regards

Ram

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi,

Did you already check the following thread ?

https://forums.sdn.sap.com/click.jspa?searchID=667058&messageID=2043763

Kind regards,

Yann

Former Member
0 Kudos

Hi yann,

I need to check at Shopping Cart creation level. Actually requirement is I need to give error msg when a Material group is M0001 and not containing any document as an attachment. In this case where can I check like any badi doing this... I have seen in our system We are using 'Z' Badi for shopping cart checks. In this I am not able to find any filed which is maintaining Path of file or file name or any flag.

Regards

Ram

mani_sreedharala
Employee
Employee
0 Kudos

Hello Shriram,

Here is the workaround for your solution.

1.Implement the Badi BBP_DOC_CHECK_BADI.

2.Use the function module BBP_PD_SC_GETDETAIL and retrieve the item details and the attatchment details(ET_ATTACH) of the shopping cart by passing the GUID.

3. Now for every item validate whether there are any attatchments with your conditions

Hope this will solve your problem.

~Mani

Answers (0)