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

Regarding Customer Enhancements

hi all,

I got one requirement like this.

Our Company Customer Sales area data hierarchy is like this.

Sales Office -> Sales Group -> Sales District -> Customer Group1 -> Customer Group2.

Ex : North -> NO1 -> Bihar -> Dl1 -> DLA1 like this.

My Requirement is at the time of creation of Customer Master

If User press f4 help on Customer Group2 and select one record( DLA1) then above all hierachy (all fields ) should be filled on screen ( should be placed values on screen fields).

how can i achieve this.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 06:43 AM

    An example to solve the problem..

    Try like this..

    TABLES : vbrk.

    SELECT-OPTIONS : s_vbeln FOR vbrk-vbeln,

    s_kunrg FOR vbrk-kunrg,

    s_erdat FOR vbrk-erdat MODIF ID DAT. " this is the field u select from F4


    IF NOT s_kunrg IS INITIAL.


    IF screen-group1 EQ 'DAT'.

    """"""" UR CODE to retrieve the data for other fields and ASSIGN them""""""




    Note: I didnt test the code.


    Veeranji Reddy P.

    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.