Thanks a lot for the hint. It works like a charm :).
Original Message:
Sent: 06-24-2026 01:25
From: Ed Meiners
Subject: Script BAPI_CUSTOMER_HIERARCHIE_INS
Using the same BAPI but I don't use loops in it.


where needed, i just repeat the higher level customer with another subordinate.
hope this helps
------------------------------
Ed Meiners
Wessanen Nederland Holding BV
------------------------------
Original Message:
Sent: 06-23-2026 04:53
From: Preeti Yadav
Subject: Script BAPI_CUSTOMER_HIERARCHIE_INS
Thanks Archana. I had checked the threads but it was not helpful. I am now getting the error "Invalid Reference Range" and there is no explanation for the error.
I have also created a support ticket.
Thanks
------------------------------
Preeti Yadav
FUCHS SE
------------------------------
Original Message:
Sent: 06-23-2026 04:22
From: Archana Chandar
Subject: Script BAPI_CUSTOMER_HIERARCHIE_INS
Hi Preeti
Thank you for reaching out. Regarding your query to upload multiple entries, this is the whole purpose of Loops.
Studio automatically adds loops in the Mapper and selects padding for some data types when you create a BAPI-based script.
Changing the Loops
If you have related data across multiple tables - for example, the fields for a line item - you can replace the separate loops with one longer loop:
Delete the second loop by selecting the row, right-clicking, and then clicking Delete.
Click the remaining loop, and then change the row number in the through box to the last row that you want to include in the loop.
Repeat steps 1 and 2 for any additional tables and fields that need to be part of the line item.
Please see below for how direct works, and let me know if you still need further assistance. Please create a support ticket at support.precisely.com.
https://help.precisely.com/r/t/1016755833/2023-12-31/Automate-Studio/Connect/Latest/en-US/Automate-Studio-with-Studio-Administrator-User-Guide/Create-a-script-from-a-BAPI
https://help.precisely.com/r/t/1016755809/2023-12-31/Automate-Studio/Connect/Latest/en-US/Automate-Studio-with-Studio-Administrator-User-Guide/Looping-overview
Thanks
Archana
------------------------------
Archana Chandar
*Precisely Software Inc.
------------------------------