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

F4 help in the PO date and PO Item for the corresponding PO Number

I have a selection screen 1. PO Number(p_ebeln)(parameter) 2. PO Date(s_budat)(Select-options) 3.PO Item(s_ebelp)(Select-options).What I want is when I am providing a PO(eg.6000001) and then click on the F4 for PO date it will show me ONLY the BUDAT for the corresponding PO I have provided in the PO parameter(eg.6000001) and when I press F4 in the PO Item it will show me those PO ITEM which ONLY exist for the corresponding PO I have provided in the PO parameter(eg.6000001).

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 05, 2010 at 07:58 PM

    Hi,

    If my understand your question correctly, You want to use the PO entered by user to select the date and item numbers in subsequent select-options.

    Here is what you can do to achieve this:

    1. You have to make use of AT SELECTION-SCREEN ON VALUE REQUEST for date and item numbers.

    2. Read the PO number provided by user by using FM DYNP_VALUES_READ

    3. From the PO number select date and item numbers from EKKO&EKPO.

    4.Use the FM F4IF_INT_TABLE_VALUE_REQUEST to set the values coming when user press F4

    You can refer following article also for code samples:

    Link: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a07a330f-126c-2910-c684-d2a45f0f37dd

    let me know if this helps.

    Thanks,

    Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2010 at 01:51 PM

    Thanks now its working properly.

    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.