Add custom fields in standard MIRO header screen through BADI_FDCB_SUBBAS01

Add custom fields in standard MIRO header screen through BADI_FDCB_SUBBAS01. Here, I would tell the best way to add custom fields in the standard SAP MIRO header screen utilizing BADI ‘BADI_FDCB_SUBBAS01’.

Recompense and Seller Receipt IDoc number are the two custom fields included MIRO header.

BADI implementation steps and configuration of custom subscreen:

1) Execution of this BADI BADI_FDCB_SUBBAS01 is bit interesting. We need to make one custom execution to add the new custom fields (SAP has given model executions to our reference). There are two techniques PUT_DATA_TO_SCREEN_OBJECT and GET_DATA_FROM_SCREEN_OBJECT to put and get information to and from MIRO screen.

2) We need to arrange Subscreens for the new custom fields.

Go to the Subscreens Tab in the made Execution.

The Subscreen region section program ought to be SUBBAS01(check the model execution for reference). The Program called segment program ‘SAPLZO_CUSTOM_FIELD_IN_MIRO’ is custom module pool program which is a duplicate of standard SAP model program ‘SAPLBADI_EXAMPLE_FDCB_BAS’.

The Screen Number is 900 will hold the new custom fields, which is available in called program ‘SAPLZO_CUSTOM_FIELD_IN_MIRO’.

Append new custom fields:

Say the new fields are ZZ_ALLOWANCE and ZZ_IDOCNUM. Since these two fields are to be added to the MIRO header, we must be affix these fields into table RBKP, structures INVFO, ACMM_VENDOR_COMP (as displayed underneath). These designs and tables would be utilized in the BADI execution to add the new fields in the MIRO screen.

Code snippet to enhance the screen:

As referenced before, we need to make a module pool custom program and join as sub-screen. For the simplicity of improvement, we can duplicate the SAP standard program SAPLBADI_EXAMPLE_FDCB_BAS and make change in that program.

Eliminate the fields from the model screen and add the custom fields which we need to include MIRO.

The standard SAP model is adding Parts Number. We need to remark it and add our new custom fields as featured beneath.


Result of the above implementation:

With the above straightforward advances, you would have the option to upgrade the standard SAP MIRO screen.

The custom fields would be saved in the standard SAP table RBKP.

One of our peruser couldn’t save the information in RBKP table. He missed to add the code in the two strategies. Kindly check assuming that you likewise need to add rationale in the beneath techniques..

method IF_EX_BADI_FDCB_SUBBAS01~PUT_DATA_TO_SCREEN_OBJECT .

* fill interface attributes from importing paramters
me->if_ex_badi_fdcb_subbas01~invfo  = im_invfo.

endmethod.

method IF_EX_BADI_FDCB_SUBBAS01~GET_DATA_FROM_SCREEN_OBJECT .

* fill export parameters from interface attributes
ex_invfo  = me->if_ex_badi_fdcb_subbas01~invfo.

endmethod.

YOU MAY BE INTERESTED IN

Modify the run-time value of workflow containers

Triggering Workflow using Business Transaction Events

Create and Consume Business Add-in(BAdI) in ABAP

  • Related Posts

    Managing Change During SAP Automation Rollouts

    Implementing SAP automation can transform an organization’s efficiency, accuracy, and speed. But despite the enormous benefits, many teams struggle not with the automation itself but with the change that comes…

    ECC Support End – What SAP Professionals Must Do

    The SAP ecosystem is undergoing one of its biggest transformations in decades. The ECC support end announcement has created urgency for companies and professionals who have relied on SAP ECC…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    Managing Change During SAP Automation Rollouts

    • By Varad
    • May 2, 2026
    • 371 views
    Managing Change During SAP Automation Rollouts

    ECC Support End – What SAP Professionals Must Do

    • By Varad
    • May 1, 2026
    • 370 views
    ECC Support End – What SAP Professionals Must Do

    SAP BTP Architecture for Future Projects – A Beginner’s Guide

    • By Varad
    • April 30, 2026
    • 466 views
    SAP BTP Architecture for Future Projects – A Beginner’s Guide

    Using GraphRAG and Hybrid RAG in Enterprise Applications with SAP

    • By Varad
    • April 29, 2026
    • 772 views
    Using GraphRAG and Hybrid RAG in Enterprise Applications with SAP

    SAP ABAP on HANA: Skills You Must Learn in 2026

    • By Varad
    • April 28, 2026
    • 592 views
    SAP ABAP on HANA: Skills You Must Learn in 2026

    SAP ABAP Best Coding Practices for Freshers

    • By Varad
    • April 27, 2026
    • 412 views
    SAP ABAP Best Coding Practices for Freshers