Skip to Content
avatar image
Former Member

Ecatt PFCG Role Change of Organizational Values problem

Hi

I am trying to write an Ecatt script to add company codes to a derived role, i am done writing the ecatt and its working fine, but the problem is when i click on Organization Button in PFCG in Role Edit, i have an arrow button to add new values, when i click that 2 empty rows add at the bottom where new values needs to be entered, when recording i need to scroll down couple of times to go down to the bottom to the empty line, when i run the script its failing because of the 2 scrolls that i do,if i remove these 2 lines it works but i that case its replacing existing org value with a new value, which is not what we want, we want to add new org values, also please note depending on the values sometimes i need to make more than 3-4 scroll clicks to go to the bottom, is there any way to make the system understand that these are simple scrolls and pick the empty line at the bottom,

any help will be appreciated

thanks

srikanth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 24, 2008 at 06:15 AM

    Hi Srikanth,

    After you press the button to add the two rows, you are scrolling down and add the values in the two empty lines. right?

    and then when you execute the script the scroll is not considered and the values are overwritten . right?

    You try this:

    In your script, look for the code:

    BDC_CURSOR T_STORG-BUTTON(01)

    BDC_OKCODE =P001

    add the line:

    BDC_CURSOR HTEXT1

    BDC_OKCODE /00

    If you want 4 empty lines add 2 times, 6 empty lines 3 times etc..

    Save the script, do the test run.

    Let me know if this works for you.

    Regards,

    Srihari

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Srikanth,

      So the problem still persists.. hmm..

      Fine. But let us know once you figure out the solution and do post the corrective actions you have done to make this work.

      Regards,

      Srihari