Create a screen by  teh help of pnp  ldb

hi  expert ,
                       i   have   a file ( new hire file )
New Hire file:  This interface program will be scheduled to run in the background and all the mandatory fields will be defaulted as shown below. End date will be defaulted with system current date and Begin date will be defaulted with CURRENT DATE – 7 DAYS. The selection criteria can be changed for testing purposes and can be further be extended by using the logical database PNP. A report category should be created for LDB PNP.  but  i  don't   find  MOLGA  in pa0001 , so  please  give the code for this screen.
  Screen Field       Description
             TYPE      Reference Field     Comments
   S_MOLGA     Country key       Select option     PA0001-MOLGA     Mandatory. Default with ‘10’
   S_PERSG      Employee group       Select option     PA0001-PERSG     Mandatory. Default with ‘1’
   S_PERNR     Employee       Select option     PA0001-PERNR     Optional
    P_BEGDA     Begin date       Parameter      SY-DATUM     Mandatory. Default with SY-DATUM – 7
   P_ENDDA     End date       Parameter     SY-DATUM     Mandatory. Default with SY-DATUM
thanks.

Hi
You have to create a separate HR report Category in the report of PNP LDB and use
From the program attributes after assigning the LDB PNP you will get the Report Category in the down.
click on it
and check for the related fields
and you can modify the report category by making some fields disable so that you will get the required fields on the selection screen.
MOLGA is not there in PA0001
it is there in T500L,T500T, T500P and HRP1005  tables
take from it
<b>Reward points for useful Answers</b>
Regards
Anji

Similar Messages

  • How to avoid default selection screen in HR interfaces(using pnp ldbs)

    How to avoid default selection screen in HR interfaces(using pnp ldbs)

    Dear Rakesh,
    The report category is used to change the selection screen of programs that use the 'PNP' logical database.
    See links bellow:
    http://www.sapdevelopment.co.uk/hr/hr_repcat.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/229357553611d3967f00a0c9306433/frameset.htm
    Report categories for selection screen in HR programming
    Also visit the following blog:
    /people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports
    Regards,
    Naveen.

  • Need Help to create new screen for RF Sapconsole

    Hi Guru's
    I'm new on RF (but some years in ABAP) since last week.
    I need help to create new screens for RF (SAPLLMOB).
    Can someone explain me the procedure to create screen (with ABAP code after) or perhaps someone have an exemple (simple or not) ?
    I have to develop 2 new screens with really few time.
    And, another subsidiary question :
    how SAP can transfert information between the flash gun and the screen i have developped.
    Is there some code to add to enable this functionality or it is include in SAPLLMOB on standard fields ????
    It's a new strange world for me today...
    Many thanks to everyone who can explain me
    Alain

    hi,
    I am facing this problem as well. Is there any reference to create the new screen?
    Hope someone can help! Thanks!
    Regards,
    Darren

  • Selection screen validation when using PNP LDB

    Hi guys,
    I want to validate my selection screen parameters.Thats is if somebody wants to run the program without giving any input parameters to the selection screen(trying to run the report with a blank screen) I want to pop up an error/information message so that it will return the selection screen.I am using PNP Logical database for my selection screen.Please help.Thanks in advance.
    Thanks,
    Karthik.

    Welcome to SDN.
    If you are using PNP logical data base then validating the fields will be little tricky...
    You canc check all the other fields in START-OF-SELECTION and if they are empty return eroor. Remember all the field s on the scree... so I will suggest you to choose HR report Category accordingly.
    Also,when it comes to date field then you need to check for the start and end dates rather than blank fields as SAP defaulted them to system start and end date.
    Still, I will prefer to create a HE Report Category for the PNP database and use the screen while validating....that will be easy...

  • Material not getting displayed in create asn screen

    Hi All,
    We are not able to see the material under create asn screen in SUS tho the same appears wen we open the PO in SUS.Also,please let me know which function module in sus governs the display of material in create asn screen
    Thanks,
    Manu

    Hi Jeetu,
    can you check in your cube if you have for one material, entries with AND entries without the MATL_TYPE? If this is the case then you were loading transactional data before having the corresponding material master data.
    You should adapt your scenario:
    - first do not use the standard attribute derivation during your URules: performance is very bad.
    - implement a start routine filling an internal table with your material and MATL_TYPE for all entries of material in your datapackage.
    - implement an update routine on the MATL_TYPE with a READ on this internal table an raise an ABORT = 4 if the MATL_TYPE is initial or the material in not found.
    Now to fix your situation you'll have to reload your cube or alternatively just reload your missing MATL_TYPE MATERIAL from your cube itself and selective delete those which are empty.
    hope this helps...
    Olivier.

  • Getting values from screen to search help exit

    Hi Experts,
    I have created a search help in which I am not using selection method but search help exit. Dialog type is 'Dialog with value restriction'. My requirement is to get the values entered in restriction screen into search help exit. Please suggest a parameter which will hold this value in search help exit function module.

    Hi M,
    As you know there are 5 steps in search help exit. For each step, the values in parameter of your search help exit is different.
    For your requirement, you need process in step 'DISP', and get the selection value from 'SHLP-SELOPT'.
    Example:
    *Build range for customer number 
    LOOP AT shlp-selopt INTO ls_selopt WHERE shlpfield = 'KUNNR'.   
      lr_kunnr-sign = ls_selopt-sign.   
      lr_kunnr-option = ls_selopt-option.   
      lr_kunnr-low = ls_selopt-low.   
      lr_kunnr-high = ls_selopt-high.   
    APPEND lr_kunnr.   
    CLEAR: lr_kunnr. 
    ENDLOOP.
    Then using the lr_kunnr range in your select statement.
    regards,
    Archer

  • Create support desk message through "Help"

    Dear friends,
       I am creating support desk message in my Sol Man system through "Help" menu. At that time, system automatically calling transaction type "SLF1".
    Now i have created the new transaction type "ZZSL" by copying from SLF1.
    Now i want the system to call the new transaction type "ZZSL", when i create a support ticket through "Help".
    How to enable this?
    Please guide me on this.
    Regadrs
    Senthil

    Dear Anand,
       Thank you for the reply. But this one will work, if i create a support desk message through t.code NOTIF_CREATE.
    But i am NOT creating the support desk message through the transaction NOTIF_CREATE.
    I think you are of aware of creating the support desk message through "Help" menu.
    At that time i want to link transaction type "ZZSL".
    or..can u give u mail ID ..i will send the screen shots
    Senthil

  • Issue in Creating a screen variant for FV50 through SHD0

    Hi,
    I need to create a Screen variant for FV50 to hide the post button through the Transaction SHD0, It was working fine and the function keys BU and BS  i disabled in the variant, but the problem is when i disabled the Function keys from FV50 it is not allowing me to post the transaction in FBV0 also. I found that T code FV50 is using the program :SAPMF05A  and FBV0 is using : SAPMF05V.
    Is there any way to overcome the issue through the transaction SHD0 ?
    Regards
    San

    Hi,
    To Create  aVariant You can use Tcode : SHD0.
    Provide the tocde and clik on Screen variant and create...
    You can follow the below link as Reference ..
    Link:[http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm]
    Hope it helps you.
    Thanks
    Arbind

  • HR-ABAP: Defaulting Radio Button on Selection Screen of PNP LDB

    Hi all,
    I am using PNP LDB (Logical Database) for program which is used for Payroll Results.
    Now I have a requirement wherein it is necessary to select 'Up to today' as default on the selection screen.
    We are having 4.7C version of SAP. I tried following code in INITIALIZATION event:
    Initializing Selection Screen Data Selection Option to 'Up To Today'
    INITIALIZATION:
      MOVE:  'X'    TO    pnptimr4, " This is the option which I want as Default selection.
             space  TO    pnptimr1,
             space  TO    pnptimr2,
             space  TO    pnptimr3,
             space  TO    pnptimr5,
             space  TO    pnptimr6.
    But still I dont see this Radiobutton getting selected as Default selection while running the program.
    By Default it selects Option : 'Other Period' (pnptimr6).
    Any Idea how to resolve this ??
    Regards,
    Avinash

    hi...
    When the INITIALIZATION event occurs, you can set default values for the selection screen.
    The fields for the data selection are defined in structure QPPNP.
    Possible values for field PNPTIMED are:
    D     =      Today (key date)
    M     =     Current month
    Y     =     Current year
    P     =     To current date
    F     =     From today (from current date)
    The person selection fields are defined in include program DBPNPSEL. They are internal tables that must be filled using APPEND.
    so in intialization you have to write code as
    PNPTIMED : P.
    so up date will be defaulted in selection screen.
    award points if helpful.

  • RE:pnp LDB selection screen problem

    hi,
    hi friends iam facing one problem regarding hr ABAP selection screen ,in my program iam using PNP LDB for bonus details report
    i have using selection screen declaration present for single selection.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006.
    SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION,
    S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION,
    S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION,
    S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
    S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.
    SELECTION-SCREEN END OF BLOCK B3.
    based on this selection iam fetching the information from infotypes using macros.
    now my requirement is iam fetch the information for multiple selections means like payroll areas z1,z2 and z3 payroll informations
    should be fetching once. pls any body knows solution please give me reply.
    thanks & regards,
    mgrao.

    hi jain thanks for your reply, iam already created report category and assigned my report. here iam giving my report selection
    declerations fully   below.
          S E L E C T I O N       S C R E E N                           *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001. " DECLEARED REPORT CODE LEVEL
    SELECT-OPTIONS: S_DATE   FOR SY-DATUM NO-EXTENSION.    "Bonus for Financial Year
    PARAMETERS:     P_BDATE  TYPE SY-DATUM OBLIGATORY,     "Bous payed as on
                    P_WKDAYS TYPE CHAR6.                                            "No.of Working Days     
    SELECTION-SCREEN END OF BLOCK B1.
    *SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-006.    " COMMENTED report level TAKING FROM LDB PNP    
    *SELECT-OPTIONS: S_ABKRS FOR P0001-ABKRS NO INTERVALS NO-EXTENSION,     "  Payroll area
                   S_WERKS FOR P0001-WERKS NO INTERVALS NO-EXTENSION,                       Personnel area   
                   S_BTRTL FOR P0001-BTRTL NO INTERVALS NO-EXTENSION,                          Personnel  sub area        
                   S_PERSG FOR P0001-PERSG NO INTERVALS NO-EXTENSION,
                   S_PERSK FOR P0001-PERSK NO INTERVALS NO-EXTENSION.   
    *SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002. "REPORT CODE LEVEL SELECTION
    PARAMETERS: P_FORMCP TYPE PIN_RATE, " char6,    "Form C %    
                P_FORMEP TYPE PIN_RATE, " char6,                 "Exgratia %
                P_FORMBP TYPE PIN_RATE. " char6 .               "Bonus %   
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-004.
    PARAMETERS: L_REPORT TYPE ZHRD_FORMC AS LISTBOX VISIBLE LENGTH 40 OBLIGATORY . Report for list box   1 form c
    SELECTION-SCREEN END OF BLOCK B4.                                                                                2 exgratia
    the above selection is iam used first, now iam commented BLOCK B3 SELECTION  PARAMETERS  and taking the parameters from REPORT CATEGORY  ASSINGN MENT.
    MY PROBLEM  is if i select one payroll area example z1 it showing all pay roll employees bonus details it is not filter the remaining payroll areas my requirement is what are the payrolls iam  selecting  those pay roll area details only displaying.
    data fetching from  INFOTYPES 0001,0002,0021 AND 9150 FOR BONUS DETAILS and out put is classical report format.
    please kindly give the reply if you knows the solution.
    thanks & regards ,
    mgr.

  • Selection screen as Subscreen help required

    Hello All,
    I am facing a problem by calling selection screen as subscreen, Here is my problem
    In my main screen i have create a sub screen as search help
    so in my sub-screen i have select-options
    If i click the button to include and exclude some values i don't see  the dailog box for selections is not appearing.
    Please provide help. I need to allow the user to enter some n values?
    Regards,
    Lisa

    Hi,
    There is a small mistake that you are doing..
    In the subscreen donot create the select options... What you need to do is... in the TOP Include write lines like..
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECT-OPTIONS s_proj FOR zimple_crmt_1000-title_part.
    SELECT-OPTIONS s_cr      FOR crmd_orderadm_h-object_id.
    SELECTION-SCREEN END OF SCREEN 1010 .
    Then.. in the screen where you have subscreen to be included write
    PBO
    CALL SUBSCREEN subs_1010 INCLUDING sy-repid '1010'.
    PAI
    CALL SUBSCREEN subs_1010.
    By doing this... the select option will appear on your subscreen with the extension and interval options.
    All the best.

  • IMessage stopped working on iOS 5.1.1 after I set up a new Apple ID.  After logging in, it keeps cycling back to the "create ID" screen.  Apple's verified my new ID. I've reset the iPod (3) times--no luck.

    iMessage stopped working on iOS 5.1.1 after I set up a new Apple ID.  After logging in, it keeps cycling back to the "create ID" screen.  Apple's verified my new ID. I've reset the iPod (3) times--no luck.

    I solved my problem by Resetting my iPod and then Restoring my files.  Only speed bump was losing two apps in the Restore, as the current versions now require iOS 7.1, minimum.  Apple makes Reset and Restore (two processes) painless with these Help articles:  "Use iTunes to restore your iOS device to factory settings," and "Back up and restore your iPhone, iPad, or iPod Touch using iCloud or iTunes."  The Restore took a while to synch my photos and iTunes libraries.

  • Screen Painter - search help for field

    Hello All,
    I have some fields in a screen created with Screen Painter.
    The filelds's types are standard system types like BU_PARTNER or other.
    How do I have to define them so that in the screen to appear the match code?
    Thank you very much,
    Diana.

    Hi Diana Cotelea,
    You can use standard search help 'BUPA'.
    Do as follows,
    1. Goto 'Dict' tab of the property of BU_PARTNER field in your screen, in 'Search Help' property enter the search help name 'BUPA'.
    2. Goto 'Program' tab, for 'Poss. Entries Key' property select 2 or 3 from its DropDowm List values.
    Try this.
    Regards,
    R.Nagarajan.

  • Creating a screen in report program and calling that screen in program.

    Hi,
    I have a report program and I want to give output in different screen.
    can any one tell me how to create a screen in executable program and calling that screen in program in END-OF-SELECTION for displaying results.
    Thanks a lot.
    Kiran

    Hi,
      Open your program in SE80. Right click on your program. Click CREATE->Screen menu. This will allow you to create screen for the program. 
    In the End-of-selection event call the screen using the  commands CALL SCREEN or LEAVE TO SCREEN or SET SCREEN.
    CALL SCREEN
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba4e635c111d1829f0000e829fbfe/content.htm
    LEAVE SCREEN/SET SCREEN
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbab3635c111d1829f0000e829fbfe/content.htm
    Regards,
    Vara

  • How to create dynamic screen using module pool programming

    Hi,
    Could anybody help me how to create dynamic screens?
    I am developing a screen with HR Person with assignment info. If PERNR have multiple assignments, i need to show all the details one by one. How to show the details on screen. I need to call one by one assignment information dynamically.
    Please suggest me how to do, apart from using table controls.
    Thanks,
    Kamal

    You may have the below options:
    1) Table Control
    2) Individual fields
    3) ALV
    4) pop-up screen

Maybe you are looking for

  • Data overwriting n not getting displayed in seperate ro

    Hi Experts, I have a very simple doubt here. I have two popups with me. Say popup1 and popup2. Both are tables. popup2 opens through popup1. I have some data in popup2 which i have to pass to popup1. I select one row in popup2 and pass the same to po

  • Express XY plot - Overplot timeline

    I tried to plot a graph using the XY Express. The X axis is a timeline. The problem starts to occur after 5 minutes. The X axis (timeline) doesn't move itself, but for instance, there is no problem if the timeline axis moves. The past is not too impo

  • How do I  save project and update changes in MAC and extternal drive

    I make music on my IMAC> I have an extrenal hard drive for extra storage and backup. Say I make Song A and save it onto my docs in the Mac.....how do I create a backup of that project to be placed in the exteranl drive, and in future sessions, I will

  • RFC Sender - HTTP receiver

    Hi all, my scenario is the following : BAPI -> XI -> HTTP In my understanding, if I have a BAPI as sender, my scenario has to be synchronous. Is it correct ? The BAPI sends Purchase Orders. When we send one, everything seems OK on the sender side. In

  • Faces is now a per-Library setting

    According to this KB article: Faces In Aperture, it is possible to turn off faces on a per-library basis. I'm still seeing the old preferences checkbox, but having turned it off in one Library and opened another, the checkbox was checked.  So apparen