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 with BAPI_MATERIAL_GET_ALL:For getting material details.

Former Member
0 Likes
2,050

Hi all,

Please tell me how to use BAPI BAPI_MATERIAL_GET_ALL to get all material details by passing only material no.I tried to pass material no to this BAPI but it didnt fetched material data.

thanks.

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
1,116

check if you have passed all the 18 characters of the matnr... or use convertion exit and then pass the value..

Hi all,

Please tell me how to use BAPI BAPI_MATERIAL_GET_ALL to get all material details by passing only material no.I tried to pass material no to this BAPI but it didnt fetched material data.

thanks.

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
1,117

check if you have passed all the 18 characters of the matnr... or use convertion exit and then pass the value..

Read only

Former Member
0 Likes
1,116

This method is the follow-on method from BAPI_MATERIAL_GET_DETAIL. In contrast to the original method, this method can read all of the material master data for a specified combination of organizational units. Depending on the organizational unit entered, the system returns the corresponding material master data. If you only enter the material number (the only required entry parameter), the method only returns client-specific material data for the material entered.

Please pass comlete 18 digit material number. to get the material no with leading zeros you can use FM CONVERSION_EXIT_MATN1_INPUT.