2009 Jul 02 3:37 PM
Hi,
I need to have a default value for text field under basic data tab in MIRO T CODE
I found MRM_HEADER_DEFAULT BADI but again it doesnot have Text field as exporting
1) Its ok if i get a hard coded default value which would display the moment i enter MIRO
OR
2) It is also ok if enter date fields and hit enter to get the Text FIELD
I had checked lot of BADI but there no methods with Text Exporting as parameters in their signatures
Can anyone tell me how to go about this
Thanks
Venki
2009 Jul 03 7:58 AM
Hi,
in badi MRM_HEADER_DEFAULT BADI you could do something
via field-symbols e.g.:
IF I_RBKPV-SGTXT IS INITIAL.
CONSTANTS: c_sgtxt(21) TYPE c VALUE '(SAPLFDCB)INVFO-SGTXT'.
FIELD-SYMBOLS: <fs_sgtxt> TYPE ANY.
ASSIGN (c_sgtxt) TO <fs_sgtxt>.
<fs_sgtxt> = 'YOURDEFAULTVALUE'.
ENDIF.
Best regards.
Hi,
I need to have a default value for text field under basic data tab in MIRO T CODE
I found MRM_HEADER_DEFAULT BADI but again it doesnot have Text field as exporting
1) Its ok if i get a hard coded default value which would display the moment i enter MIRO
OR
2) It is also ok if enter date fields and hit enter to get the Text FIELD
I had checked lot of BADI but there no methods with Text Exporting as parameters in their signatures
Can anyone tell me how to go about this
Thanks
Venki
2009 Jul 03 7:58 AM
Hi,
in badi MRM_HEADER_DEFAULT BADI you could do something
via field-symbols e.g.:
IF I_RBKPV-SGTXT IS INITIAL.
CONSTANTS: c_sgtxt(21) TYPE c VALUE '(SAPLFDCB)INVFO-SGTXT'.
FIELD-SYMBOLS: <fs_sgtxt> TYPE ANY.
ASSIGN (c_sgtxt) TO <fs_sgtxt>.
<fs_sgtxt> = 'YOURDEFAULTVALUE'.
ENDIF.
Best regards.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |