cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an ALE interface via BDBG

Former Member
0 Kudos

I am trying to use the above for a inbound scenario, where my custom idoc will be posted with calling the underlying custom BAPI to create shipments.

i followed the steps as in (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2a1dd5d3-0801-0010-ed8d-bd797ed922cb) everything went well under 'Inbound tasks' until tcode BDBG, where in i got error 'idoc does not exist', so i created my custom idoc ZTPSSHT01 from scratch. now in BDBG after prompting for request#, i get error "ZE1TPSHH has not been generated, further processing not possible ".

ZE1TPSHH is my header segment in the z-idoc. i have released all the segments and the idoc.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Ramchan,

Error indicates that your Customized segment "ZE1TPSHH" is not populated with data while generating idoc... I belive this segment is mandatory...

Can you check the incoming data format...

Nilesh

Former Member
0 Kudos

Nilesh,

I havent started populating data on the idoc yet. Am still on BDBG trying to generate the ALE interface for my ZBAPI. When i do a 'check' it says that FMs ZZALE_SHIPMENT_CREATE & ZIDOC_INPUT_ZTPSSHT does not exist.

i get the eror "Data element is not active".

turmoll
Active Contributor
0 Kudos

Hi,

Transaction BDBG is used to generate ALE interface for a BAPI. In the transaction you should provide BOR object type and a BAPI name and it should generate message type, idoc type and FMs: ZZALE_SHIPMENT_CREATE and ZIDOC_INPUT_ZTPSSHT automatically.

Maybe it helps: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6943dc85-0601-0010-beab-e2ce1eb16f25">Making BDBG Easy</a>.

Regards,

Jakub

Former Member
0 Kudos

Jakub,

The link you had provided was again simillar to step-bystep to build ALE interface. I re-did the whole object again, still end up with same error "Data element not active". This error is very generic, not sure where and what to look !

Here is what am trying to achieve, I want to run my custom ALE interface for a ZBAPI to create shipments from an inbound z-idoc. This idoc should resemble that of TPSSHT01. The standard FM attached to this idoc, currently doesnt satisfy my requirement.

Former Member
0 Kudos

The standard segment(fields) i was using had some blank domains. BDBG was validating these domain values. Not sure if this is a SAP bug, so created z-structures with proper domains to solve my issue.