Profit center substitution in delivery from Purchase Order

Hi all
Hi have a stock transfer process between two company (1 sending company and the different target companies). I must change the profit center of sending company following the target company code (profit center A for target company A, B for B,etc.). The sales order substitution for PC doesn't work in this case because the delivery born from a PO not from a SO. I find I can make the change for the goods movement  with the exit EXIT_SAPLPCRW_002, but I don't found exit for the delivery document (important for the intercompany invoice profit center). Someone have ideas?
thank
Davide

GGB1?

Similar Messages

  • Function Module / BAPI for Inbound Delivery from Purchase Order

    Hi,
    I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
    The requirement is that i should be able to specify selected line items from PO for delivery.
    I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
    Do reply.
    Thanks in advance.

    check these and their documentations.
    BAPI_INB_DELIVERY_CHANGE       Change inbound delivery
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for inbound delivery verification from a decentralized system
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries
    Regards
    Prabhu

  • Profit center is not picking from sales order to the billing document

    Hi
    I am creating billing document but it is not picking profit centre from the sales order.
    Could you please help me in this.
    thanks in advamce.

    Hi,
    Ensure that the profit center is assigned to your Sales order.
    Also maintain the following settings in copy control.
    Goto the T.Code "VTFA".
    Select your valid combination.Details.
    Double click on "Item".Select your Item category.
    Details.
    Maintain "Copy requirements" as "002".
    Data VBRK/VBRP as "002".
    Regards,
    Krishna.

  • Create delivery from Purchase order

    Hi all,
    I want to know the TCode to create a delivery from a Purchase Order
    Harini

    HI HARINI KESANI,
                                 IN ORDER TO CREATE DELIVERY FROM PO CAN DO THRU THE T.CODE
    VL10B( BATCHES). ENTER THE PURCHASE DOCUMENT IN THE PURCHASE ORDERS TAB PAGE, CLICK ON EXECUTE
    YOU WILL ENTER INTO ANOTHER SCREEN , SELECT THE LINE ITEM AND CLICK ON EXECUTE BACKGROUND.
    YOU WILL GET THE DELIVERY NO., GO TO VL02N AND DO THE POST GOODS ISSUE.
      YOUR CAN ALSO CHECK THE DELIVERY NO. IN THE P.O , PURCHASSE ORDER HISTORY TAB PAGE, THERE U CAN SEE THE STATUS OF THE GOODS ALSO , WHETHER MATERIAL DELIVERED ,ISSUED AND GR.
    REGARDS,
    RAM

  • Profit center substitution with internal order when generating GL doc from

    Profit center substitution with internal order when generating GL doc from MM
    Dear expert,
    Please advise how to substitute successfully the profit center by which user-exit via FI substitution function.
    Substitutions have been set for profit centers in FI via t-code OBBH, but  the profit center will always be determined from the internal order when posting from MM subcon goods receipt
    Thanks
    James
    Edited by: Yun-Chung Yung on Jun 3, 2010 10:46 PM

    Hi,
    SAP give note 539421 - Dummy profit center with cost center
    account assignment. Looks applicable for your case.
    Solution:
    With the attached modification, you can restore the function from Release
    3.1: The directly assigned profit center remains and is not overwritten
    with the dummy profit center of the cost center.
    The problem is not caused by a program error in this case. The profit
    center is always derived from the existing CO account assignment even if
    this is the dummy profit center (see also Note 62417).
    This note applicable from release 40 until 605
    I hope this can help you. FYI, in my case, i do not create dummy profit centre, then profit centre working as sap priority.
    Regards,
    Dewi

  • Profit center substitution in Sales Order item level

    Dear all,
    In Our senario for Sales Order creation time at item level that is material level sale B tab user specified Berth no: in Pricing group field ( KONDA), Based on the Berth no, concern profit center derived  from subtitution rule .That purpose I tried Profit center substitution in that substitution,SAP has given PCB SUB structure in that structure main field has given but KONDA field not available, so please guide me how I update that KONDA field to that stucture (PCB SUB) in Profit center substitution area with ABAPER or
    I have developed a abap enhancement specifing berth no and profit center assignment and excuting the enhancement in sales order exit. Is there any problem for SD process, Our SD consultant using the sales order user exit for other purpose. He is not allowing to use that exit to execute the zdevelopment
    Please suggest me How I update that field into that PCB SUB structure for creation profit center substitution or
    can I use zdevelopment through sales order user exit . without affeting the SD process.

    Hi 
    I have the issue like..
    1.  For each line item of the sales order check, whether the profit center is filled or not, if it is not filled then determine the profit center and populate.
    2. If material of the line item is "sub component code" of a material that is "Offering component code", then compare the profit centers of line item with the profit center maintained for the material that is offering component code.  If the profit centers are different, replace the sales order line item profit center with the profit center of the offering component code material.
    3.  Above activities should happen when the sales order is saved.
    can somebody tell me which user exit ?? where coding can be dine.

  • Profit Center Substitution in Sales order

    Hello All,
    I have a Small Issue here.
    we have a substitution rule for the PCA Derivation in the SO with the combinations of few Sales Org, Distribution Channels and Divisions.
    But when a WBS Element is Assigned in the Sales order it is over writting the Substitued profit center with the profit center in the WBS Element.
    If we have not maintained any thing in the WBS it is Deriving the Dummy Profit Center from the controlling Area Settings in PCA
    Best Regards
    Ravi

    Ravi-
    Generally, the following prioritization in ascending order applies during the determination of the profit center:
    a) Material master
    b) Profit center substitution
    c) Manual entries
    d) Actual account assignment, for example: internal order.
    a) = Lowest priority , d) = Highest priority.
    This is standard.
    Hope this helps.
    Shail

  • Is there is a way to have a link from purchase order to cost center report.

    Is there is a way to have a link from purchase order to cost center report.
    I am meaning kind of:
    Standard way to customized this link?
    or
    User exit to have this link in place
    or
    Any other solution
    Thanks

    For me it does not make any sense from going from PO to cost center report.
    However, if you want to see the purchase order cost incurred with a cost center, execute KSB1 report. Within the layout, bring "Purchasing Document" field, where you can see the purchase order number in cost center line item report.

  • Not to include item from purchase order to the delivery order

    Hi,
    i need some guidance on above topic. The user requested to have the functionality not to include the item from purchase order to delivery order when the item having  order balance quantity more than the available stock.
    In other words, if a PO contains several items, those order balance quantity which is more than the available stock will not be included in the DO.
    is the above scenario possible?
    please advise.
    Thanks.

    Hi Yue ,
    u can do it , but in this case u have to make use of user exit or BADI.
    option 1 .
    by using user exit , u can delete/change picking/confirm qty .
    option2:
    while doing  the PGI , do can cross check stock avail with PO qty and raise error messages.
    LE_SHP_GOODSMOVEMENT --> see its documentations in se18.
    Regards
    Peram

  • Text copy from Purchase Order to Inbound Delivery

    Dear All,
    We would like to copy header texts from purchase order to the inbound delivery document.
    I could not found the customizing point copy-rules for theses documents.
    Is this possible and where have we to configure it?
    Thank you.
    Best regards,
    Thomas

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Delivery document from Purchase Order

    Hi Experts,
    How can I create a delivery document from Purchase order type NB?
    I have created a delivery from po type UB, and there is a shipping tab at the item. Do I need also a shipping tab in NB to create a delivery? If yes, how can I customize it?
    Thanks.

    Hi
    I think you are talking about NB for intercompnay stock transport order. For that you need to customization in below link
    spro>MM>purchasing>Purchase order>setup stock transport order
    Apart from STO there is no ther delivery for PO. Because for PO you can do only inbound delivery. For that you need to have confirmation control key defined in customization and then you need to give it in PO. Then you can create a inbound delivery for PO and gainst inbound delivery you can make GR.
    Regards
    Antony

  • Profit center substitution ?

    Hi ALL,
    I am working on a client requirement u201CContract wise Profitabilityu201D (PCA is activated and Document splitting is not activated). thought i am able to get the Contract wise Profitability report , but PC reporting is effected
    Business process:
    1)Contract is created (T.code Va41) with different lines item and the profit center is populated on the line item based on Product hierarchy+ Plant combination (Z table maintained )
    2) An internal order type u201Csapsu201D with revenue postings allowed is created and assigned to the line items (this is capture the actual revenue and Actual costs and develop a Contract wise profitability through BI)
    3) But when the internal order is assigned to the line item, the profit center is getting changed to DUMMY profit center (as no profit center is maintained on the internal order type master data)
    4) When ever the billing is done the off set account is getting posted to the Dummy profit center (I am aware this is STD behavior as the co real assignment profit center supersede the FI account assignment)
    I am able to get the Contract wise Profitability as desired, but at the cost of Profit center reporting,
    Please help me to get the posting to done on to the right profit center.
    Can we achieve the desired result through Substitution? (If yes which is better, order substitution, PCA substitution or Gl line item substitution)
    Or can we achieve this through any Note/BAdi/BTE
    Kindly advice, waiting for your suggestions!
    Thanks
    RS

    HI, We used  the mentioned BADI, we are able to change the  profit center but the internal order is getting passed to the Accounting  document   and when we  doing the reveersal , the  reversal Accouting document (revenue account )is Getting populated with wrong Profit center (Dummy) Kindly advice,
    This  code is what we put  in to the BDAI
    thanks
    Method IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK.
    **// This Badi is only for " ZYES  " Contract Document Type
    **// This Badi will get the Profit center at the time of Billing acc.doc generation
    **// aswell at the time of Rev.Reg Document Generation
    DATA:  IMT_ITEM    TYPE ACCIT_T,
            IMS_ITEM1   TYPE ACCIT,
            IMS_ITEM2   TYPE ACCIT,
            IMS_HEAD    TYPE ACCHD,
            EXT_ITEM    TYPE ACCIT_SUB_T,
            EXS_ITEM    TYPE ACCIT_SUB,
            EX_DOC      TYPE ACC_DOCUMENT_SUBST,
            LV_VBELN    TYPE VBELN_VA,
            LV_POSNR    TYPE POSNR_VA,
            LV_AUART    TYPE AUART,
            LV_PRODH    TYPE PRODH_D,
            LV_VTWEG    TYPE VTWEG,
            LV_SPART    TYPE SPART.
      IMS_HEAD    = IM_DOCUMENT-HEADER.
      IMT_ITEM    = IM_DOCUMENT-ITEM.
      IF IMS_HEAD-AWTYP  = 'VBRK' AND ( IMS_HEAD-TCODE EQ 'VF01' OR IMS_HEAD-TCODE EQ 'VF11' ). " Billing & Cancel
        READ TABLE IMT_ITEM INTO IMS_ITEM1 INDEX 1.
        IF SY-SUBRC EQ 0.
          SELECT SINGLE AUART FROM VBAK INTO LV_AUART WHERE VBELN EQ IMS_ITEM1-XBLNR.
          IF LV_AUART EQ 'ZYES'. " CRM Contracts
            LOOP AT IMT_ITEM INTO IMS_ITEM2.
              IF IMS_ITEM2-PRCTR IS NOT INITIAL.
                CLEAR IMS_ITEM2-PRCTR.
                SELECT SINGLE PRCTR FROM VBAP
                                    INTO EXS_ITEM-PRCTR
                                   WHERE VBELN EQ IMS_ITEM2-AUBEL
                                     AND POSNR EQ IMS_ITEM2-AUPOS.
                IF SY-SUBRC EQ 0.
                  EXS_ITEM-MANDT = SY-MANDT.
                  EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
                  EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
                  EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
                  EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
                  APPEND EXS_ITEM TO  EXT_ITEM.
                ENDIF.
              ENDIF.
            ENDLOOP.
            EX_DOC-ITEM[] = EXT_ITEM[].
            EX_DOCUMENT = EX_DOC.
          ENDIF.
        ENDIF.
      ELSEIF IMS_HEAD-AWTYP  = 'VBRR' AND ( IMS_HEAD-TCODE EQ 'VF44' OR IMS_HEAD-TCODE EQ 'VF46' ). " Revenue Reg & Cancel
        LOOP AT IMT_ITEM INTO IMS_ITEM2 WHERE PRCTR IS NOT INITIAL.
            CLEAR:LV_AUART,LV_VBELN,LV_POSNR,IMS_ITEM2-PRCTR.
            LV_VBELN = IMS_ITEM2-ZUONR+0(10).
            LV_POSNR = IMS_ITEM2-ZUONR+10(6).
            SELECT SINGLE AUART VTWEG SPART FROM VBAK INTO
                               (LV_AUART,LV_VTWEG,LV_SPART) WHERE VBELN EQ LV_VBELN.
            IF LV_AUART EQ 'ZYES'.
              SELECT SINGLE PRCTR FROM VBAP
                                  INTO EXS_ITEM-PRCTR
                                 WHERE VBELN EQ LV_VBELN
                                   AND POSNR EQ LV_POSNR.
             IF SY-SUBRC EQ 0.
                EXS_ITEM-MANDT = SY-MANDT.
                EXS_ITEM-AWTYP = IMS_ITEM2-AWTYP.
                EXS_ITEM-AWREF = IMS_ITEM2-AWREF.
                EXS_ITEM-POSNR = IMS_ITEM2-POSNR.
                EXS_ITEM-GSBER = IMS_ITEM2-GSBER.
                EXS_ITEM-AWORG = IMS_ITEM2-AWORG.
                APPEND EXS_ITEM TO  EXT_ITEM.
              ENDIF.
            ENDIF.
          ENDLOOP.
          IF EXT_ITEM[] IS NOT INITIAL.
           EX_DOC-ITEM[] = EXT_ITEM[].
           EX_DOCUMENT = EX_DOC.
          ENDIF.
      ENDIF.
    endmethod.

  • Profit center substitution in Goods issue document

    Hello Gurus
    I am determining profit center through the profit center substitution in sales order through 0KEM transaction and activated it in 0KEL as activation 3.
    I have taken the fields as sales organization  and sales office with transaction code VA01 and VL02N .
    After this the substitution happening in sales order and also in delivery but the substitution is not reflecting in the goods issue document neither coming  for inventory nor in COGS anyway but it is reflecting in the FI accounting document but not for customer but for sales.
    Please help me  to with your kind suggestion for resolving this issue.
    I need the substituted Profit center also to come in the accounting document of PGI and for customer in FI accounting document.
    Thanks in advance
    Subu

    Hi Subbu
    1. 0KEM works for sales order and related billing.. It does not work for PGI, unless you are in MTO scenario and sales order is CO object
    2. At PGI - Inventory a/c will be Cr with PC in Mat Master... COGS (If not a cost element) will also be Dr with the same PC
    If you are in MTO, the COGS will be posted to sales order and hence, it will have the same PC as sales order
    3. During Billing, revenue a/c is Cr with PC in sales order... Customer line is never shown with PC in the line item....
    - If you are on EC-PCA, you need to run 1KEK at month end...
    - If you are on New GL + Doc Splitting, PC will be shown in the "General Ledger View" in customer line item... the "Entry View" wont have any PC
    BR,Ajay M

  • Profit Center Substitution Rules are exceeding More than 999 Rules

    Hi Experts,
         (Transaction Code GGB1) Profit Center Substitution Rule are exceeding More than 999 Rules. And there is a need of substitution rules to create.
    Please suggest me if any User Exists are available or alternative solutions through wich i can determine the profit center in sales order and same profit center can be transfer to FI as well as CO...
    Regards,
    Shivaji

    In the substitution you can use the option EXIT
    click on the help and go from  there:
    In table T80D you have to assign the exit name
    There are example ABAP's the standard one yopu have to replace in the table with a z version.
    Perhaps an other option is to de redesign from you substitutins, by using perhaps set's

Maybe you are looking for

  • How to find Spool number for a 2 steps background job.

    Hi All, How to find spool number (and also the background job name ) for a 2 steps background job. in the table TBTCO i can see step numbers but i dont get the spool number. Is there any link between TBTCO and TSP01. Also after getting the spool numb

  • Bad scans on an HP Color LaserJet Pro MFP M476dn

    we have been using this All-in-One with no issues for a few months and then this morning, we get these black scans that have colored lines.  doesnt matter what we scan or what type of scan we perform.  i have been in the IT field for nearly 20 years

  • Indesign export text as rtf with links

    Hi, I have an indesign file with lot of math type equation are EPS as in links. Now I want extract the indesign file as rtf format. I know math type is not directly support the indesign. So I want to get the links name and delete the links from the i

  • MON IPHONE 4S NE POSSEDE PAS DE BASEBAND ET IL S ETEINT QUAND J ACTIVE MA CARTE SIM

    bonjour a tous, j espere que vous allez pouvoir m aider, je vous explique mon soucis: je possede un iphone 4s, baseband 3.1.04, mon soucis est que parfois mon baseband n'apparait pas dans informations, mais le plus contraignant c'est que si je ne met

  • Toshiba revcovery media fails failed to open e\boot\bcd

    i am running the toshiba create recovey media on my satllite pro c660-21d as my first job it askes for 2 dvd disks using brand new disks it failed with failed to open e\boot\bcd 020123-f1-00000000 i am trying another disk but if that fails what next?