Skip to Content
avatar image
Former Member

sap script form

hi folks,

I am working on the sapscript form for remuneration statement . I have found the form(Z110_PRENUM_PHC1) and the related print program (ZRFFOUS_C). the issue that I have is the data related to remuneration statement is picking up the right value, somwhere in the statement form for one of the values it is fetching a wrong value.

I need to find that. I know the entire remuneration statement values go into &REGUD-TXTHR& But my question is in that remuneration statement there are alot of values that are retrieved, like Earnings Type, Hours, Amount YTD to name afew, I need one particular field in that. How can i track that?

Any thoughts would really be helpful.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 27, 2006 at 03:27 PM

    HI Vinu,

    If you know that the text has a fixed length allocated to each of the fields you have mentioned, then you can take the offset.

    If you know the field occurs at 25 th character of that text and is of length 12 characters,

    then regud-txthr+25(12) would have the value.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 27, 2006 at 03:32 PM

    HI VInu,

    See the Value in Dubugging mode (Hope you know how to Debug the script), then you will know the value of that field, there see the value which you want to retrive,

    then you can use off set (Field+12(30)), of that field and print that value in the layout



    Add comment
    10|10000 characters needed characters exceeded