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

BAPI_CONTRACT_CREATE dump on Account table parameter

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

What does the dump say is the problem?

0 Kudos

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>.

0 Kudos

Solved.

It was a data error passed to the BAPI.

Former Member
0 Kudos

data issue