Application Development 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: 

PO using module pool program

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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