cancel
Showing results for 
Search instead for 
Did you mean: 

CL_BDS_DOCUMENT=>CREATE_WITH_TABLE help

Former Member
0 Kudos

Hi Experts

I am trying to upload and attach a document to a MM Purchase Requisition.

I have used the FileUpload UI to grab a document from my desktop and this works without problem.

However when I call the method below I am unsure what values to use for i_classname, i_classtype and i_objkey.

Please could someone with MM.PUR.REQ knowledge help me with how to determine these values?

CALL METHOD CL_BDS_DOCUMENT_SET=>create_with_table

       EXPORTING

         classname       = i_classname

         classtype       = i_classtype

         content         = lt_data

         components      = i_components

       CHANGING

         object_key      = i_objkey

         signature       = i_signature

       EXCEPTIONS

         nothing_found   = 1

         parameter_error = 2

         not_allowed     = 3

         error_kpro      = 4

         internal_error  = 5

         not_authorized  = 6

OTHERS          = 7.

Thanks in advance

Anton Kruse

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can anyone assist?

Any help will be greatly appreciated.

Thanks