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 field for Version Indicator in MM01

Former Member
0 Likes
4,056

Dear All,

Request you to let me know the corresponding field in BAPI_MATERIAL_SAVEDATA for Version indicator (MARC-VERKZ).

Thanks & Regards

Akshay

Dear All,

Request you to let me know the corresponding field in BAPI_MATERIAL_SAVEDATA for Version indicator (MARC-VERKZ).

Thanks & Regards

Akshay

8 REPLIES 8
Read only

Abhijit74
Active Contributor
0 Likes
3,189

Hello,

Please check plantdata which is of type BAPI_MARC in BAPI .

Thanks,

Abhijit

Read only

Former Member
0 Likes
3,189

Hi Abhijit,

There is no such field in BAPI_MARC.

Thanks,

Akshay

Read only

0 Likes
3,189

Hi,

That field is not available in that sturcture. If you have to update that field, then use any unused field UID_IEA for example. Do an implicit enhancement in function module MAP2I_BAPI_MARC_TO_MARC_UEB and pass this to marc_ueb-verkz field and clear uid_iea field.

Before doing please check if there is any impact by passing the value through UID_IEA

Regards,

Swarna

Read only

Abhijit74
Active Contributor
0 Likes
3,189

Hello,

There is a field called PRODVERSCS in BAPI_MARC. Check if that fields do your job?

Thanks,

Abhijit

Read only

krishna_k19
Contributor
0 Likes
3,189

Hello ,

  check ,BAPI_MARC- PRODVERSCS field 've to pass the verion data, then it will update automatically.

Regards,

Krishna

Read only

krishna_k19
Contributor
0 Likes
3,189

This message was moderated.

Read only

krishna_k19
Contributor
0 Likes
3,189

This message was moderated.

Read only

David_mT
Explorer
0 Likes
2,815

There is no field VERKZ in the parameter of  BAPI_MATERIAL_SAVEREPLICA

 

I used this FM and it works (to update new production version)

      CALL FUNCTION 'MKAL_SAVE_NEW'
        EXPORTING
          dismm             ls_marc-dismm
          disst             ls_mara-disst
          matnr             p_matnr_new
          werks             ls_marc-werks
        TABLES
          wmkal             gt_mkal
          xmkal             lt_mkal_new
        EXCEPTIONS
          mkal_delete_error 1
          mkal_insert_error 2
          OTHERS            3.

But the checkbox MARC-VERKZ  still not checked

 

And when I go to MM02, then set ENTRY with my keyboard, the checkbox is set

=> So batch input will be a solution