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

MM01 exit using classification data

mgross1
Participant
0 Likes
1,039

I have a requirement to change the net weight (MARA-NTGEW) in MM01/02 based on the classification data.

The problem is retrieving the classification data. I know there's a BAPI but that won't show any screen changes.

I found this code that can be used with EXIT_SAPLMGMU_001 to read the data from a buffer:

Field-symbols :< fs_char_buf> type any table.

< fs_char_buf2> type any table.

w_text = '(SAPLCTMS)SEL[]'.

w_text2 = '(SAPLCTMS)LOGSEL[]'.

Assign (w_text) to <fs_char_buf>.

Assign (w_text2) to <fs_char_buf2>.

But the code didn't work.

Does anyone have any other ideas?

1 ACCEPTED SOLUTION
Read only

mgross1
Participant
0 Likes
933

I've found that this buffer data can be retrieved using  FM CLAP_DDB_GET_BUFFER_PARAMS.

2 REPLIES 2
Read only

mgross1
Participant
0 Likes
933

Any ideas?

Read only

mgross1
Participant
0 Likes
934

I've found that this buffer data can be retrieved using  FM CLAP_DDB_GET_BUFFER_PARAMS.