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

Cursor position on the SAP standard screen.

Hello SAP experts,

How do we know, where the cursor is, on the screen, PO (ME21N). I know this sounds like a basic question, but am not able to find any help on this. I have tried to loop at screen and check for the fieldname, but that worked for me only in the reports. I want to enter data on the sap screens and based on which field the cursor is positioned, I want to carryout certain actions.

Could anyone help me. If anything like this was answered, please help me with the link.

Thanks v much,

Sorab.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2010 at 11:33 PM

    Hi,

    Your question sounds unclear, but the cursor stands in order type BSART.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2010 at 08:43 PM

    Thank you for your answers. Here:

    Let me make it more clear. On the transaction like VA01 OR ME21N, when the user enters data, based on the field the user is keying in the data for , I want to do some validation ( which I am trying to through a BADI ), but since a different validation is done for different fields, I am trying to find which field user is actively working with, in the BADI.

    Hope I am clear now. Do let me know otherwise.

    Thanks much,

    Sorab

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Nabheet Madan

      Hi Nabheet ,

      Thanks for your response. This is what I am trying to do.

      On the ME21N transaction, in the item overview, when I enter an account assignment category(KNTTP) , I want to bring a validated material group(MATKL) help list for the user (corresponding to the acct.asgmt cat.) when they are on the material group field.

      Let me know, if I don't make sense.

      Thanks,

      Sorab

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.