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: 

help needed

Former Member
0 Kudos

Hi i am developing a report where in i have 3 blocks for selection criteria..1st block has drop down menu for carrier service(UPS,FEDEX etc) second one has delivery number and third block has 5 tracking number input ..

PARAMETERS:P_XSITD LIKE ZTRK_PAK-XSITD,

P_SHPACT LIKE ZTRK_PAK-SHIPACCT.

SELECTION-SCREEN:END OF BLOCK B1.

SELECTION-SCREEN:BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS:P_VBELN LIKE ZTRK_PAK-VBELN.

SELECTION-SCREEN:END OF BLOCK B2.

SELECTION-SCREEN:BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.

PARAMETERS:P_TRACN1 LIKE ZTRK_PAK-TRACKN,

P_TRACN2 LIKE ZTRK_PAK-TRACKN,

P_TRACN3 LIKE ZTRK_PAK-TRACKN,

P_TRACN4 LIKE ZTRK_PAK-TRACKN,

P_TRACN5 LIKE ZTRK_PAK-TRACKN.

SELECTION-SCREEN:END OF BLOCK B3.

i need to validate firstly the delivery number..if delievery number is entered validate the tracking number 1.

if tracking number 1 or 2 or 3 or 4 or 5 is entered validate delivery number is not blank.

also validating i need to verify delivery number and each of 5 tracking numbers against a custom table i wud be developing(for ex say ITAB)..if there is a matching betrween a delivery num and a tracking number i need to display image..how can i do it.

how can i do it..i am new to ABAP..someone help me please.

1 ACCEPTED SOLUTION

former_member583013
Active Contributor
0 Kudos

You just ask here...

Don't duplicates post...

Greetings,

Blag.

3 REPLIES 3

former_member583013
Active Contributor
0 Kudos

You just ask here...

Don't duplicates post...

Greetings,

Blag.

0 Kudos

i had few details more added to my query thats why i had to do it..it was not an intentional act

Former Member
0 Kudos

You can use the event called " At selection screen on". Using this you can validate a parameter or the whole block and it would give you the flexability to program it the way you want.

- Guru

Reward points for helpful answers