Student number as selection criteria for FICA transactions

Hi experts,
Is it possible to have the student number as a selection criteria for FICA transaction, for example for payment assignment, among others?
Do you have a coding example?
Regards.

FUNCTION CMAC_EVENT_0210.
""Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(I_SELTAB) LIKE  ISELTAB STRUCTURE  ISELTAB
*"  TABLES
*"      T_SELTAB STRUCTURE  ISELTAB
*"  EXCEPTIONS
*"      UNKNOWN_SELECTION
  DATA: ld_student12   TYPE piqstudent12,
        ld_partner     TYPE bu_partner,
        ld_student(12) TYPE n.
  IF i_seltab-selfn <> c_student12.
    RAISE unknown_selection.
  ELSE.
  to get leading zero's move the student number in a NUMC-field first
    ld_student   = i_seltab-selcu.
    ld_student12 = ld_student.
    CALL FUNCTION 'HRIQ_CMACBPST_SELECT_WITH_STID'
      EXPORTING
      IV_STOBJID                     =
        iv_student12                   = ld_student12
      XREAD_BUFFER                   = 'X'
      IMPORTING
        ev_partner                     = ld_partner
      EXCEPTIONS
        student_not_found              = 1
      INVALID_PARAMETER_ASSIGN       = 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.
    ELSE.
      i_seltab-selfn = 'GPART'.
      i_seltab-selcu = ld_partner.
      CLEAR: i_seltab-xsfex,
             i_seltab-selco,
             i_seltab-selwu,
             i_seltab-selwo.
      APPEND i_seltab TO t_seltab.
    ENDIF.
  ENDIF.
ENDFUNCTION.

Similar Messages

  • Hide the selection criteria for EA21 transaction

    hi,
    Good day guys
    Hope every one is doing well. I need to hide the selction criteria for EA21 Transaction code. Plz let me know how to do it with out disturbing the standard code?
    Regards
    KK

    Hello,
    If they are not mandatory for the selection you can just hide them using Transaction Variant (SHD0). See Online sap help for transaction variant.
    Regards,
    Karthik D

  • Archiving: adding more selection criterias for MM_EKKO

    Is there a possibility for adding new selection criterias for object MM_EKKO? Any exits for Release 4.6c?

    Deactivated means that you have executed a 2-step archiving.
    You have different residence times. SAP set the deletion flag if residence time one is met, but residence time 2 not yet.
    If both times are met, the PO gets archived.
    for examples see OSS note 948493 - Residence time in new reports RM06EV47, RM06BV47
    You probably have customized the test variant for MM_EKKO as production variant, other wise SAP would not have updated your database.

  • DB14 Backup - No logs exist for the selection criteria for system DEV

    Hello Expert,
              When i click on BRBACKUP button Its showing the info message "No logs exist for the selection criteria for system" .
    so please suggest me where i need to maintain the selection criteria.
    Thanks & Regards
    Annasaheb

    Hi Anna,
    As told by Markus and Eric above...
    you never made a backup on you new installed system....then how system will show you backup details(which were not happened in real)
    Why you are searching for money in an empty pot
    Regards
    Nick Loy

  • Additional selection criteria for RHECM_CREATE_COMP_PROCESS (create compens

    Dear All,
    There is a requirement to add additional selection criteria for  RHECM_CREATE_COMP_PROCESS.
    Compensation Plan needs to take several optiions rather than a single option.
    Incentive Plan Type to be added as additional selection criteria
    Do we need to copy the standard program and then modify it or there can be some other way out for it.
    Thanks and Regards
    Shraddha

    have checked out the SDN forums quite throughly and have come up with a couple of questions/solutions.
    1) Copy the program into Z-name space and add in the code
    Question: Where to specifically add the code, the program is huge with multiple enhancement points being seen in the code.
    Can someone please guide me where I can change the displayed records, point where iI can append data or change the internal table being sent for ALV display.
    <b>---> U have to find out , where /how  they defined Selection screeen , final output they are displaying.</b>
    2) Make changes in SPRO>Define field selection for material document list.
    Question: The required field is not present within the listing, It does give the option to make new entries, but I have to specify a program/table and field.
    If I create my own program to get the details and display onto an ALV Grid, will the program be called when I make selections on that requisitioner field?
    <b>---> lot of work to do</b>
    3) This is text copied from a thread, I have lost the link to it.
    Create a Z report that is a copy of the selection include of the standard selection screen include with the additional selection criteria.
    - Export the extra selection criteria value to shared memory.
    - Submit the standard VL10G program with the selection sets.
    - In user exit (depends on which field needs to be checked), import the extra selection criteria value back in and filter the selected data set.
    Could someone please guide me if it is possible to do the above within RM07DOCS, and a little more detail on how to go about it?.
    <b>Better Options --->try to get the logic of MB51 , then do changes which are required.
    most of data , u will get it from MSEGMKPFMARA+MBEW.</b>
    revert back in case of any other issues.
    Regards
    Prabhu

  • SLED for selection criteria for batch search

    good day gurus,
    Is it possible to use SLED (LOBM_VFDAT) as a selection criteria for my batch search? how do i set this up?
    Thanks in advance
    Edited by: obie villamosa on Jun 30, 2008 11:06 AM

    hi
    maintained class in t-code CL01 for you characteristics then sort sequence CU70 as per shelf life, setting expiration date check by OMJE for your plamt and movment type,
    maintained strategy type in spro in production
    Define Batch search procedure and assign your strategy there.
    then allocate your search procedure to your plant in spro
    and then maintained condition type in t -code COB1 for your plant.
    also maintained your class in material master in classification view for batch class
    Regards
    Pravin
    Edited by: pravin dhokey on Jun 30, 2008 8:07 AM

  • Can we change the selection criteria for RV60SBAT Background Job for Billin

    We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
    Thanks,
       Matt

    Hi Matt
    For your requirement , copy the standard  RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
    Regards
    Srinath

  • Selection criteria for KFS?

    Hi,
    is it possible to have selection criteria for the Key figurs while desingning the query?
    If yes, please explain me how this could be achived?
    Thanks,
    Ravi

    Hi ,
    Thanks for the answers!
    My scenario is:  I have a sales document cube as well as deliveries cube! There are queries as well on these cubes!
    Now , the requirement is to make a query having the info of both the cubes with the selection criteria as promised date! i had so created multicube and designed a query as well.
    As promised date is keyfigure in both the cubes, i wonder whether this could be possible and thats why i posted my query!
    now i think you can throw some light into it!
    Thanks,
    Ravi

  • Selection criteria for VK13

    Dear experts,
    How to make the field "validity" optional when running VK13? You know, if not entering the validity, the system disallow to proceed further.
    Plz help. Many thanks.

    Hi Cathy,
    All the replies are right, the validity date is mandatory in VK13.  If you go for condition information in VK13 you won't get the values, so no use.
    So you have to go for Pricing Report with V/LD only, there the validity period is not mandatory.
    This is how you create a Pricing report step by step
    u2022 Enter Name for the List (Starting from a letter, not numbers fully) & a Title
    u2022 Press FOOTPRINT button
    u2022 In the new screen you have to select all key fields that should be taken into consideration in the pricing report.
    u2022 Highlight all relevant fields
    u2022 Press AND or OR appropriately
    u2022 If you select OR ; all condition tables are evaluated, that contain at least one of the selected key fields.
    u2022 If you select AND ; all condition tables are evaluated, that contain all selected key fields.
    u2022 Now youu2019ll be directed to condition table list that are to be evaluated. Highlight relevant condition tables.
    u2022 Select "FOOT PRINT to define the screen structure for the pricing report.
    u2022 You can configure the report layout here.
    u2022 Mark BLANK under u201CSelectionu201D; for fields that are not used as selection criteria.
    u2022 Mark TICK to set mandatory fields on the selection screen.
    u2022 Use POSITIONING to place different filed in the layout of the report.
    u2022 SORT is the number determining the sequence in which the individual objects are displayed.
    u2022 TEXT is used to view only Field ID or Field Text or both Field ID & Field Text.
    u2022 Once everything is done, save the report. A TR number will get generated.
    How to run a pricing report
    Transaction: V/LD
    u2022 Enter pricing report number
    u2022 Press Execute
    u2022 Based on the configuration you have done, selection screen will appear.
    Hope this is useful to you!
    Regards,
    Sreehari.

  • Change Selection criteria for existing report in Report painter

    Hi Experts,
    We are on 4.7, using report painter for getting reports for Cost center & Profit Center. For one of the report we have selection criteria as Cost center and cost center group, but now user want us to add new selection field as Cost element and cost element Group to same report. We have tried all the options from GR32 ->Edit-> General Selection, but we don't find cost element in Key figure listed there.
    Please let us know how can we add the new field to selection criteria. We also would like to know is this is possible with existing report  to add new fields or not? Is that we need to create new report for this?
    Thanks in advance..
    Shilpa

    Shilpa-
    In my opinion the best way to troubleshoot issues like this is to go to SAP delivered standard reports and see how they are setup. For example, in your case you want to add cost element and cost element group to your report. There is one standard report from SAP - Transaction :S_ALR_87013611 which has both cost center, cost center group and cost element, cost element group in the selection criteria. You can look how this report is set up, and maintain your report in a similar fashion. Atleast this way, it will give you an idea.
    Go to transaction code GRR3 and under library look for report "1SIP-001". By double clicking on the row, you will see how it is maintained.
    Hope this helps.
    Shail

  • Additional Dynamic Selection criteria for Vendor-Search Tearm 2

    Hi All,
    I need to incorporate additional dynamic selection criteria which references 'Vendor-Search Term 2' in new Z Transaction which is a copy of Transaction S_ALR_87012086.
    help me out how to proceed.
    Full reword points will be given.

    Hello Chetan,
    have you checked note 79166 "MM-SRV Hint: Vendor evaluation for service"?
    Define an evaluation criterion for services in Customizing of the vendor evaluation to be able to use the vendor evaluation also for the services management.The main criterion must contain the determination methods 'C' (determination from the quality valuation of the service) and 'D' (determination from the timeliness rating of the service) in the sub-criteria.
    Kind Regards
    TomT

  • Navigation attribute as selection criteria for automatic forecast model

    Hello Experts,
    I have a requirement like this.
    In Transaction /SAPAPO/MSDP_FCST2, I enter a planning area and click execute.
    Then I create a selection (using selection management button). But here I am not able to see the navigational attributes as a selection field.
    Could you please let me know how I could use this as a selection criteria?
    Can I use the method SEL_CHANGE of the BADI /SAPAPO/SDP_FCST5 for implementing this?
    Please suggest.
    Thanks,
    Suresh

    Hi Manimaran,
    Thanks for your reply!
    I hope you could have created a selection using the Create Activity and assign activity to a job. And during this part, for assigning the selection to the job, we could use the selection created in Interactive planning - Tcode /SAPAPO/SDP94.
    The problem is what if the planners are not given authorization for the creating the job or activity. And what if the planners do the model fitting for a product/location and he wants to exclude it from the selection.
    Thanks and Best Regards,
    Suresh

  • Selection Criteria for Delta loads triggered using MDM_CLNT_EXTR

    Hi ,
    Currently we are required to load data only from two specific account groups . Therefore in the selection criteria in mdm_clnt_extr we maintian these two account groups and extract data.
    However, when setting up the delta load there does not to be an option to restrcit the delta to a specify an criteria. Therefore, in our case several records from account groups which are not required are passed on to the MDM system.
    Is there a way to address this requirement ?
    1. There is an option to run the initial load variants at regular intervals, the problem with this is that in our case we have several variant creates as the R/3 system does not allows extraction on more that 999 records at a time. Therefore at point of time to capture the delta records , if we run all these jobs our network gets choked.
    2. Run delta job, but without selection criteria it pulls out records which we don't require
    Any suggestions on how this problem can be addressed are welcome ,
    Thanks in advance,
    Anita George

    Thanks Michael !
    Well, regarding hte ALE settings, we did take a look in bd64 the filters are based on objects which one of these is relevant for customer account groups ? Probably in the future we would require all data, and then is it enogh to remove the filter ?
    Can a filter be maintained at the XI level , this would be good as only the required account groups are passed on to MDM . Is there any documentation on available on this ?
    Regarding the Import Manager, will have to check  this functionality, as it is now no matter how many times we update the map/rename /load/unload it automated imports keep failing.
    Our R/3 system seems to have problem extracting more than 999 records, as we tried with different number of records and all those extraction jobs got cancelled. So, currently we are running multiple jobs for the initial load and even this is very time consuming.
    Thanks & Regards,
    Anita George

  • RFIDITSR00:Selection criteria for MM invoices in IDITSR_SELECT_V

    Dear Gurus,
    Could you kindly share with us how you were able to manage the customising settings in IDITSR_SELECT_V for S03CCR report.
    The customising setting we made are: included Purchases account 6XXXXXXX in IDITSR_SELECT_V for reporting category S03CCR and while executing the report:excluded BE ,entered keydate,selected vendors(GL and customer not selected)
    The customising was working  fine when we raise an FI invoice and included the Purchases account 6XXXXXX in our customising(IDITSR_SELECT_V) and selected vendors on the selection screen while executing the report.
    However, this selection criteria is not working for MM invoices.
    For ex:We included the Purchases account 6XXXXXXX in out customising and while executing the report we selected All vendors and "did not select GL accounts" and the output doesnt show this good receipt.
    I can understand the logic as while Goods receipt the entry is
    Debit Purchases A/c
    Credit GR/IR A/c
    and as in our selection while executing the report we selected only vendors this entry is not been shown in the report.
    and while Invoice receipt the entry is
    Debit GR/IR A/c
    Creidt Vendor A/C
    Though we have vendor line here we do not have the Purchases a/c (6XXXXXXX)as counterpart debit and the invoice doesnt get included in the report.
    I tried adding the GR/IR account 4XXXXXXXXX in the customising of IDITSR_SELECT_V but that didnt help either and while executing the report selected GL accounts instead of vendors,in this case the transaction is included in the report but the country ISO code is always coming as BE.
    Could you kindly advice how you were able to generate the report to include the open items from MM in the S03CCR reporting category.
    Many thanks in advance.
    Prasad

    Hi Vee,
    The provided code did help and I have the following code now which works fine.
    $('input[name=f01]').change( function() {
      if ($(this).is(':checked')) {
        index_of_this = $('[name=f01]').index(this);
        for (i=0;i<index_of_this;i++) {
          if (!$('[name=f01]:eq('+i+')').attr('checked')) {
            $(this).attr('checked',false);
            alert('Check the sequence of invoices to be paid. Invoices should be one after another and you can not pay one Invoice before paying the one that is preceded');
           return false;
      else
      $('[name=f01]').checked = true
    alert('Check the sequence of invoices to be paid. Invoices should be one after another and you can not pay one Invoice before paying the one that is preceded');
      return false;
      setSelectedInvoiceValues ()
    setSelectedInvoiceValues ()Additionally I would like to add
    Assume that checkbox 1,2,3,4,5 is checked, then what happens when 3 is unchecked ? User should not be allowed to uncheck 3 unless 4 and 5 are unchecked.I have tried to handle this part in the else { } but it is not totally correct.
    I am not able to un-check the last checked which should be allowed.
    Also the following does not work in Mozilla Firefox but does in Internet Explorer.
    $('[name=f01]').checked = true
    Please help
    Thanks & Regards
    Arif Khadas
    Edited by: Arif Khadas on May 23, 2011 12:05 PM

  • Selection Criteria for DirectToFieldMapping

    Hi,
    I have a descriptor mapping like so for an object called SubClassOf
    DirectToFieldMapping typeMapping = new DirectToFieldMapping();
    typeMapping.setAttributeName("type");
    typeMapping.setFieldName("RELATION.TYPE");
    descriptor.addMapping(typeMapping);
    My Table Relation looks like
    Name Null? Type
    ID NOT NULL NUMBER(15)
    TYPE NOT NULL VARCHAR2(1024)
    INIT_ID NOT NULL NUMBER(15)
    FINAL_ID NOT NULL NUMBER(15)
    STATUS NOT NULL CHAR(1)
    But I want this object to map to objects only where the TYPE is 'is_a'. Do you know how I can select this in the toplink descriptor. I know you can do this with a 1-many mapping using selection criteria but I don't know how to do it with a direct to field mapping. I never directly query this object I only query a related object called (Vertice) which has 1-many mapping with Relation.
    Cheers,
    Paula

    I am not entirely sure what you are asking.
    If you want to query for Vertice objects that have a SubClassOf objects with a type = to "is_a", you should create a query as follows:
    ReadAllQuery query = new ReadAllQuery(Vertice.class);
    ExpressionBuilder vertice = new ExpressionBuilder();
    Expression exp = vertice.anyOf("subClassOf").get("type").equal("is_a");
    query.setSelectionCriteria(exp);
    If you are trying to create a mapping on Vertice that only associates with SubClassOf objects with type equal to "is_a", have a look at the javadoc for the setSelectionCriteria(Expression anExpression) and
    setCustomSelectionQuery(ReadQuery query) on ForeignReferenceMapping.

Maybe you are looking for