Application Development and Automation 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: 
Read only

Execute BAPI_DOCUMENT_CREATE2 in background mode

Former Member
0 Likes
731

Hi,

I need to create a DMS document with PDF attachment from Application Server in background mode.

I'm calling the function BAPI_DOCUMENT_CREATE2 in an external application, but it stopped when I call function RFC_START_PROGRAM destination BACK. What does mean "destination BACK"?

Is it possible?

Are there any other ways to solve this issue?

Thanks in advance,

3 REPLIES 3
Read only

Former Member
0 Likes
573

when we specify 'destination BACK', system calls the fucntion in 'called system'

I dont have any idea about RFC_START_PROGRAM,

May i know, from where are you calling this FM, destination BACK.

may be system trying to call this back in external application

Read only

0 Likes
573

Thanks for answer. This function doesn't exists in external application. I don't undestand why this function was executed. I want to call function BAPI_DOCUMENT_CREATE2 with out SAP-GUI and background mode. Is it possible?

Read only

Former Member
0 Likes
573

Hi,

Are you passing parameter PF_HTTP_DEST with the value maintained in your SM59 to BAPI_DOCUMENT_CREATE2.

Regards,

Keerthi