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.
Showing results for 
Search instead for 
Did you mean: 

Bapi to create top level node of customer hierarchy

Former Member
0 Kudos

I am looking for a bapi that can create the top level node for a customer Hierarchy(account group 12). Using the application, i would create a new account group 0012 in xd01, then use VDH1N to build the hierarchy for the node I just created.

I have found the bapi BAPI_CUSTOMER_HIERARCHIE_INS which would perform the function that VDH1N would, but it assumes the top level node exists.

Any ideas as to a bapi that creates the top level node?


Former Member
0 Kudos

Hello James,

Why don't you write a little bdc for XD01 t-code and then call your FM?



0 Kudos

The node is going to be created from an external system. I'd much rather give them a bapi that's already done then to write a bdc and then a RFC wrapper.

Thanks for the suggestion though.