Application Development 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: 

Charecteristics in MB01

Former Member
0 Kudos

Hi all,

When doing a GR I enter charecteristics for the Batch.

I have checked the structures available in the enhancement " EXIT_SAPMM07M_001" but could not find the data filled.

Any suggestions on how to get the charecteristics values I filled before I hit Save?

Appreciate any response.

Thanks..

9 REPLIES 9

ferry_lianto
Active Contributor
0 Kudos

Hi,

Have you looked user exits EXIT_SAPMM07M_004?

Regards,

Ferry Lianto

0 Kudos

Thanks for your response.

I need to use the "EXIT_SAPMM07M_001" as it fires everytime I enter batch data and the other one does not.

ferry_lianto
Active Contributor
0 Kudos

Hi,

You can not use user exits EXIT_SAPMM07M_001.

There is no input/output parameters available for characteristics values.

Regards,

Ferry Lianto

Former Member
0 Kudos

I am not sure but Check out the BADI MB_DOCUMENT_BADI.

0 Kudos

Thanks

But we are on 4.0b.

Is there any way I can import/export?

Thanks.

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try this in user exits EXIT_SAPMM07M_001 ... perhaps it may help.


DATA: WA_TABLE(100) TYPE C,
      T_CHAR        TYPE STANDARD TABLE OF API_CHAR,
      WA_CHAR       TYPE API_CHAR.
                                                                        
FIELD-SYMBOLS: <FS_CHAR> TYPE ANY TABLE.
                                                                     
WA_TABLE = '(SAPMM07M)CL_API_CHAR[]'.
ASSIGN (WA_TABLE) TO <FS_CHAR>.
T_CHAR[] = <FS_CHAR>[].
                                                                                LOOP AT T_CHAR INTO WA_CHAR.
  ...
ENDLOOP.
                                                                                <FS_CHAR>[] = T_CHAR[].
UNASSIGN <FS_CHAR>.

Regards,

Ferry Lianto

0 Kudos

Hi,

I tried your suggested method but did not work probably as we're on 4.0B.

But I appreciate your answer and I'm sure it'd have helped if we are on a newer version.

As a last resort I'm submitting a Batch job to run every 10 min and to pick up all MBLNR's processed and then go from there.

Thanks.

Former Member
0 Kudos

Hi,

You can have the characterstic value of batch in exit 'EXIT_SAPLCLFM_002' of 'CLFM0002' Enhancement. In this exit T_ALLAUSP will hold all the charcterstic values. This exit will trigger for all batch management screens.

Thanks,

Abbu.

0 Kudos

We do not have this enhancement.

Like I said we're on 4.0B

Thanks for all your repies.

I'm running a batch job for every 5 minutes and getting all the mblnr's and reading the cahrecteristics values.