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

Material Views

Former Member
0 Likes
476

Hi Experts,

I'm trying BATH modifciar by INPUT, the view 19 Dat.gral.ce. / Storage 2, but using the INPUT BATH, I select a different view.

I'm using the function 'SELECTION_VIEWS_FIND' I iterna returns a table with a list of the views:

Data base 1

Data base 2

Classification

Sales: 1 org.ventas Data

Sales: 2 org.ventas Data

Sales: Data center / gral.

.....

.....

19 L SP20 Dat.gral.ce. / Storage 2 X 018 DATE00

I'm using the field that returns the function IDXBD SELECTION_VIEWS_FIND sequence as screens, indicating that view must select from INPUT BATH, if you have CLASIFICATIONJ, but the material is CLASIFICATION view (MM02) and me that instead of selecting another Plant / Storage 2, which fails to attempt to modify a field with the INPUT BATCH.

¿ How I can know exactly the number of the view that I want select for one material ?

Thanks

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
429

To avoid all these complications you can opt BAPI. BAPI_MATERIAL_SAVEREPLICA

2 REPLIES 2
Read only

Former Member
0 Likes
429

Field PSTAT appears in many or all MM tables. For instance, in table MARC, PSTAT would show you what is maintained for that material/plant combination.

In BDC coding, I used the GOTO function from the MMxx screen with the list of views, after checking that the view I need exists, by checking the content of PSTAT...somewhere in documentation, I found the meaning for the individual letters, but as I recall they're pretty self-explanatory.

Not sure if this is what you're asking for, but perhaps this will help.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
430

To avoid all these complications you can opt BAPI. BAPI_MATERIAL_SAVEREPLICA