2012 Oct 18 1:58 PM
Hi Friends,
For Tcode CO02, i need to write BDC program, We had a customised screen in CO02.
some fields in custom screen are in Grey mode.
in my case, i need to write a bdc program that should allow me to fill data in those Grey Mode fields.
Please help me in this regard.
Thanks in Advance.
Ravi.
2012 Oct 18 2:04 PM
Hi
If you're speaking about a screen-exit, you need to manage it in the PBO of that screen in order to change the status of the I/O field:
IF SY-BINPT = 'X'.
LOOP AT SCREEN.
SCREEN-INPUT = 1.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
In this way if the program is submitted to a batch input, the fields will be available for input
Max
Hi Friends,
For Tcode CO02, i need to write BDC program, We had a customised screen in CO02.
some fields in custom screen are in Grey mode.
in my case, i need to write a bdc program that should allow me to fill data in those Grey Mode fields.
Please help me in this regard.
Thanks in Advance.
Ravi.
2012 Oct 18 2:01 PM
Hello,
For this, you can pass the BDC data to the local fields which are used on screen. or
Please create export and import memory id statements.
2012 Oct 18 2:04 PM
Hi
If you're speaking about a screen-exit, you need to manage it in the PBO of that screen in order to change the status of the I/O field:
IF SY-BINPT = 'X'.
LOOP AT SCREEN.
SCREEN-INPUT = 1.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
In this way if the program is submitted to a batch input, the fields will be available for input
Max
2012 Oct 18 2:24 PM
Hi Max,
Thanks for your reply,
Yes you are right, but i need to change these fields to active mode while running the bdc program.
and after filling the data, it should go to grey mode again.
Thanks.
2012 Oct 18 3:01 PM
Hi
The system variable SY-BINPT indicates if a program wokrs in "BDC" way
Max
2012 Oct 19 6:18 AM
Hi Max,
Its working fine and problem solved.
Thank you for your timely help.
Regards,
Ravi Kallem
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |