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

How to provide F1 & F4 helps for a newly created field.

I have to create a <b>currency field</b> in 0100 screen like skb1-waers.

I have to provide F1 & F4 helps for that field.

Shall I give screen name as SKB1-WAERS ?

I have given as above .

But the problem is when the Processor is processing a that screen , the currency on the screen gets overwritten by another the reference account field in one of the subroutine. Since the screen uses fieldname skb1-waers, it gets overwritten when my code read skb1 table.

Was it right that I used screen name as SKB1-WAERS ( in my screen attributes for that field ) ???

If not suggest me what to do and how to proceed ?

YOUR HELP IS APPRECIATED.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Feb 26, 2007 at 04:05 PM

    You cannot mention screen name as type name.

    instead it should be some user defined name e.g

    Parameters: v_waers like waers.

    Regards,

    Amit

    Reward all helpful replies.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 04:16 PM

    Hi,

    As I have understood u r question...You want to display amount and it's currency on the screen. Then U want to change the currency and then process the PAI.

    For that if u user SKB1-WAERS then it will definately become currency of your current login. If u want to save the changed currency.. Define a separate field for that and save it into the table.

    Hope this will help u.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 04:47 PM

    Sorry . Really I didnot get you ?

    First of all can I give field name as skb1-waers in its attributes screen ?

    If yes, it is getting overwritten some where in my code when I select from skb1 table.

    I am new ? not having that much knowledge on module pool.

    How can I create a field ( currency - skb1-wears)?

    How can I provide F1 & F4 help ?

    How can I take care of not getting over writtten by some other field when saving the screen ..

    If the above is not clear...I will explain again clearly.

    PLEASE HELP .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 04:53 PM

    Hi,

    I would suggest creating a new structure in the DDIC..Then give the field WAERS and give the foreign key table as TCURC..

    Steps

    GO to SE11...select the radio button ..data type... give the structure name...Z_SCREEN_0100.

    Press create ..

    Then give the column name WAERS..

    Give the data element as TCURC.

    Place the cursor on the waers field and press the foreign key button..

    It would automatically propose the table TCURC..

    copy and generate the structure..

    use the structure-fieldname to define the currency field..

    Go to the input field attributes..

    give Z_SCREEN_0100-WAERS..Press enter..It will ask whether the field should be dictionary reference..Press yes to continue..

    In the PBO..

    Move the value from the SKB1 table to the screen structure Z_SCREEN_0100-WAERS

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2007 at 12:45 AM

    Hi Sam Kumar,

    For Creating the F1 help for the field you need to create Documentation for that.

    Select the Field and then select the documentation and edit the documentation as per your requirnment. save it.

    For Creating F4 help you need to create the Foreign key relation ship between the fields of the foreignkey table and the check table. and by this way you can access the related data form the table using the check table entries.

    Reward the points if it is helpful to you.

    Regards,

    ilesh nandaniya

    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.