HR Offcycle Payroll(Customer Specific Function(

Hi,
I am working on SAP 4.7, i have developed an customer specific HR payroll function, its attached in the payroll schema, in the routine i have updated some HR infotypes. Now in normal payroll run it works fine but, in offcyle it has two buttons 'start payroll' which runs the schema, and 'save' which saves the changes, what i need is to save the changes when SAVE button is pressed not the START PAYROLL button, i have looked couldnt seem to find an exit at save.
Thanks.
Regards
Khusro Habib

During the Start Payroll process, when the schema calls my customer specific function. I filled an internal table PSOPER, then when the SAVE button is pressed system reads the data from this infotype to update it depending on the field OPERA of this internal table
PSOPER-OPERA = 'U'. means update
code:
data gv_ocrsn type t52ocr-ocrsn.
field-symbols <prelp> type c.
"gs_s9000 structure of type P9000.
get parameter id 'OCR' field gv_ocrsn. "This tells me if offcycle is being run
if gv_ocrsn eq '0095' or gv_ocrsn eq '0090'.
"all data is in gs_s9000.
gs_s9000-infty = '9000'.
assign gs_s9000 to <prelp> casting.
MOVE <PRELP> TO PSOPER.
PSOPER-opera  = 'U'.
append psoper.
unassign <PRELP>.
clear gv_ocrsn.

Similar Messages

  • ABAP function module for Customer Specific Status

    I am looking for a standard ABAP function module that will return the customer specific status for a person. 
    Please let me know if any exists.
    Thanks,
    Harini

    Customer specific status for a person .
    Could you pleasee give more details...for what purpose  you are trying to get the status of a person. so that it will be easy for everyone to search

  • How to activate Customer Specific Minimum Shelf Life Days functionality

    Hi All
    Are there any profile options MSC/MSO that needs to be set for using the Customer Specific Minimum Shelf Life days functionality through Item simulation sets?
    Thanks

    hi,
    please look for my reply for the thread that you have posted for the same problem.

  • Transfer customer specific Roles assigned to a customer from R/3 to CRM

    Hello dear all,
    on R/3 side there are customer specific roles defined and assigned to customers. These roles are sales area depending.
    On CRM side we plant to uses the Employee Responsible relationship to build up these customer specific roles. To differentiate these roles we want to use the partner function which is assigned to the sales area.
    Can anybody show me how to do the initial load of the CRM system and map the role to the Employee Responsible relationship?
    I assume that I have to create a own mapping function module to realize this. Where do  I register this function module so it will be used during the initial load? How do I debug these functionality?
    A similar functionality we have to build up in case of the upload to the R/3 system. There we have map the Employee Responsible relationship to the specific role and assign it to the customer. Where do I register this function module?
    Thanks for your help!
    Best regards
    Michael

    hi
    In order to replicate the ECC customer to CRM customer the following steps (tips) might be helpful to you:
    First a Mapping structure should exist between business partners in SAP CRM and ERP ECC Customers in both the directions. In the ERP ECC system you can see this mapping using transaction /nPIDE
    You should create your own account group for the data transfer from SAP CRM to ERP ECC
    In SAP CRM, the roles sold-to party, ship-to party, bill-to party and payer are assigned to the classification Customer and the customer is assigned to exactly one account group in ERP ECC
    For consistent distribution of Business Partners with identical numbers in both the systems, the internal number range (ex. 1-5999) should correspond to an external number assignment in the ERP ECC system or vice versa. Thus a business partner is given the same number in both systems.
    For data exchange to be successful, you must ensure that the field control (mandatory fields) between the CRM system and the ERP system matches.
    Besides Both SAP CRM and SAP ECC can talk to each other only when there is some settings done in the middleware. And for the CRM only a small plugin is needed for the ERP/ECC Connectivity.
    Now whenever you have both the system mapped then if you create a BP in CRM it will automatically flow in the ERP System. And also the vice versa. As for the roles are concerned, the roles like ship-to-party and some few specific roles are mapped in ECC system. For a complete look at roles matching have a look at the following link.
    http://help.sap.com/saphelp_crm50/helpdata/en/52/cff837a9aae651e10000009b38f8cf/frameset.htm
    Once you have created a BP in CRM it will be created in some Account group in ECC. And in that AC GRP you will be not be able to create the Customer with identical ID. So if your systems are connected then even manually you also cannot create same BPs.
    And for all of these the PIDE settings in ECC needs to be maintained properly.
    Hope it serves your purpose
    best regards
    ashish

  • Error while creating Custom Defined Functions in Essbase

    <p>Hi All,<br>I am trying to create CDF(Custom Defined Functions) in Essbase. Iwant to create a function which take list of child member andreturn the first child. For this, i have created a java file called"ChildAccess.java" which contains the following code:<br>public class ChildAccess<br>{<br>public static char GetFirstMember(char [] members)<br>{<br>return members[0];<br>}<br>}<br>I have compiled and made jar file called"ChildAccess.jar" and pasted it at"ARBORPATH/java/udf". Then i restarted the Essbase Serverand run the following MaxL command to register the function<br>create or replace function '@ChildAccess' as<br>'ChildAccess.GetFirstMember'<br>spec '@ChildAccess(memberRange)'<br>comment 'adds list of input members'.<br>Till here i am not getting any error but when i am using thisfunction in my calc script as given below<br><br>FIX(@ChildAccess(@CHILDREN("Abc")))<br><br>it gives the following error<br>"Error:1200414 Error parsing formula for [FIX STATEMENT]<br>(line 2)"argument[1] may not have size[6] in function[@CHILDREN]"<br>NOTE: The SIZE[6] is giving the no. of child in member"ABC".<br><br>Thanks in Advance<br>Arpit</p>

    If you want to use the CDF in a FIX statement you need to make sure that it returns a member name rather than a number:<BR><i><BR>public class ChildAccess<BR>{<BR>    public static String GetFirstMember(String[] members)<BR>    {<BR>        return members[0];<BR>    }<BR>}<BR></i><BR>I prefer to define the function against a specific application rather than globally because you only need to restart the application in order to pick-up any modifications to the .jar file. So the MaxL function definition would be:<BR><i><BR>    create or replace function appname.'@_GETFIRSTMEMBER' as<BR>        'ChildAccess.GetFirstMember(String[])';<BR></i><BR>and in the calculation script the FIX statement would become:<BR><i><BR>    fix ( @member( @_GetFirstMember( @name( @children( "Abc" ) ) ) ) )<BR></i><BR>This looks a little messy so you can use a macro to simplify it:<BR><i><BR>    create or replace macro appname.'@GETFIRSTMEMBER'(single) <BR>        as '@member( @_GETFIRSTMEMBER( @name( @@1 ) ) )' <BR>        SPEC "@GETFIRSTMEMBER(memberRange)";<BR></i><BR>and then the FIX statement could be written:<BR><i><BR>    fix( @getfirstmember( @children( "PRODUCT" ) ) )<BR></i>

  • BP extend : how to use FM to update customer specific fields ?

    Hello
    I'm working on a CRM 2007 project and for customer needs, the BP data have been extent with specific fields using EEWB. So specific FMs have been automatically generated to manage the specific data. We want to use these FM to maintain the values of the specific fields. In the EEWB transaction, in the Task BUPA_API for the specific object, 2 FMs have been generated : ZZ1XO_BUPA_MAINTAIN and  ZZ1XO_BUPA_MNTN_ALL : we suppose we have to use these FMs to update the values fo this object. This object (customer specific data) is time dependent with gaps and multiple instance. We tried to use these 2 FMs to update values but it does not work : anybody has already used this kind of FMs ?
    Thanks to all.

    Jerome,
    Normally I use the FM modules generated by the EEWB that contain API to update the data.  However keep in mind if this is a Z-Table and you don't like what is provided, then add your own BAPI modules to the BDT function group to update the data.
    Take care,
    Stephen

  • Issue in Updating Customer specific fields in WBS using BAPI_BUS2054_CREATE_MULTI

    Hi Experts,
    I am able to create the WBS element using BAPI_BUS2054_CREATE_MULTI.But the issue is i am not able to update customer specific fields even after passing the fields as per specification in Function module documentation. I have also created an implementation of BADI  as per below specification in FM documentation:
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed,
    for which you want to enter customer-specific table enhancement fields, add a
    data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the
    keys that identify the table rows and then with the values of the
    customer-specific fields. By structuring the container in this way, it is
    possible to transfer its content with one MOVE command to the structure of the
    BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields for
    which the respective update indicator is set are changed). Therefore, even if
    you only want to change one field, all the fields that you transfer in
    ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI
    BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered
    values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the
    BAPI is processed further (if you only want to transfer the fields of the CI
    includes, no more action is required here).
    But still i am unable to update fields though i am able to create WBS with rest of the fields except  custom fields.
    I am using attached code to achieve this.Do we need to code anything inside method create_exit1 or create_exit2 implementation for BADI or
    Please help on priority

    Hi Rahul,
    First observation from your code is that i could not find the assignment for the field
    GWA_WBS_EXTIN-STRUCTURE. I hope you are not filling this field, that could be one reason for failure. Try to do it and let us know if you still have the problem.
    Br..
    Dwaraka

  • How to populate customer specific field data in table /SAPAPO/ORDFLDS

    Dear Gurus,
    I have explained in detail about the problem we face. I guess persons who has implemented enhancement:  /SAPAPO/RRP_IO_COL in their system can help me out.
    Background:
    Purchase requisitions in APO is created by an idoc that comes from a legacy system using BAPI CALL FUNCTION 'BAPI_POSRVAPS_SAVEMULTI3'.
    Business Requirement:
    I have a business requirement where I need to populate an additional data 'Original delivery date' from the idoc during PR creation in Product view.
    Development:
    To achieve the above requirement, we are following the below procedure in our development system.
    1. We are using enhancement:  /SAPAPO/RRP_IO_COL, method: RRP_USEX_COLS_FILL_01 and RRP_USEX_COLS_GET_TEXT_01 to display an additional field 'Original delivery date' in /sapapo/rrp3 - elements view. This field is restricted to Purchase requisition (Order category: AG) only. We are planning to populate the additional data 'Original delivery date' in this customer specific field and store it in table: /SAPAPO/ORDFLDS at the time of PR creation.
    2. Table: /SAPAPO/ORDFLDS is appended with the 'customer specific field'.
    3. We couldnt find a document on how the data can be populated in table /SAPAPO/ORDFLDS.
    4. How to polulate the live cache data in the table  '/APAPO/ORDFLDS' ? ( i.e using connection parameter )?
    Appreciate if you can throw me some light on this.
    Thanks
    Vignesh M

    Hi Vignesh,
    ANy luck on this ? I am trying the almost same thing...and stuck at same point.
    Please let us know if you have any more information.

  • How to add Customer Specific Product ID PRID_VENDOR to product with report

    CRM5.0
    Hi,
    I am trying to find out, how to add the customer specific product ID (product->relationships->customers) to a product with a report or a function module.
    It is stored in table COMM_IL_PRDCPN, data element COMT_PRID_VENDOR.
    Is there a class/method, function module, or some example coding, how I can do that?
    Thanks an regards,
    Thomas

    Hi,
    I don't think in Std it is possible to create CMIR in VD51 for cust.grp..
    u can try LSMW to create CMIR for sold-tos..
    Reg,
    JJ

  • EDI customer specific mappings

    Hello Experts,
    I am having a scenario where the old legacy system is planned to be replaced by PI (7.11)-Seeburger.
    Now the old system based out of Gentran had around 100 maps pertaining to their 100 customers for distribution of their Invoices and ASN.
    Hence wanted to find out how best can be achievable using PI Seeburger. We thought of following options
    1] Create 100 mappings in PI and have conditional interface determination based on the customer. But in this we will have to hard-code customer DUNS number into interface determination conditions
    2] Create one base mapping in PI and another in ABAP mappings with customer format maintained in the Z-tables of PI ABAP stack and ABAP mappings filtering the same. This would lead to complex ABAP mappings program.
    3] Create one mapping in PI and write conditions in Seeburger BIC mappings. Again writing so many conditions in BIC mappings.
    Anyone worked in such scenario, please let me know the best suitable solution in this case based on your experience. Thanks in advance.
    Regards
    Rajeev

    >> One Receiver say EDIReceiver
    This is recommended. But then your EDIReceiver system should be able to send invoices to all the 100 customers based on the data in EDI file.
    >>100 interface determinations for 100 maps with conditions based on the partners
    If you have option/resource/time to functionally check the details for each of these customer individually, it is recommended to group them based on some business rule. Creating 100 maps blindly will make many redundant mappings. Try to make small groups of 4-5 mappings based on business requirement and reduce the number of maps. When thinking about changes to customer specific mappings, always think two ways.
    e.g. If you have separate maps for 100 customers and lets say they belong to same region. In future, if due to any legal requirement change, any change is required in the maps, it would be tedious and not so good design to change all the maps. Therefore, as I said group them based on business/functional logic.
    >>Multiple Receiver agreements based on the versions required each having comm channel with X2E mapping for the version required.
    Note that these standard X2E and E2X mappings are part of Seeburger BIC license. If you already have purchased BIC, your estimation for this part should be minimal.
    Regards,
    Prateek Raj Srivastava

  • How to use customer-specific fields with FI-CA event 940?

    The following text can be found under FI-CA event 940:
    You can also set customer-specific fields if you have defined the predefined include for customer enhancements CI_FKK_ACCIT_CUS in the structure FKK_ACCIT_CUS. The fields included here must have the same field name as the fields included in the structure ACCIT. These can also originate from an enhancement of the coding block in General Ledger Accounting. The fields Reservation Class and Reservation Key of the reconciliation key and the totals record are available as import parameters.
    My requirement is to populate the field HZUON in this event, which will be called when running t-code FPG1 (Transfer of FI-CA total records to general ledger)
    The problem is the fact that the output of the event (i.e. output of function module FKK_SAMPLE_0940 at first) only have the following fields:
    E_ZUONR     LIKE     ACCIT-ZUONR     Zuordnung (BSEG-ZUONR)
    E_XREF2     LIKE     ACCIT-XREF2     Referenz  (BSEG-XREF2)
    E_SGTXT     LIKE     ACCIT-SGTXT     Positionstext
    E_BUPLA     LIKE     ACCIT-BUPLA     Businnes Place (Korea only)
    I tried adding a new field to structure CI_FKK_ACCIT_CUS and adding this field to the output of the event 940, but how do I ensure that the content of the field will be used to populate the HZUON field of the FI document during "transfer of FI-CA total records to general ledger"?
    Cheers,
    Teo

    Hi Teo,
    I happened to see this post from you when I searched for a similar scenario related to event 940. I also need to add two fields in CI_FKK_ACCIT_CUS and make these fields as outputof the event. Did you come across any solution for the same? If so, can you please share.
    Regards,
    Harikumar. S
    Edited by: Harikumar Sasidharan on Dec 30, 2009 12:14 PM

  • Customer specific field table T77OMATTR

    Hi guys.
    SRM 4.0, server 5.0.
    I have added an attribute to use in the PPOMA. My attribute is for the tax jurisdiction code, besides this extra attribute I have added a customer specific field to the SC. But which function modules should I use to fill the customer field with my attribute, any ideas? I would believe that everytime you enter a new attribute in the table, you would also have to do some coding before it can work, right?
    Thanks
    Dennis M

    Hi
    <b>Here are some related links -></b>
    Re: Creation of Custom Attributes in org structure
    R/3 to SRM
    Creating a new custom attributes in org structure
    First take a look at this forum post regarding your questions - the thread has relevant info for you:
    FM for attribute's value assignation in PPOMA ?
    <u>Regarding your specific queries</u>:
    Can you automate replication?
    Yes - it can be automated. Post processing BADIs exist in the IDOC to allow you to perform your actions.
    <u>What are the tables?</u>
    Well not that you are ever to directly read or update these tables, but they are HR info type tables. Examples would be HRP1222, HRP1000, etc. If you really want to the table that has the attribute value see table HRT1222. Again look only - never develop a program to read/update these tables.
    As mentioned in the forum thread above use the function modules BBP_READ_ATTRIBUTES/BBP_UPDATE_ATTRIBUTES.
    <b>Do let me know, incase you need more details.</b>
    Regards
    - Atul

  • Customer specific tolerances in certificate

    Hello
    Can anyone tel me the best practis (or a good example) of customer specific tolerances in certificate. I know that you can use your own function modules for this purpose. But were is the best place to the customer specific tolerances? I do not want to have these customer specific tolerances in the inspection plan at MIC-level because we have other (smaller) tolerances there. Thank you.

    My favorite place to put customer specs is in a batch search strategy, (BSS) for SD.  This helps on a couple of fronts.  You can use the BSS to double check that the batch being shipped meets the customers requirements.  You can also use them for your COA requirements.  You create a new FM for spec origin to look for a BSS record for the customer.  If no BSS record exists, you use the standard batch spec.
    FF

  • Customer Specific Pricing in ISA

    Hi,
    Can any one explain me Customer Specific Pricing functionality in B2BISA CRM 2007.
    What are all the configuration steps needs to be done
    Regards,
    Ajay

    Hello Ajay,
    Your question is slightly confusing . I will tell you why. Your thread title gives me an impression that your normal pricing in CRM / ISA is working and you want Customer Specific Pricing.
    Is any pricing working in ISA or CRM? I mean, do you have transactions (orders)that show pricing in CRM?  Till you answer my question above, let me give a overview of the steps involved. I am assuming that you have a R/3 (ECC) backend and CRM 5.0 or above for CRM.
    [1. There are CRM middleware tasks to download Pricing configuration from R/3|http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/B09_BB_ConfigGuide_EN_US.doc]
    [2. There are CRM middleware tasks to download the conditions from R/3|http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/B09_BB_ConfigGuide_EN_US.doc]
    [3. You have to activate the IPC in CRM|https://service.sap.com/~sapidb/012006153200000081802008E/PricingUserexitManualV104.pdf]
    [4. If there are custom pricing exits in R/3 then you have to rewrite them in Java for IPC in CRM|https://service.sap.com/~sapidb/012006153200000081802008E/PricingUserexitManualV104.pdf]
    5. There is little or no configuration required in ISA for IPC (except for the configuration in defining the Shop which you already seem to know).
    If the above is not overwhelming to you and you already know about it, then very good, you don't have a problem, I do.
    If you have noticed, I mentioned only about pricing - but not customer specific pricing in the above discussion. Customer specific pricing is some thing that should be designed in the Pricing procedure. You have already declared that you know how those things work. And that leaves me confused.
    Anyway, the links above give you access to the documents I feel that might help you.
    Easwar Ram
    http://www.parxlns.com

  • Creating the customer specific catalog view....

    Hi All,
    I am working for e-Commerce with mySAP ERP scenario where the customer wants to implement customer specific Catalog View. As it is not a standard functionality provided by SAP. So, I was searching through the SAP notes on how to implement it and found the note 998453 and 998458 which details on how this can be achieved.
    I implemented the relevant SAP Notes i.e. 998453, 998458, 677319 and 677320 in a system. However, the appropriate result is not appearing.  This is my perception; some customizing setting will also be required for the same. Moreover would be the possibility, I have missed some technical steps.
    On this regards only, Could you provide me some reference documents or suggestion based upon these notes which help me in implementation? Apart form that, Could you suggest me any another approach for implementing the catalog view? This is really great help from your end.
    Regards,
    Ashutosh Jain

    it is done...

Maybe you are looking for

  • Campaign determination log was switched on

    Dear Guru's In the Order Screen We have campaign management Whcih I have Turned On. Can you explain What is Campaign Management ? and What is the use of the same. regards, Amlan Sarkar

  • Counter in XSLT processing

    Is there anyway to keep an incremental counter in an XSLT stylesheet? I would like to append this counter to several element names to maintain uniqueness. Thanks Kathy

  • Table to find the phase number in process order operation

    Hello All, Is there a way to find the table for phase details which are assigned to operation in a process order. Regards, Rohit

  • Missing book from collections

    I have just made a large book of 440 photos and text and exported it to Blurb. It was sitting ing the collections box as are other books I have done.  There was a quality problem with the printing and Blurb are happy to redo it.  But the book has dis

  • Outbound E-mail Configuration

    When filling in the email configuration for the Host, is it better to use IP address or DNS name? Is the Authentication needed, or can I just set this to allow all user to send email? Is there a preference? Would the GWIA need an exception for this s