Application Development 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: 

BDS_BUSINESSDOCUMENT_GET_FILES

Former Member
0 Kudos

Hi folks I'm trying to get an excel file attached to a PO Order with BDS_BUSINESSDOCUMENT_CREATEF but it returns the following error message:

NOTHING FOUND

Id.message: SBDS message number: 101

Import parameters for my call are

LOGICAL_SYSTEM: INB_D

CLASSNAME: BUS2012

CLASSTYPE: BO

CLIENT: 400

OBJECT_KEY: 4500231515

This PO exist and the is an Excel file attached.

What do you think I'm doing wrong ?

Thank's in advance for your help.

Francesc.

3 REPLIES 3

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

this FM BDS_BUSINESSDOCUMENT_CREATEF is for creating attachment to business object.

to read the content you have to use

BDS_BUSINESSDOCUMENT_GET_TAB

Regards

Raja

0 Kudos

Hi another time,

Raja I've tried with BDS_BUSINESSDOCUMENT_GET_TAB following your suggestion but I have a doubt about classname parameter. I filled CLASSNAME parameter with BUS2012 when I create the attachment to PO 4500231515 using BDS_BUSINESSDOCUMENT_CREATEF. I supose I must us it in BDS_BUSINESSDOCUMENT_GET_TAB too.

The answer is not found another time and I can see the attachment when I go to ME23N with 4500231515 document.

Regards.

0 Kudos

<i>I supose I must us it in BDS_BUSINESSDOCUMENT_GET_TAB too.</i>

yes you have to use the same set of parameters while reading back the contents.

Raja