SUBMIT PNP LDB with TIMR6 as 'X'

Hi
I am submitting a standard prog which is having a PNP selection screen using SUBMIT with selection table.
I need to pass TIMR6 ie other keydate as 'X', but it is not being passed to the standard prog.
TIMR1 ( Today ) is getting selected. Please help
Regards
Manu

What standard report is it? How do you call it from your abap logic: is it thru call transaction or submit and retunr sentences?
Follwing code works fine for me 100%:
          SUBMIT (lv_programm)
                  WITH pnpxbwbk IN so_xbwbk
                  WITH pnpbegda EQ pv_begda
                  WITH pnpendda EQ pv_endda
                  WITH pnpbukrs IN so_bukrs
                  WITH pnpabkrs IN so_abkrs
                  WITH pnppernr IN so_pernr
                  WITH pnpstat2 IN so_stat2
                  WITH pnptimr6 EQ checked
                  WITH sv_slog  EQ space
                  WITH sv_smrt  EQ checked
                  WITH pv_log   EQ pv_log
                  AND RETURN.
Hope it helps.

Similar Messages

  • Submit a PNP Report with A Radiobutton Parameter

    Hi,
    i have a fm to submit a PNP report, i sent selection options parameters but radiobutton parameter wasn't sent.
    FUNCTION ZHR_SUBMIT_TO_ZHRSABORDROWDA.
         submit ZHRSABORDROWDA
                WITH wdaflag  = 1
                WITH pnppernr in personel
                WITH PNPBUKRS in SIRKET_K
                WITH PNPWERKS in PERALAN
                WITH PNPBTRTL in PERALTA
                WITH PNPPERSG in CALIALG
                WITH PNPPERSK in CALIALT
                WITH PNPABKRS in BORDROA
                WITH PNPKOSTL in MASRAFY
                WITH PNPTIMR4 = 'X'                         " pnp radiobutton
                WITH P_FPPER  = period
          AND RETURN
    ENDFUNCTION.
    How can i send parameter to pnp radiobutton with submit?
    Can somebody help me pls?
    Thanks

    Yes i solved my problem with that method;
    DATA : SEL_TAB TYPE RSPARAMS OCCURS 0 WITH HEADER LINE.
      CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          CURR_REPORT           = 'ZHRSABORDROWDA'
    * IMPORTING
    *   SP                    =
        TABLES
          SELECTION_TABLE       = SEL_TAB
    EXCEPTIONS
       NOT_FOUND             = 1
       NO_REPORT             = 2
       OTHERS                = 3
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT SEL_TAB.
        CASE SEL_TAB-SELNAME.
          WHEN 'PNPPERNR'.
            READ TABLE personel INDEX 1.
              MOVE-CORRESPONDING personel to SEL_TAB.
              MODIFY SEL_TAB.
    ENDLOOP.
      SUBMIT ZHRSABORDROWDA WITH SELECTION-TABLE SEL_TAB AND RETURN.
    i hope it will help you.
    Thanks.

  • Set variant for PNP LDB select option of pernr

    Hi All,
    I want to set variant for PERNR of PNP LDB in one of the program through other program using RS_CREATE_VARIANT FM.
    Please help to solve this problem.
    Thanks,
    Shailesh S. Malkar.

    REPORT  ZTEST.                   .
    tables: pa0003.
    ranges pernr for pa0003-pernr.
    * Fill neccesary PERNRs
    pernr-low = 1000.
    pernr-sign = 'I'.
    pernr-option = 'EQ'.
    append pernr.
    pernr-low = 1112.
    pernr-sign = 'I'.
    pernr-option = 'EQ'.
    append pernr.
    SUBMIT RHINTE00 WITH PNPPERNR IN PERNR.

  • 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.

  • 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.

  • 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

  • Hidden fields on PNP LDB

    Hi guys,
    Is that possible to show hidden fields from PNP LDB, before user have to make any interference? I mean, when I execute program related to PNP,  on selection screen at first time I get, for example, werks that is not on standard showing. I have tried "modify screen" strategy but it did not work.
    Thanks anyway.

    Hi.
    Try using a variant.
    First create the layout you want to display, the variant.
    Then save it.
    Call the variant in the source code.
    Don't forget to create the variant all over again, when you migrate from one enviroment to another. The variants are not transportable.
    after creating the variant, in the selection screen, paste this code in your report,
    and replace /GERAL with your variant name.
    DATA gs_variant LIKE disvariant.
    clear gs_variant  .
    gs_variant-report = sy-repid.
    gs_variant-variant = '/GERAL1'.  "the name of the variant must begin with /
    hope it solves it.
    Filipe Guerra

  • Asynchronous SUBMIT or CALL WITH creation of NEW SESSION

    I'm doing monotonous comparisons between systems, but I do need to see the SAP standard comparison for each. So I have an ALV list that I'd like to double click a line entry that will spawn 3 NEW SESSIONS and I'll automatically populate the parameters.
    So, has anyone been able to SUBMIT or CALL WITH THE KEY BEING THAT IT MUST CREATE 3 NEW ASYNCHRONOUS SESSIONS. I'd be grateful if you'd share your experience in this regard. Thank you, Adrian

    Hi,
    You can try in this way.
    Create a new FM and place your code there. Call this FM using addition STARTING NEW TASK. It should work fine.
    Check out F1 help on CALL FUNCTION for more details and additions.
    Thanks,
    Vinod.

  • How to submit an email with a header/footer in the body of the email?

    I'm trying to submit an email with a PDF attachment but needs to have a static header and footer in the the body of the email before sending it.  How would this be done and is it possible to do this? I'm new at this and not sure how to even start this.  Any help with this is greatly appreciated.  Thank you.

    You can put info into the body of the email but you are limited on formatting it. Here is a post from Stefan Cameron with sample that I think will really help you.
    http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/

  • 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.

  • This bundle is invalid - New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software

    Does anyone can help me on this issue from Apple Developer?
    This bundle is invalid - New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software
    Is there a new Flash CC - Adobe AIR SDK to solve this?
    Best

    Looks like there's some hope:
    Re: App Store must be built with Xcode 5.1.1 or later !

  • URGENT( PNP LDB SELECTION SCREEN )

    hiiiii,
    can anyone tell about the field PNPDISBD of pnp LDB in sap-hr , and why it is used. Is There any field on selection screen related to this when we use pnp LDB.

    Hi,
    PNPDISBD is nothing but a date.
    Go to SE38 and open the report SAPDBPNP.
    And search for the field PNPDISBD then you will come to know its functionality.

  • Pnp ldb selection screen

    Hi ,
    How to omit few fields in data selection period of pnp selection screen.

    You can disable the selection screen element in at selection screen output event.
    Ex: The following code has been written for one of the FI related ldb.
    Check the field names of pnp ldb in debugging mode and use it.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP3 = 'IXS'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-GROUP4 = '023'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DD_BUKRS-LOW'.
          SCREEN-REQUIRED = '1'.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DD_BUKRS-HIGH'.
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF ( SCREEN-GROUP3 = 'VPU'
            AND SCREEN-GROUP4 = '007' ).
          SCREEN-ACTIVE = '0'.
          SCREEN-INVISIBLE = 1.
          MODIFY SCREEN.
          CONTINUE.
        ELSEIF SCREEN-NAME = 'DUEDATE1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
          CONTINUE.
        ENDIF.
      ENDLOOP.

  • Reg:Modification of HR Report Category in PNP LDB.

    Hi All,
    My requirement is to modify the selection screen of  PNP LDB, in the report category we used to give the required selection screen.suppose i want to use the Report category as HRIN0000 and want to hide payroll area.
    please help me about this.
    Thanks in Advance
    Regards
    Srinivas

    Hi,
    Go to Tcode SE36 -->LDB PNP >Extras>Select view
    Dispaly the function group.If it does not exit create a new function group and assign the fields need to be displayed
    Field that have no fuction can be suppresed in the output.
    I hope this may helpfull.
    Thanks,
    AMS

  • PNP LDB

    Hi Abapers,
    I have used Standard PNP LDB in selection screen of my report, there is one button called 'org. structure' in standard Screen if u observe.. now my requirement is to create a new button 'SBU' just like the existing one.  by clicking on this button i should get modal dialog box where hierarchy should be displayed which is similar to org. structure...
    kindly help me... its urgent.....

    Hi Premraj ,
       Open the program in SE80 and there you can see the screen no 1000 , this is your selection screen.
    Go to this screen and add the new button you want to add , and in the PAI of the screen add a new module where you can do your processing and display the resulting screen.
    Regards
    Arun

Maybe you are looking for