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

Question on BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
369

Hi

We are using BAPI_MATERIAL_SAVEDATA to update data for different material

views. We pass data for multiple views at the same time - and the BAPI returns error messages with some specific field information that had validation errors. Now, we have a requirement to interpret/attribute the error uniquely to what view the field error occured when the BAPI is called from an external system. The BAPI does not return the view name in which the field validation error occured. Is there any configuration table ( by material type ? ) in which the fields of a particular view are stored ? Using then, I can search for the field name returned in the error structure in the BAPI and then find out the view name and return this information in the wrapper over the BAPI that we intend to write.

Any thoughts/pointers on similar situations/requirements faced will be appreciated.

2 REPLIES 2
Read only

Former Member
0 Likes
329

SEE IN BAPIS U CANNOT CAPTURE VIEW NAMES OF MATERIAL.........................EACH AND EVERY VIEW IS CAPTURED IN DIFFERENT STRUCTURES........CONSIDER IF Warehouse Management 1 VIEW IS THERE THE RELEVANT FIELDS WOULD BE THERE IN WAREHOUSENUMBERDATA STRUCTURE.........I HOPE U GOT NOW

Message was edited by:

suguna

Read only

0 Likes
329

Hi Suguna

I am not sure how this reply answers my question .Could you elaborate ?