11-19-2008 4:56 AM
Hi,
I have a requirement for PO.I have create the zscreen following fields PO number PoOrg, Group, etcu2026now customer maintain the data in the ztable. When I click the zscreen tcode ponumber, poorg, group will be displayed, once customer enter the po number, based on the po number I want to pickup from ztable and display all the data to zscreen. Please any one help me and also give me any sample code.
11-19-2008 5:00 AM
Hi,
Write in the PBO of the screen like if you want to display according to PO number then...
LOOP AT SCREEN.
WHEN 'PO_DISPLAY_BUTTON'.
IF SY-TCODE <> 'ZPURDI_47920'.
SCREEN-INVISIBLE = '1'. // to disable the screen elements..
ENDIF.
" Write your select query here for selecting the fields according to the PO number
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
Regards
Mudit