‎2010 Apr 05 12:25 PM
Hi Gurus,
I am having a problem when using BAPI_CONTRACT_CREATE bapi.
I am running the contract via SE37 only, and i am having a successful message when creating contract. however, when I am using the account table (with BAPIMEOUTACCOUNT type), it is dumping.
My dump is related to the budget_period field. During debug in program L2014I10 method "transport_fields". I can see that structure cs_datax fields and i'm wondering why when we are assigning the field BUDGET_PERIOD, it gets dumped.
Here is the code where it is dumping:
ASSIGN COMPONENT <comp>-name OF STRUCTURE cs_datax TO <x_new>.
when looking at the structure of cs_datax, budget_period gets a char20 data type, while all other got a char1 data type.
Has anyone experienced this one?
Thank you.
Best Regards,
Benedict
‎2010 Apr 05 1:28 PM
‎2010 Apr 06 3:01 AM
ASSIGN_TYPE_CONFLICT
When it is assigning the structure cs_datax to <x_new>. As the structure's field cs_datax = with char10 assigning to <x_new> with char1.
Here is the code where it is dumping:
ASSIGN COMPONENT <comp>-name OF STRUCTURE cs_datax TO <x_new>.
‎2010 Apr 06 9:11 AM
‎2010 Apr 06 9:11 AM