Profit center imputation thorugh IDOC WPUFIB

Hi all,
We are currently implementing SAP Retail, we are using IDOCs for communication between POS (non sap) and SAP. For FI data we are using IDOC type WPUFIB. Here is the issue we have: the idoc WPUFIB does not have a field for profit center, it has only a field for cost center, when accounting entry goes to a income account we need imputation to a profit center, however the IDOC tries to impute to a cost center. We have seen in other customers that, when accounting entry goes to a income account they put the profit center into the cost center field ( in the IDOC) however we have tried several options but always the IDOC tries to impute to a cost center.
Any suggestion will be higly appreciated.
Thanks,

Hi carlosrv,
Try to create a new segment in segment type E1WPF02 and check
~Thanks!
Rajesh

Similar Messages

  • Profit Center  Vendor Invoice through IDoc

    We have a requirement to post the Profit Center through Inter Company Vendor Invoice.   Can we meet this requirement simply by adding the required segment in the Idoc Structure ? or does this need a separate coding ?
    Edited by: PRASAD VULISETTY on Oct 28, 2008 7:00 PM

    Hi,
    Maintain the profit center in the T.code : OBCC(Additional account assignment), when the invoice posted in the Intercompany A/P vendor it will trigger the profit center maintained in OBCC. Hope, you using the IDoc...INVOIC01.
    Thanks and Regards
    Gopinath

  • Change profit center - in cost center - IDOC error

    HI Experts,
    One of our users changed a profit center in a cost center in the middle of the month.
    As our message control is switched on warning message only, he could save the cost center.
    The problem occured by automatically created idocs which are creating internal orders for each of these cost centers. The idocs cannot be processed due to the error message:
    You have changed the profit center from x to y. This is only allowed when the corresponding configuration was made in Customizing. Then this message is only a warning, which you can ignore.
    I went to message control again and changed batch processing as well for W, only field "standard" (grey) I was not able to change.
    We still get the some error message. Could anybody help how we could get rid of this problem and process the idocs?
    Resetting the profit center in the cost center did not help.
    Creating a new analysis period in the cost center did not help either...
    Thanks,

    Hello,
    You switch off the message in OBMSG transaction code.
    Regards,
    Ravi

  • GR IR Clearing account posting to wrong profit center

    Dear All,
    Here I am encountering the live problem that ,
    After the some customization changes , there was an impact on GR/IR Clearing account with regards to the profit center posting
    When we receive (GR) , the FI document line item is posting to the different profit Center, then the PO profit center.
    Stock Account is capturing PO and meterial profit Center, when G R is posted ,
    GR/IR Clearing account is capturing the different profit Center(wrong profit center)
    Please advise me is there is any way to correct, the wrongly posted documents,
    we are trying to stop the encountering error by modifying the customisation but the problem is how to correct the error postings.
    This is urgent issue ,
    Please try to help me by providing proper solution as early as possible.
    Thanking you
    With regards
    Krishna Rao

    Hi,
    What has already been posted in SAP has been posted. One alternative in front of you is to create adjustment postings in PCA to post to the correct Profit Center. You can use transaction code 1KEL or 9KE0 for the same but it may not work as most probably you will the GR/IR clearing account set to "Post automatically" in the GL Master. In such a scenario the only option would be to have customized program to create IDOCs with Message Type "PRCMAS" to post the adjustment postings in your system.
    regards

  • Restricting Creation/Update of Profit Center Master Data through KE51/KE52

    Hi,
    I have a scenario where profit center master data is maintained in MDM which acts as central repository and the master data is syndicated from MDM to ECC through PRCMAS IDoc. Business requirement is that since MDM is acting as central repository creation/update for profit center through transactions KE51/KE52 should be restricted in ECC. I know that through roles we can restrict user to create profit centers but is there any way/configuration steps which we can perform to restrict user to create profit centers through transaction and I also want to know if that process would affect the creation/updation of master data through PRCMAS IDoc.
    Thanks,
    Amit

    Hi,
    As I told you can go forward using SetID but for that you have to create the SET than assign it to a table and also have to cutomize a standard FM.
    Meanwhile I will tell you a easy way you can opt for Transaction Variant usinh SHD0 where dont give the option to save so that no user can create any Profit Centre and than assign that Tcode to the users.
    Its a simple way hope it helps you.
    Thanks
    Arbind

  • IDOC_INPUT_INVOIC_FI:Balancing field "Profit Center" in line 004 not filled

    Hi All
    We have set up dopcument splitting funtionality and it is working fine when document is posted through FB60.
    When I am trying the same using Idocs, it is issuing error message "Balancing field "Profit Center" in line 004 not filled".
    The processing routine for this idoc is IDOC_INPUT_INVOIC_FI and process code is INVF.
    I tried to debug it and found that the profit center is not being popoulated for vendor line item which is cautomatically calculated from the GL line items which are there in the idoc. This is the reason the error is issued.
    I want to know why profit center is not populated for vendor item. When I do it from FB60, it is populated.
    Can anyone help me here ?
    Is there any SAP note related to this?

    Hi
    Pleaes note that it is not allowing me to enter the profit center, neither in PO nor in GR.
    I created two different POs.
    a. Both are for non stock material  with account assignment category 'K'
    b. Material group for both the POs are same.
    c. GL Account i entered in both the POs are same.
    d. CO area entered in both the POs are same.
    e. Ogranizational details of both the POs are same.
    f. Ofcourse 'Ordering Unit' is different in both the POs.
    When i tried to make a GR for the first PO, it is automatically proposing the profit center and i can post the GR. But when i tried the second PO, it is nether defaulting the profit center nor asking for profit center. It is giving an error message "Balancing field Profit Center in the line item 001 not filled.
    We have not changed the profit center or any configirutaions and when we tried to do the GR simultaniously for both the POs, one get posted correctly and the other one is giving this error message.
    Can any one of you please let me know what should be the reason ?
    Thanks
    Venkat.

  • Userexit/BAdi to update profit center in VF01

    Hi Experts,
    My Scenario is in IS Retails Project. We are using WPUTAB01 Idoc to post Means of Payment inbound. With WPUK tcode the idoc is generating but unfortunately it is not updating the Profit Center field in billing so an Acounting doc.
    My requirement is to update the profit center field in the billing document when this idoc WPUTAB01 is posted with WPUK tcode.
    My process code is using fn IDOC_INPUT_POS_END_OF_DAY. I tried to modity User exit EXIT_SAPLWPUE_152, but no use.
    Kindly help me how to go throught this.
    Thanks in advance.
    Regards,
    Pavan

    There is a long story about profit center accounting. I assume you are using Classic PCA, this means you can see the PCA documents.  And the solutions is below:
         For P/L account, even you don't maintain cost element for it, if you maintain the profit center in the application (Frontend transaction), then PCA line items will be generated for this account.
        For B/S account,  if you maintain the default Profit Center with transaction 3KEH/3KEI, the PCA line items will generated for this account also.
      Hints, don't maintain default profit center for AR/AP accounts, these accounts to be treated in periodic processing.
      First, calculate the distribution/adjust by F.5D, then transfer it by 1KEK. for others account rather than AR/AP, use F.5E
    For you case, if this account is P/L account, but you don't maintain profit center in the transaction, you can maintain default profit center as B/S account in 3KEH and 3KEI, then transfer it subsequently by transaction 1KE8.
    Good Lucky!
    Flex Yang

  • Update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK

    Hi FI Gurus,
    I am looking after a Support Project in SAP IS-Retail. I am from the FI functional and possess very limited knowledge in FI.
    My client has done the sales posting in SAP using IDOC's. During the postings, it was found that wrong Profit Centers were assigned. Due to this, the sales reports based on Profit Center are coming wrong. It was suggested to the client to reverse the IDOCs, do necessary changes in Profit Centers and re-post the IDOCs. The client wanted a short method to get the reports right. A senior consultant (Non FI) in the Company and the Management are forcing me to write a ABAP program to update certain (not all) FI tables. According to me, it will have some negative impact on the system for which reason I am not ready to take the call as a Project Manager. The management wants me to do the following (I am quoting the same mail which I received from the consultant ) :
    We need to update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK / BSID / BSAD, wherever the records exists against billing document numbers provided.
    BAPI for updating profit center in Accounting documents: BAPI_ACC_DOCUMENT_POST
    Function Module : 'BAPI_DOCUMENT_CHANGE'
    Also look at SAP Note: Note 966428 - FB02: Functional area (FKBER) can be changed on coding block
    Based on the above, the ABAPer has written the program, the program will update the tables BSEG, BSIS, BSIK, according to the selection criteria of document number, company code and line item number with the new profit centers.
    Please clarify me about the following :
    1. This program is updating profit center in just the FI tables (BSEG, BSIS, BSIK etc.), but the New GL tables (faglflexa and faglflext) which have approx. 65 lakh entries in PRD do not get updated with the correct profit center.
    2. The Controlling tables also do not get updated with this program yet. Also since the previoius updation of Profit centers did not happen correctly, most of the times the controlling document has not been generated at all. Since we will be updating the profit center in just the FI tables, the controlling document will not be created still. Though there are SAP notes suggesting re-creation of the Controlling documents, which is still an option you can choose. Please confirm.
    3. The Special GL also does not get updated because of this.
    This is a very critical and hot issue. My job is at Stake as the Management has threatened me of sacking if I do not follow their directives as they are only concerned with their money.
    Is the consultant who suggested this change RIGHT ?
    Your early replies will help me take the decision.
    Regards

    Hi,
    There is no standard program or BAPI that would update profit centre in a posted document. You should either develop your own process for it,which is not recommended, but sometimes is essential, or reverse the existing documents and post them with the correct profit centre.
    Regards,
    Eli

  • ALE-Rollup for Profit Center: missing visible document in document flow

    Hi guys,
    we use ALE-distribution of FI-, CO- and PC-documents. All IDocs are generated in sender system (S) and transmitted correctly to reveicer SAP-system (R). We use PC-rollup functionality in system "S".
    If I have a look at the document flow in system "R" I only can see the FI- and CO-document. My PC-document is not available.
    Checking the posting in PC everything is good.
    What do I have to do to see the PC-document in document flow ?
    I appreciate your help.
    Regards,
    Peter

    Hi
    Please check the following settings in IMG
    IMG > Controlling > Profit Center Accounting > Basic Settings > Set Controlling Area
    Also check Maintain Controlling Area Settings
    In OKKP, check whether Profit Center Accoint indicator is On
    In ALE Distribution Method,Choose options available No distribution from other system,Centeralised or De-centralized or Local.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/ECPCA/ECPCA_ALE_154.pdf
    Regards

  • Profit Center upload using LSMW

    Hello,
    I have created a LSMW project for profit center upload using the BAPI methodology, BUS0015(Profit center)/CREATE(method)
    PROFITCENTER_CREATE(message type)
    PROFITCENTER_CREATE01(basic type)
    The Idoc inbound seeting are set as follows :
    File port              DX_PORT_00
    Partn.Type             US
    Partner no.            LSMW_PAR00
    Message Type           PROFITCENTER_CREATE
    Process code           BAPI
    When I run the data file in, the Idocs are created successfully in status 53, but I do not see the actual profit center when I go to KE53. We are on ECC 5.0
    Thanks in advance.

    Dear all,
    We are on ECC 6.0 and trying using the same configuration for loading profit center.
    Unfortunately, we received error message in the step of IDoc generation and we found that the message type and basic type got truncated as 'PROFIT' and 'PROFITCE' respectively.  But we could still see the correct info at the step of 'Display converted data' which is a step just before generation.
    Have you guys had the same problem previously?  Do you know what went wrong?
    Cheers,
    Ivan

  • Freight revenue is allocated by profit center, based on the number of units

    Hi SAP Gurus,
    I am facing one issue in sales order processing.
    The Sales order is getting created through an inbound IDOC.
    The data (Condtion type and Condition value) for Freight will get populated at at the header level at will get allocated to the line Items wrt quantity.
    The requirement is - "Freight revenue is allocated by profit center, based on the number of units shipped".
    Please let me know how to achieve this requirement.
    Regards,
    Bhaskar

    In VOFM- Reqirements- Pricing- You need to create a new requirement- Routine.
    That Routine should calculate
    To check Frieght condition(i.e. ZFRT) at the header in the sales order, if tcode - "VA01" 
    If Freight conditon ZFRT found then transfer that reqirement to item level  by data transfer,
    IF Freight conditon is found at the item level then allocate revenue by = profit center XXXX to XXXXX , (based on MARC- PRCTR ) in MM03  number of units shipped .
    You might also need to configure Account determination for this freight conditon to post to correct G/L A/C.
    This is an Enhancement.
    Good luck

  • LSMW: Profit center using BO BUS0015

    Hi All,
    I am using the BO BUS0015 to create profit center.
    Idocs are posted successfully, when in partner profile i m chosing <b>Trigger by Background program</b> However when i using Trigger Immediately its giving an erro message : <b>Event for starting inbound processing was not triggered</b>.
    Could anyone please let me know the reason why is this happening so.
    Is this a problem of maintaining partner profile. or its problem of the BAPI method.
    Please help.
    Best regards
    Ram

    Message Details:
    Short Text
    Event for starting inbound processing was not triggered
    Diagnosis
    During inbound processing of IDoc , an error occurred. The event  for object type 'IDOC' could not be triggered.
    Procedure
    Activate the event receiver link:
    Either via the report program RSEINBEV
    Or in task maintenance TS30200090 of the event triggered
    -Kiran
    Message was edited by: Kiran Raorane

  • Change company code based on profit center at line item level in FB50

    Hi All,
    Following is my requirement, would be thankful if anyone can provide inputs on the same.
    When posting documents through FB50, In line item table control company code column gets un-editable ones correct entries are entered for that line. But after this if we want to change the profit center which belongs to different company code system throws error and makes company code column un-editable. In this situation there is no option left for user to correct the values unless he deletes the current line and creates a new one.
    Here can we make the company code field always editable?
    If not can we update the company code based on the profit center entered on that line item?
    I looked for exits but couldn't find any, validation and substitution are also not working because error message thrown by SAP is getting triggered before the substitution or validation code is executed.
    Please drop in your comments/inputs.
    Thanks in advance.
    Lucky.

    Transaction Code - FB50                     G/L Acct Pstg: Single Screen Trans.
    Exit Name           Description
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    No of Exits:         14
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Urgent :Getting error "No ALE scenario active in Profit Center Accounting"

    Hi Experts
    I am working on a LSWM project ,which uses BAPI BAPI_PROFITCENTER_CREATE for upload of data,but I am facing a strange problem during the IDOC posting the error "No ALE scenario active in Profit Center Accounting" is shown and the status of IDOC goes to 51.
    I have done all the ALE setting required for LSMW like File port ,partner type and partner number.
    Please help me to solve this error.
    Thanks
    -Mitesh
    Message was edited by:
            Mitesh Parekh

    Hi,
    Refer This SDN Blog, which gives you steps in detail....
    LSMW – Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
    Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
    Advantages of LSMW:
        • Most of the functions are within R/3, hence platform independence.
       • Quality and data consistency due to standard import techniques.
       • Data mapping and conversion rules are reusable across projects.
       • A variety of technical possibilities of data conversion.
       • Generation of the conversion program on the basis of defined rules
       • Interface for data in spreadsheet format.
       • Creation of data migration objects on the basis of recorded transactions.
       • Charge-free for SAP customers and partners.
    Working With LSMW:
    Use TCODE LSMW
    Objects of LSMW:
      •Project   – ID with max of 10 char to Name the data transfer project.
      • Subproject   – Used as further structuring attribute.
      • Object   – ID with max of 10 Characters, to name the Business object .
      • Project can have multiple sub projects and subprojects can have multiple objects.
      • Project documentation displays any documentation maintained for individual pop ups and processing steps
    User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
    Object type and import techniques:
      • Standard Batch / Direct input.
      • Batch Input Recording
          o If no standard programs available
          o To reduce number of target fields.
          o Only for fixed screen sequence.
        • BAPI
        • IDOC
          o Settings and preparations needed for each project
    Preparations for IDOC inbound processing:
        • Choose settings -> IDOC inbound processing in LSMW
        • Set up File port for file transfer, create port using WE21.
        • Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
        • Setup partner type (SAP recommended ‘US’) using WE44.
        • Maintain partner number using WE20.
        • Activate IDOC inbound processing.
        • Verify workflow customizing.
    Steps in creating LSMW Project:
        • Maintain attributes – choose the import method.
        • Maintain source structure/s with or without hierarchical relations. (Header, Detail)
        • Maintain source fields for the source structures. Possible field types – C,N,X, date, amount and packed filed with decimal places.
        • Fields can be maintained individually or in table form or copy from other sources using upload from a text file
        • Maintain relationship between source and target structures.
        • Maintain Field mapping and conversion rules
        • For each Target field the following information is displayed:
          o Field description
          o Assigned source fields (if any)
          o Rule type (fixed value, translation etc.)
          o Coding.
          o Some fields are preset by the system & are marked with Default setting.
        • Maintain Fixed values, translations, user defined routines – Here reusable rules can be processed like assigning fixed values, translation definition etc.
        • Specify Files
          o Legacy data location on PC / application server
          o File for read data ( extension .lsm.read)
          o File for converted data (extension .lsm.conv)
        • Assign Files – to defined source structures
        • Read data – Can process all the data or part of data by specifying from / to transaction numbers.
        • Display read data – To verify the input data being read
        • Convert Data – Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
        • Display converted data – To verify the converted data
    Import Data – Based on the object type selected
        • Standard Batch input or Recording
          o Generate Batch input session
          o Run Batch input session
        • Standard Direct input session
          o Direct input program or direct input transaction is called
    BAPI / IDOC Technique:
        • IDOC creation
          o Information packages from the converted data are stored on R/3 Database.
          o system assigns a number to every IDOC.
          o The file of converted data is deleted.
        • IDOC processing
          o IDOCS created are posted to the corresponding application program.
          o Application program checks data and posts in the application database.
    Finally Transport LSMW Projects:
        • R/3 Transport system
          o Extras ->Create change request
          o Change request can be exported/imported using CTS
        • Export Project
          o Select / Deselect part / entire project & export to another R/3 system
        • Import Project
          o Exported mapping / rules can be imported through PC file
          o Existing Project data gets overwritten
          o Prevent overwriting by using
        ‘Import under different name
        • Presetting for Inbound IDOC processing not transportable.
    <b>One Last thing, Check in BD64 is the Distribution model is Active for Profit Center</b>.
    Cheers...
    Santosh.D
    <i><b>Mark All the Usefull  Answers.</b></i>

  • Error Message - No ALE scenario active in Profit Center Accounting

    Hi Friends ,
    I am uploading Profitcenter master using LSMW  Bapi method .  I am getting error message  " Getting error "No ALE scenario active in Profit Center Accounting"    in  step - IDOC Processing  of LSMW .
    I hope i am missing some specific settings for this requirement , any suggestions willl be highly appreciated .
    yah i have chekced the same query in sdn , but did not find any solution to that so i am posting this query .
    Thanks
    Prabhdutta

    Resolved by  BDC .

Maybe you are looking for