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

Default Values In Miro Transaction.

madhu_vadlamani
Active Contributor
0 Likes
1,959

Hi All,

I need small help for the badi MRM_HEADER_DEFAULT. This is for Miro tcode.Here I have some requirement. When I open MIRO tcode by default in transaction filed there are some options like credit memo ,invoice. Here the requirement is when I enter credit memo in transaction field the value in the field doc.type should change .Please give me some idea on this.

Regards,

Madhu.

Hi All,

I need small help for the badi MRM_HEADER_DEFAULT. This is for Miro tcode.Here I have some requirement. When I open MIRO tcode by default in transaction filed there are some options like credit memo ,invoice. Here the requirement is when I enter credit memo in transaction field the value in the field doc.type should change .Please give me some idea on this.

Regards,

Madhu.

3 REPLIES 3
Read only

Former Member
0 Likes
1,120

Check this

[;

Read only

former_member182371
Active Contributor
0 Likes
1,120

Hi,

try something like:


      CASE i_rm08m-vorgang.
        WHEN '1'. "Invoice

          CASE i_rbkpv-blart.
            WHEN 'FE'.

            WHEN OTHERS.
              e_blart = 'RE'.
          ENDCASE.

        WHEN '2'. "Credit memo

          CASE i_rbkpv-blart.
            WHEN 'AE'.

            WHEN OTHERS.
              e_blart = 'KG'.
          ENDCASE.

      ENDCASE.

Best regards.

Read only

madhu_vadlamani
Active Contributor
0 Likes
1,120

Issue Resolved.