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: 

Create Idoc from Custom BAPI

Former Member
0 Kudos

Hi Friends,

I am having trouble with BDBG and generating an idoc from a custom BAPI. Our requirement is to receive a file from an XI system, and to run the file into Core R/3 via an idoc (as an TRFC will result in a synchronous update and XI will wait for it to complete, whereas my XI consultant wants XI to forget about the file after the idoc is sent, and we wish to use IDoc error handling if there are any problems).

I have created the custom Function, and successfully created an object in the BOR. The Business Object is set to status 'Released'.

When I attempt to generate the ALE inteface, I get through to the 'Enter Interface Parameters' pup-up. But when I click on the green tick, I get an error stating that my new message type 'Contains no segments'. I thought BDBG created all the segment and other ALE interface objects based on the Business Object that has been created, but do I need to create all the Segement objects manually first? if so, do I create my segment to look like my input and table parameters?

Points will be rewarded for helpful responses.

Cheers,

Steve

1 ACCEPTED SOLUTION
1 REPLY 1