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_CREATEF

Former Member
0 Kudos

Hello,

I'm using this function call to creat documents for an engineering change records - works fine - but - all documents are stored under general documents and not under the different sections - I think the issue are the properties but with this funtion call I cannot set them - hope there is an other solution to change the documents

thanks for the help

Elisabeth

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

using BDS_BUSINESSDOCUMENT_CREATEF you can pss the properties also. in your case to putit in the proper document type you need pass the following in signature table

i_signature-prop_name = 'BDS_DOCUMENTTYPE'.

i_signature-prop_value = <type>.

check out the following FM to see how this is used.

WEB_BDS_OBJECT_SAVE

Regards

Raja

3 REPLIES 3

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

using BDS_BUSINESSDOCUMENT_CREATEF you can pss the properties also. in your case to putit in the proper document type you need pass the following in signature table

i_signature-prop_name = 'BDS_DOCUMENTTYPE'.

i_signature-prop_value = <type>.

check out the following FM to see how this is used.

WEB_BDS_OBJECT_SAVE

Regards

Raja

0 Kudos

thanks Raja,

was helpful and I solved my issue

regards Elisabeth

0 Kudos

Dear Elisabeth ,

Will you please guide me on this.

Actually we are able to attach the document with the businessobject in SAP using "BDS_BUSINESSDOCUMENT_CREATEF " and also able to view the same from the attachment list using SAP's thick client.

But the time we are trying to view the same document from the attachment list, instead of opening in the Native Application it directly get download on to the client's machine in the user directory.

Please suggest.