Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

KSU1 & KSV1 - Add custom fields

ashiqali_ratnani
Explorer
0 Kudos

Hi,

I have a requirement to add custom fields on to the standard transactions KSU1 & KSV1.

If any one has done this before or has any information on how this can be achieved. please reply.

Thanks,

Ashiq Ali

5 REPLIES 5

Former Member
0 Kudos

Hello Ashiq Ali,

I'm having the same requirement.

By any chance founded how to do it?

Thanks

Gastón

0 Kudos

Hi Ashiq and Gastón,

Any news about this requirement?

Thanks

Mario Olympio Vasconcelos

0 Kudos

Hi Ashiq,

Any news about this requirement?

Thanks

Mario Olympio Vasconcelos

0 Kudos

Hi Alex,

We decided to change the process, so i had no longer to apply this requirement.

The only way i found to fix it but never got to implement it is to do it manually or a batch input.

Regards.

0 Kudos

Although, I also did not implement this. But i found that this could be done by following some steps. Since its been a long time, i dont have the exact details. Just have the following notes which could help:


1) Create Append structure in table CCSS

2) Add field in the append strucutre

3) in the Table T811i have entries for the custom field.

Check entries in tables: T1862X, T162K

I had written the following piece of code in an enhancement which i dont remember as to where:


        it_t162x TYPE STANDARD TABLE OF t162x,

        wa_t162x TYPE t162x,

        wa_t162k TYPE t162k.

*--Get values from the customizing tables to check if the

*--custom fields are open for entry or not.

  SELECT * FROM t162x

           INTO TABLE it_t162x

           WHERE spras EQ 'EN'

             AND fautb = '2'.

  SELECT SINGLE * FROM t162k

         INTO wa_t162k

         WHERE knttp = 'X'.

*--Check if the field is displayed or not..

*--if not displayed then do not validate the field.

    READ TABLE it_t162x INTO wa_t162k WITH KEY fautx = lv_field_desc.

    IF sy-subrc EQ 0.

      wa_t162x-faunr = wa_t162x-faunr - '1'.

      IF wa_t162x-faunr GT '70'.

        wa_t162x-faunr = wa_t162x-faunr - '70'.

        IF wa_t162k-faus2+wa_t162x-faunr(1) NE '.' AND

           wa_t162k-faus2+wa_t162x-faunr(1) NE '+'.

          CONTINUE.

        ENDIF.

      ENDIF.

    ENDIF.