Skip to Content
avatar image
Former Member

PNP HIDING SCREEN ISSUE

I want to hide all the feilds of pnp screen in abap hr  and add my coustomized screen to it .Please help me in that!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Nov 02, 2015 at 12:37 PM

    HI MT,

         If you don't want LDB selection then why you need LDB in your program, could you please detail your requirement.

         However you can use report category '_____000' - No selection criteria for DB PNP.

    Regards,

    Surendra Gupta.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2015 at 12:52 PM

    Well, you could just hide those, use a LOOP AT SCREEN, (once you identify standard LDB selection fields/dynpros (*) ) /or/ remove LDB attribute from you report and manually call LDB_PROCESS to read data.

    Regards,

    Raymond

    (*) or do the opposite, use a modif-id for your fields, and disabled those of standard selection (but not SSCRFIELDS-UCOMM or similar fields)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2015 at 03:09 PM

    Add this code Mayank

    at selection-screen output.

    loop at screen.

         if screen-group2 = 'DBS'.

           screen-active = '0'.

           modify screen.

         endif.

    endloop.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 06, 2015 at 10:43 AM

    Hi MK,

        Have you got solution or still facing issue, let us know accordingly we can guide you.

       Have you tried to use report category '_____000' - No selection criteria for DB PNP.

    Add comment
    10|10000 characters needed characters exceeded