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

BAPI_MATERIAL_SAVEREPLICA - Where to pass the Purchasing View data

Former Member
0 Likes
1,125

Dear Friends,

We are using BAPI_MATERIAL_SAVEREPLICA to create a material. Please let us know in which structure should we pass the purchasing view data such as follows:

Vendor No

FOB cost

Purchasing Org

Dear Friends,

We are using BAPI_MATERIAL_SAVEREPLICA to create a material. Please let us know in which structure should we pass the purchasing view data such as follows:

Vendor No

FOB cost

Purchasing Org

4 REPLIES 4
Read only

Former Member
0 Likes
876

Hi u can refer this .

This is for BAPI_MATERIAL_SAVEDATA purchase view.

*Purchasing

PERFORM conversion USING wa_data-BSTME CHANGING BAPI_MARA1-PO_UNIT.

BAPI_MARA1-VAR_ORD_UN = wa_data-VABME.

BAPI_MARC1-PUR_GROUP = wa_data-EKGRP.

BAPI_MARA1-BATCH_MGMT = wa_data-XCHPF1.

BAPI_MARC1-GR_PR_TIME = wa_data-WEBAZ.

BAPI_MARA1-MANU_MAT = wa_data-MFRPN.

  • Begin of changes +MR25092009

BAPI_MARA1-PUR_VALKEY = wa_data-EKWSL.

  • End of changes +MR25092009

BAPI_MARAX-PO_UNIT = 'X'.

BAPI_MARAX-VAR_ORD_UN = 'X'.

BAPI_MARCX-PUR_GROUP = 'X'.

BAPI_MARAX-BATCH_MGMT = 'X'.

BAPI_MARCX-GR_PR_TIME = 'X'.

BAPI_MARAX-MANU_MAT = 'X'.

  • Begin of changes +MR25092009

BAPI_MARAX-PUR_VALKEY = 'X'.

  • End of changes +MR25092009

Read only

0 Likes
876

Hi Kumar,

Thanks for your reply. Purchasing group can be passed in the BAPI_MARC1 structure, but what about the Vendor and the

FOB Cost, where should I pass this.

Read only

Former Member
0 Likes
876

not possible, so developed a BDC for this.

Read only

JL23
Active Contributor
0 Likes
876

Just a question: what has vendor, purchasing organisation and FOB costs to do with material master?

Are you able to maintain these data in MM01? I am not. (or do you talk about retail system?)

This data is usually info record data.