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: 

NETWR field mapping in bapi, bapi_po_create1

Former Member
0 Kudos

Hi All,

I am using Bapi_po_create1 for creating PO.

I am able to create PO but i have netpr and netwr fields in my file.

AT item level i am passing netpr data to NET_PRICE but not able to find NETWR field in BAPI which i need to update in my program.

Please give your suggestions.

Thanks,

Teja.

1 ACCEPTED SOLUTION

jogeswararao_kavala
Active Contributor
0 Kudos

Hello sharan,

If you study the PO lines in table EKPO then you would know the reason why field NETWR  is not covered in BAPI. As said before it is a calculate field. System calculates this as a multiplication of fields NETPR and MENGE.

See this picture of EKPO table entries.

Regards

KJogeswaraRao

7 REPLIES 7

former_member809980
Participant
0 Kudos

Hi,


there is no such specific field for NET VALUE, i believe during creation or changing any values SAP would run PRICING  Function to determine the value of NETWR.


thanks!!

0 Kudos

Hi Aditya,

Thanks for replying . Now i understood.

Regards,

teja.

michael_kozlowski
Active Contributor
0 Kudos

Hi,

NETWR is a calculated field triggered by conditions and cannot be updated directly. Therefore Bapi_po_create1 doesn't support NETWR.

You can verify behaviour for your own. Call transaction ME22N, select PO and inspect "Conditions" tab of a position. Field NETWR is greyed out.

Br

Michael

0 Kudos

Hi Michael,

Thanks for answering.

Regards,

teja.

jogeswararao_kavala
Active Contributor
0 Kudos

Hello sharan,

If you study the PO lines in table EKPO then you would know the reason why field NETWR  is not covered in BAPI. As said before it is a calculate field. System calculates this as a multiplication of fields NETPR and MENGE.

See this picture of EKPO table entries.

Regards

KJogeswaraRao

0 Kudos

HI Sir,

Thanks for replying. Understood.

Thanks,

Teja.

0 Kudos

Hi Teja,

Glad you've understood. May like to close the thread.

Regards

KJogeswaraRao