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

Copy BAPI interface to another SAP system

Former Member
0 Likes
928

Hi,

I am trying to call BAPI BAPI_GOODSMVT_CREATE in R3 using RFC from a SAP SRM system. The problem I have is that the structures that the BAPI uses (e.g. BAPI2017_GM_ITEM_CREATE ) are not defined in SRM.

Can I copy the structure BAPI2017_GM_ITEM_CREATE from R3 with related data elements to SRM using a standard utility?

I want to avoid creating it manually.

Many thanks,

Austin

1 ACCEPTED SOLUTION
Read only

Peter_Inotai
Active Contributor
0 Likes
862

There was well explained in one of Thomas Jung's old BSP weblog....I'll try to find it.

Peter

6 REPLIES 6
Read only

Former Member
0 Likes
862

Hi

I don't think there some utilities to do that.

You can define the structure only in the report has to call the BAPI and not in dictionary.

Download the definition of the structure in a report ZDUMMY ( use the option of PATTERN button), copy and past it to your report of SRM.

Anyway after downloading the definition you have to do some modification manually, but perhaps it's faster than to re-define it in dictionary.

Max

Read only

Peter_Inotai
Active Contributor
0 Likes
863

There was well explained in one of Thomas Jung's old BSP weblog....I'll try to find it.

Peter

Read only

0 Likes
862

Here it is ... I found it much faster then I expected:

<a href="/people/thomas.jung3/blog/2004/06/23/bsp-150-a-developer146s-journal-part-iv-rfcs-and-the-bapi-browser – a Developer’s Journal: Part IV- RFCs and the BAPI Browser</a>

Peter

Read only

0 Likes
862

Austin,

I had the same situation and I resolved in a somewhat illegal way. I created an empty change request, forced myself directly into the E071 table (it holds the requests' objects) and appended the standard SAP object (it was a structure as well) to the request. I released the request and imported it into another system and everything went fine. Note that this was not modification. I didn't change standard object or anything, I just transported it.

HTH,

Igor

Read only

0 Likes
862

Hi Peter,

This worked perfectly.

Thanks for your help,

Austin

Thanks to all who replied.

Read only

0 Likes
862

Hi Austin,

I'm happy that it worked.

Regards,

Peter