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

MB31 - Posting field

balaji_viswanath
Participant
0 Likes
745

Hi,

How to capture the content of "Posting date" in MB31 transaction. Since Parameter ID is not there I am unable to use get parameter and I have not able to use DYNP_VALUES_READ function also since it's giving run time dump.

Regards,

Balaji Viswanath.

Hi,

How to capture the content of "Posting date" in MB31 transaction. Since Parameter ID is not there I am unable to use get parameter and I have not able to use DYNP_VALUES_READ function also since it's giving run time dump.

Regards,

Balaji Viswanath.

3 REPLIES 3
Read only

Former Member
0 Likes
694

Hello,

This can be achieved by writing a small BDC. Fill up the relavant data on the initial screen of the Tx. MB31 and pass only the OK code of the detailed screen. Make a 'CALL TRANSACTION' in 'E' (ERROR) mode. The control takes you to the second / Detailed screen if the BDC is executed.

The above suggestion is given based on the assumption that you need to call MB31 in a BDC.

<b>However if you are not able to capture the value by FM DYNP_VALUES_READ in an user-exit, you can export the data of the field 'POSTING DATE' to ABAP memory by a Field exit.You can use this exported data whereever you need in the transaction. Please ensure to refresh the abap memory every time.</b>

I hope this helps you.

Regards, Murugesh AS

Message was edited by: Murugesh Arcot

Message was edited by: Murugesh Arcot

Message was edited by: Murugesh Arcot

Message was edited by: Murugesh Arcot

Read only

0 Likes
694

No, I fear I haven't explained properly. I want to access that field in MB31 user exit, based on the field value I have to do some validation.

Regards,

Balaji Viswanath.

Read only

0 Likes
694

EXIT_SAPMM07M_001

Has the MKPF/ BUDAT data , Check if it fires before the exit you are using.

Pass this Information , may be export to memory will still work.

Regards,

Manohar