I am using a bapi bapi_prdsrvaps_savemult2 for extending the product to a new location .
I have to set some default profiles for fields lot size profile, demand profile and some other similar fields. I can use constant values in the bapi structure but they want values with region in it like 'NA_LOT' , the region followed by '_LOT'. and similarly for other fields .
The problem is that the bapi structure is not taking values unless the profiles are created priorly .
Is there any function module for creating the profiles so that in the program i can call the function first and then the bapi with those profiles .