Skip to Content
0
Former Member
Aug 23, 2007 at 12:40 AM

Create Idoc from Custom BAPI

210 Views

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