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

BAPI BDS_BUSINESSDOCUMENT_CREATEF RFC Call

Former Member
0 Likes
639

Hi Experts,

I want to upload attachments to different SAP documents via BAPI BDS_BUSINESSDOCUMENT_CREATEF.
The BAPI should be called via RFC from PI.

Manual run of the function is working fine. I have uploaded several txt-files to an invoice for example:

But when I try to run the BAPI via RFC it stuck in one of the subprocedures of BAPI.
I have set an external breakpoint in the BAPI function.
Result of debugging was, that the procedure always stopped at this point:
When procedure is trying to call the function "RCF_START_PROGRAMM" there comes the sandglass...

Take details from screenshots attached

http://s14.directupload.net/images/130307/tmajf9ug.jpg

Does anybody have an idea or workaround for this?

Thanks
Fabian

Hi Experts,

I want to upload attachments to different SAP documents via BAPI BDS_BUSINESSDOCUMENT_CREATEF.
The BAPI should be called via RFC from PI.

Manual run of the function is working fine. I have uploaded several txt-files to an invoice for example:

But when I try to run the BAPI via RFC it stuck in one of the subprocedures of BAPI.
I have set an external breakpoint in the BAPI function.
Result of debugging was, that the procedure always stopped at this point:
When procedure is trying to call the function "RCF_START_PROGRAMM" there comes the sandglass...

Take details from screenshots attached

http://s14.directupload.net/images/130307/tmajf9ug.jpg

Does anybody have an idea or workaround for this?

Thanks
Fabian

2 REPLIES 2
Read only

Former Member
0 Likes
551

Hi Fabian,

Check this  Note 1279775 - Incomplete Error Message When RFC_START_PROGRAM Fails

Regard's

Smruti

Read only

0 Likes
551

Hi Smruti,

Thank you!

I have just checked Note 1279775 - but didn't found any helpful hint in it.

There is only a description of that error, but no fix to deploy.

Regards,

Fabian