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_SAVEDATA

vijay_kumar135
Explorer
0 Likes
1,036

Hi SAP Experts,

I am having a Problem in BAPI Please give solution for this

I am trying to create a material using BAPI_MATERIAL_SAVEDATA, in my HEADDATA section I am passing material number (MATNR) from function module BAPI_MATERIAL_GETINTNUMBER.

And I have two z-fields like zzpart_num (length 32) and zzvendor (length 😎 I am passing using extension in structure.

Problem is client want to see zzpart_num and zzvendor concatenated separated by - into the field RMMG1-MATNR, if I will give the concatenated value in HEADDATA MATERIAL_EXTERNAL while bapi execution HEADDATA- MATERIAL is over write with first 18 characteru2019s of HEADDATA MATERIAL_EXTERNAL , But I want to not to over write the HEADDATA- MATERIAL . Please help me.

Thanks in Advance,

Vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
888

Hi

Material code is long 18 character

Max

4 REPLIES 4
Read only

Former Member
0 Likes
889

Hi

Material code is long 18 character

Max

Read only

0 Likes
888

It's not possible to do this, maybe you can concatenate string in the material description.

See if your customer is ok.

Good luck.

Read only

0 Likes
888

Thanks for quick reply julien,

But, they are able to see the same(concatenated value) while creating the material using MM01 transaction, and I am I able to see the same by modifying the MATERIALID-MATNR_EXT ATTRIBUTE after successful execution of BAPI , but is it ok updating standard table in a program?

Thanks in advance

Vijay

Read only

Former Member
0 Likes
888

Hi friends,

I have a similar requirement i have to change material description of many materials

Also i need to change a few things in CLASSIFICATION VIEW .. does any one have any idea how can i make changes to CLASSIFICATION VIEW ??

I desperately need a solution.

Thanking you all in anticipation