Application Development and Automation 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: 
Read only

problem in executing bapi BAPI_CONTRACT_CREATE

Former Member
0 Likes
320

Hi

I am executing the function module BAPI_CONTRACT_CREATE.

It is not uploading the Item field Net price.

I want to Upload that field into Table EKKO-NETPR.

There is some type mismatching is there for bapi field and table field.

Tell me how to resolve it.

1 REPLY 1
Read only

Former Member
0 Likes
242

Hi

Declare the internal table field also just like that of the BAPI strucutre. Got it?

IN the BAPI for the structure HEADER...the declaration is like this(this can be seen in Import Parameters of the BAPI in se37):

HEADER type BAPIMEOUTHEADER.

Now declare your internal table in the program also in the same way:

itab type standard table of BAPIMEOUTHEADER with header line.(or using the work area,how it is feasible to u in that way).

Regards,

Vishwa.