2007 Aug 11 1:33 PM
FRIENDS IAM ASKED TO
Create a Package ZEMR - DONE
Create the main program ZEMMM0080 DONE
First Screen 100 ( single box to enter the reservation no: RKPF-RSNUM) DONE
Based on this reservation design next screen (200) showing the reservation header (Table - RKPF) with 5 fields only (RSNUM, RSDAT, USNAM, BWART, WEMPF) and below that a item (Table RESB) area where all the items shud be displayed in a table control (with the following fields only RSPOS, MATNR, LGORT, BDMNG, MEINS, ENWRT, (a calculated field say x = BDMNG minus ENWRT).
NOW HOW DO I ACCOMPLISH THIS CAN ANY ONE SEND ME THE COMPLETE STEPS ALONG WITH THE CODING FOR PBO PAI N PLEASE DONT SEND ME ANY LINKS....
PLEASE REPLY ASAP.
REGARDS
Essam
essamsaud@yahoo.co.in
2007 Aug 15 1:20 PM
Hi essam,
i cant write the full code for you.i will give you the steps.
From your question i understood that you are able to create the first screen with reservation number field.
How you are planning to move to net screen?by pressing ENTER or any SUBMIT button in your screen?i assuming you have one submit button.
step1: in the PAI of screen 100 check the OK_CODE = 'SUBMIT'.(Hop you know how to handle OK_CODE).if OK_CODE is SUBMIT then use the statement
CALL SCREEN 200.
Step2:create a structure with field from RESB .then create an internal table with this structure
Step3:create a table control in screen 200 with the newly created internal table.
step4 :dont forget to give loop at it_table .... endloop command in both PBO and PAI of screen 200 (you have to check how table control works in screen)
Step2:In the PBO write one module to get the header value and item value
hop rest you can develop yourself .plz reward points if helpful.for further query update the thread