Skip to Content
author's profile photo Former Member
Former Member

help needed

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:40 PM

    You just ask here...

    selection screen validation

    Don't duplicates post...

    Greetings,

    Blag.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:40 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.