Create SO based on PO of different company code

Hi all,
Is there a standard set up for SO creation from a PO of different company code?
Much appreciate if you could let me know the details.
Cheers,
Kenneth

Again,
you dont need IDOCs always to create a sales order. You can also create a sales order automatically from the PO through an online job. You can discuss with your ABAPer about online job and they can be able to help you.
For IDOCs
You can enable sales order through IDOCs also. For this you have to create a message type for the PO and the transmission medium should be maintained as 6. Explaining the IDOCs fully may not be possible here. However it is easy to configure IDOC if you know message determination in MM or outputs in SD.
To know more about IDOCs you can go to the links given below. They are the best ones I have seen so far.
http://sapabaplive.blogspot.com/search/label/idocs
http://abapliveinfo.blogspot.com/2007/12/abap-idocs-basic-procedures.html
You should also discuss with the technical team on the function module which should update the IDOC. The FM needs to be developed.
Also I am updating some of the tcodes which I know of IDOCS
WE20----PARTNER PROFILE
WE20----TO INCLUDE PROCESS CODE TO PARTNER PROFILE
WE41----TO CREATE PROCESS CODE
WE21----PORT DEFINITION
SM59----RFC ADMINISTRATION
WE46----IDOC ADMINISTRATION
WE06----ACTIVE MONITORING
WE07----IDOC STATISTICS
WE09----IDOC DATABASE
WE10----IDOC IN ARCHIVE
WE08----FILE INTERFACE
WECP----CPIC INTERFACE
SM58----TRANSACTIONAL RFC
WE64----PROCESS CODES
There can be some other ways also by which you can create SO from POs, and you can get many ideas if you talk to your developer. My reply was more in the perspective of the company codes that how to determine the second ccode based on teh ccode of one document.
Please let me know if you need some more info
You can reward me if this info helps u

Similar Messages

  • Creating Workflows for a Corporation with Different Company Codes

    Hi,
    We have just done a roll-out for Company A which is part of a big corporation (group of companies).
    The system version implemented  is ECC 6.0 with  modules (HR,MM,FI,DBM)
    I have implemented and rolled out  several workflows (Leave,PR,PO, Payment approval)for Company A and am now expected to do the same workflows for Company B,the business processes as per flowcharts remain the same as for Company A.
    Company A uses company code 1000, while company B will use company code 2000.
    Users in Company B will log in to the same PRD servers.
    Some approvers of workflow in company A will be responsible for some workflow approvals for staff in company B though HR have completed implementing an org structure for company B.
    Is it possible to use the same workflow templates  by saving them in a different name and change the agents to reflect company B org,if so how do I go about it?
    In future we will also roll-out to Company C.
    What is the best way to do it and save time as well.
    Thank you.
    Missa

    Hi
    Consider a scenario like EMPB  who belongs to CMP B has applied a leave and EMPA manager of EMPB who belongs to CMP A,
    Now in order to send the leave request for approval to EMPA you can define or create a rule from PFAC transaction. in such a way that
    1. First try to get the initiator details like his personnel number.
    2. Once you have the Employee number , by using it you can read hi Org Assignment details from PA0001 to get employee sepecifc compnay code.
    3. BAsed on the employee group and sub group you might have to decide who is manager I hope this would be defined already in the org structure.
    4. Once you know who is the manager , get his position details and from it get holder and his communications info from PA0105.
    IN this way if you define a rule by calling a function module. You can make use of the same workflow. but based on the initiator  details you need to dort out the manager.
    The simple way is to define and impement the Rules dynamically to fetch the agents based on the Personel are/sub are and employee group and sub group.
    Regards
    Pavan

  • Create Customer at POS and upload to different company code

    Hi Experts
    Client Requirement is like this
    Two company codes are here e.g. company code BP01 and BP02
    BP01 has one store
    BP02  has three store
    Now Customer is create at POS Server at any store .
    here we can create customer with respect to any one company code
    Same customer want to  buy goods from both company code and can get rewards points
    question
    so cutomer has to extend in other company code and has to update to each POS SERVER which located in each store 
    how to handle this scenarion
    regards

    Hi Hanumant,
    Assuming if customer, buys some item from CCode BP02 regularly, then you can create the customer on the POS application (like SAP POS..), and append the POS Customer master (re-use any text field) with information of other company code where the customer wishes to deal with).
    The customer master will be passed using inbound idoc, on to the IS Retail Server in the HO.
    Now at HO level a the customer can be extended for multiple company code ..in this case BP01 manually or by an automated program, which will monitor the specific field (coming from the new customer master idoc from POS) , if it detects contents, it reads the same and extend the customer as per mentioned ccode.
    So next time onwards , using outbound doc , customer master can be updated to all locations for that customer. Similarly the loyality point, can be accumulated based on the purchases made per Ccode.
    Regards,
    Anirban Roy

  • Creating PO Automatically ( for different company code)

    Hi All, I have a business requirement wherein i need to create an automatic Purchase Order (in a different company code).
    Lemme explain it..
    1) I have created a sales order using EDI file in company code say xxxx(thru idoc)
    Now the business requirement is ;
    How can i create an automatic PO in the same system but different company code say yyyy..if anyone has come across this scenario please post your tots, if u cud please suggest the possibilities which are logically possible, for sure ur efforts will be appreciated and rewarded..
    Many Thanks

    Hey Martin thanks for making an effort, well i posted here coz i could find in a link where its says "The best practice would be set up a workflow event that is consumed by PUR_ORDER_CREATE_VIA_SD_EVENT . The function is linked to SD event BUS2032 ALECREATED in transaction SWETYPV. ".please find the link below for your reference which has the same business requirement i have..
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983423,00.html
    Awaiting your reply..Thanks

  • Is it possible to assign different company code employees(country grouping also different) under same Organizational Unit?

    Hi SAP Experts,
    In OM side, Org Unit is linked to company code "GB**" cost center, when we tried to assign new cost center(company code is GB**), system throws error "Company Code changes involves Invalid change of country". I know when we try to assign cost center, belongs to another country company code, this error comes. I checked and found that employees under OU belong to 2 different countries.Few of the employees belong to GB** company code while other employees belong to FI** company code.
    Is it possible to assign different company code employees(different country code) to the same OU? if yes, how can we do that?
    Please reply soon
    BR,
    RG

    Hi RG
    "Is it possible to assign different company code employees(different country code) to the same OU? if yes, how can we do that?"
    Yes it is possible to assign by creating sub org unit and then assigning cost center based on the company code (and country code)
    When the child org unit is created under the Parent org unit - maintain the Account assignment details - cost center details based on the company code of other countries i.e Finland and any positions created it will be under Finland and that way you can choose different countries.
    Example :
    Root Org unit : XYZ / OU
    Sub Org units : GB  / Finland / Italy / NL   etc with respective cost centers
    Sub Org units or positions: GB_HR / GB_Sales etc which will default the cost center from the GB org unit.
    In our current clients we have more than 5 + countries under the Root Org unit and then sub org units as each country which are further divided and have respective cost centers assigned.
    best wishes
    V

  • Billing in Stock Transfer between two plants of two different company codes

    Hi Friends,
    I am doing the scenario of stock transfer between two plants of different  company codes.
    I have some issues in Billing for this..
    What are the settings do i need to to for Pricing in SD point of view.
    Ex:
    Supplying         /         Receiving
    Com.Code:2000     /        CompanyCode:1000
    Plant:2100              /         Plant:1100
    SA:2000/10/00      /          SA:1000/10/00
    I created Customer 5555 w.r.t sales area of supplying company code (2000/10/00)
    I created Vendor  7777 and assigned Supplying Plant 2100 in add purchasing data.
    In IMG Settings:
    Define Shipping Data for Plants: In Receving Plant i assigned customer 5555 and sales area blank
                                                        In Supplying Plant i assigned customer blank and sales area as 2000/10/00
    Create Checking Rule: Standard(B SD Delivery)
    Define Checking Rule: Standard(Avallability-01assigned to checking rule B)
    Assign Delivery Type and Checking rule: Document type(NB)-Supplying Plant(2100)-Delivery Type(NLCC)-Checking Rule-(B)
    Assign Doc Type:Supplying Plant(2100)-Receving Plant(1100)-Doc type(NB)
    What are Pricing settings in SD i have to do?????????
    Process:
    ME21N->VL10B->VL02N(PGI)->VF01(IV)->MIGO->MIRO
    I have gone through many threads in Forum but confusion in Pricing Part..
    Some are mixing with the inter company sales proces..
    Pls guide me..
    With Regards

    Do the following steps for STO Customizing:-
    1. Create a customer master record for the issuing plant.
    2. Create a vendor master record for the issuing plant, and enter customer account number in the Customer field on the Control screen.
    3. Repeat steps 1 and 2 for the receiving plant.
    4. Assign the plants to the customer master record in Customizing for Materials Management (MM), by choosing Purchasing <Purchase Order < Set Up Stock Transport Order< Plants.
    The Process Flow would be as follows :-
    Create a stock transport order, following the standard procedure, and send the order to the issuing plant.
    Issuing plant has processes your order, and when it is ready to ship,the storeperson at the issuing plant issues the goods using a transfer posting. The excise clerk there creates an excise invoice.The excise supervisor verifies and posts the excise invoice.It then sends the goods to you, together with the excise invoice.
    Once the goods arrive, you follow the standard procedure for incoming excise invoices:
    The excise clerk captures the excise invoice, using the stock transport order as the reference document. The storeperson enters the goods receipt, again using the stock transport order as the reference document.Alternatively, you can first enter the goods receipt and then capture the excise invoice.
    The excise supervisor then posts the excise invoice.
    Best Regards,
    Ankur

  • EXTERNAL OPERATION in a production order with  different company code plant

    Hi,
    in my case i am having a production order with  4 operations.
      0010 milling
      0020 winding
      0030 cutting
      0040 milling
    among this opearion 0030 i want to do it in a plant which is assigned to different company code than mine.
    in this case whether i should proceed with PP01 Control key  with opearion plant as that plant which is lieing in diffent company code or
    i should specify  PP02 control key saying that plant as an external vendor for me and do PR  and PO for that service .
    which should i follow for my case and how cost gets updated .

    Hi,
          For different company code, u have to specify PP02 in the routing for external vendor. In PP02 control key indicator must be set in external opn.
    Before that create purchase info record.
    Enter subcontract info record in routing.
    after running MRP , convert the PR to PO.
    Send the material by MB1B by 541 mvt
    Receive the material by MIGO  by 101 mvt.
    Regards,
    Raja sd

  • Problem for creation of PO for different company code

    I have problem for creation of PO using ME21 for different company code.Order is not created.
    Please give reply it is urgent.

    Hi Mansih,
    I don´t understand what is your exact problem, as I don´t see any company code being specified. But maybe you should check in XK03 that the vendor master data is created for this company code/purchasing organisation!
    Have a nice day!

  • Billing issue in case of stock transport between different company codes

    Hi all,
    In my project there are 2 different company codes - C001 & C002.
    C001 has plant K101 & C002 has plant K201.
    I am trying for the cross company code stock transfer. The plant K201 issues a stock transport order to plant K101. Now I created a delivery using transaction code VL10G & the system created a delivery successfully.
    I did the picking & PGI using transaction code VL02N successfully.
    Now I am trying to create a billing document in VF01 taking the reference of the delivery number created above but the system issues an error log stating
    "0080000020 000000 The document is not relevant for billing"
    The detail description is as under:
    Client...................................................210
    Group Number
    Sales Document Number.......................0080000020
    Item Number of the SD Document..........000000
    Schedule Line Number..........................0016
    Counter in Control Tables......................00
    Message Identification..........................VF
    System Message Number....................016
    Output Type........................................I
    Message Variable 01
    Message Variable 02
    Message Variable 03
    Message Variable 04
    Group Type.........................................F
    with best regards,
    Neeraj Kumar

    HI ,
    you just check the Billing type which is assigned for that Delivery type and also check what type of billing document it is i.e., in T.code VOFA
    1)Check SD document category ,whether it is invoice or Proforma invoice,
    2)check copy controls
    Regards
    Raghavendra

  • Inter company STO wtih two different company codes

    Hello expert,
    I am doing inter company stock transfer between two plants that belongs to two different company code. Can someone tell me if my settings are correct
    Plant-A  (S.org- X, DC-10, D-00) and CC-A
    Plant- B (S.org-Y, DC-10, D00) and CC-B
    Deinfe shipping data for Plant u2013A
    u2022     Plant u2013A
    u2022     Customer u2013B
    u2022     Sales Org-X
    u2022     DC 10
    u2022     D 00
    u2022     Under Control data tab, Vendor = A     
    Define shipping data for plant u2013B
    u2022     Plant u2013B
    u2022     Customer u2013A
    u2022     Sales Org-Y
    u2022     DC 10
    u2022     D 00
    u2022     Under control data tab, Vendor = B
    Customer Master for Plant -A
    u2022     Customer-A
    u2022     CC-B
    u2022     S.org-Y
    u2022     DC -10
    u2022     D-00
    Customer Master for Plant -B
    u2022     Customer-B
    u2022     CC-A
    u2022     S.org-X
    u2022     DC -10
    u2022     D-00
    Vendor Master for Plant u2013A
    u2022     Vendor u2013A
    u2022     CC- B
    u2022     P.org = 1000
    u2022     Additional purch data/Extrac = A
    u2022     Under control tab, Customer = A
    Vendor Master for Plant u2013B
    u2022     Vendor u2013B
    u2022     CC- A
    u2022     P.org = 1000
    u2022     Additional purch data/Extrac = B
    u2022     Under control tab, Customer = B
    When i try to create a STO with document type NB, it says shipping data can't be determinded. Ofcourse , the material is being maintained for both plant with sales data. thank you so much for ur help.

    this is because of of shipping point is not determined, maintain shipping point for the following combination
    1)The shipping conditions from the customer master record (Shipping screen)
    2) The loading group from the material master record (Sales/Plant Data screen)
    3)The delivering plant
    Regards,
    Bala

  • STO - Two plants within Different Company Codes

    Hello,
    Kindly help me out with this case, i want to create a STO for two plants within DIFFERENT company codes, so i've created all the required configuration and master data including creating the supplying plant as a vendor and the ordering plant as a customer, also all master data is maintained in both plants and i tried the scenario on the IDES system and it works okay so i know i'm on the right procedures. The problem is that i create the PO, but when i go to Transaction Code VL10B to create the delivery it gives me an error ( Delivery with no Line item not allowed ) even though there is more than enough stock in the storage location. Kindly help me out.

    17.01.2010     Stock                            10.500,000      0,000      10.300,000
    13.01.2010     Order     Totals record     100,000-     100,000      10.300,000
    13.01.2010     Deliv.     Totals record     100,000-     100,000      10.300,000
    17.01.2010     StLcSt     SLFR     10.500,000      0,000      10.300,000
    13.01.2010     Order     Totals record     100,000-     100,000      10.300,000
    13.01.2010     Deliv.     Totals record     100,000-     100,000      10.300,000
    17.01.2010     BtchSt     123     10.500,000      0,000      10.400,000
    13.01.2010     Deliv.     Totals record     100,000-     100,000      10.400,000
    17.01.2010     BStLoc     123       /SLFR     10.500,000      0,000      10.400,000
    13.01.2010     Deliv.     Totals record     100,000-     100,000      10.400,000
    This is the whole table.
    This is what i got. i believe that it is an availability check problem, i just can't see what is the solution.
    SLFR is the Storage location of the issuing plant.

  • Vendor Data for different company codes/purchase organization

    Hi,
    In Fax massages of POs the fax number is taken automatically from the filed ADRC-FAX_NUMBER.
    We have 2 different companies and each has their own contact number and fax for the same vendor.
    How can I differentiate the numbers to each company code or purchase organization?
    Where can I maintain different fax and telephone numbers for a single vendor, that can be used in the printing of POs?
    Thanks
    Shachar

    Hello,
    If your intention is to use the same vendor code for different company codes, create a new OA partner with the 2nd fax number. You can default the OA partner in the contract.
    Hope this helps,
    Cheers!

  • Withholding tax of vendor in different company code

    Hi All,
    We are facing problem that withholding tax of single vendor is being deducted correctly in one of the company code while in others, it deducts 0 tax.
    Single vendor e.g. 100002 is created in Company Code 112
    The same vendor is extended in Company Code 113, 114 and 115
    The issue is, we have created four different invoices in different company codes. Now we are making payment by selecting four of the invoices through F-58. It deducts the withholding tax in only 112 company code, while in others its calculating wht = 0
    The configuration is such that, withholding tax type '01' is used in vendor master and in all invoices. The minimum limit is set to 0 so there is not any possibility of not exceeding the minimum amount. The other thing is withholding tax is set at country level, and all of our company code belong to same country so no issue of different configuration. We also check if 'Liable' is checked in each vendor master as well as no exemption is given in any period.
    What could be the possibility?
    Warm Regards,
    Nayab

    Thank you Chandra for quick response.
    I checked, everything is perfectly set. I guess there is some issue with extension of same vendor in different company codes as e.g. in new company code, same withholding tax code is applied on vendor's invoice and deducted correctly while for other vendor it is not.
    Is there any thing related to vendor master?
    PS: Can we check through some report if withholding tax amount on some particular vendor is exceeded with its minimum withholding tax amount, set in IMG?

  • MAM Order - Two items having Booking Units with Different Company Code

    MAM order created with 2 Line Items
    Booking Unit in each Line Item belongs to different Company Code .( Internal Order within each Booking Unit has different Co. Code )
    After billing individual Line Items ,Two separate Billing doc. will be created for this Order
    Each Billing document should be posted to different Co. Code depending upon Co. Code in Internal Order of respective Booking Unit
    TS - 9350801900

    Dear Chandramohan ,
    Thanks for the reply .
    But the solution given by you will just change the message class .I wanted to post Two different Line Items within a single MAM Order to different Co Codes after billing . 
    Scenario is that SOrg1 assigned to CCode1 & SOrg2 assigned to CCode2 .
           Booking Unit  BU1 has Internal Order belonging to CCode1 & BU2 has Internal Order belonging to CCode2
    Now MAM Order1 created with SOrg1 having Two Line Items with BU1 & BU2
                    After Billing ,Two Billing Docs will be created for each Line Item .
                     Both Billing Doc will be posted to CCode1
    Now MAM Order2 created with SOrg2 having Two Line Items with BU1 & BU2
                    After Billing ,Two Billing Docs will be created for each Line Item .
                     Both Billing Doc will be posted to CCode2
    Means even if Two Line Items are created within a single MAM Order having BU of different Co Codes ,after billing both Billing Docs will be posted to Co Code of Sales Org at Header level .
    As per the requirement ,irrespective of header Sales org , Line Items needs to be posted to respective Co Code of Booking Units .
    Tds ,
    TS

  • Same warehouse for different company codes

    Hello Guru's
                     is there a possibility in WM , considering decentralized WMS to create a warehouse which can be managed by two different company codes.
    thanks a lot for ur suggestions

    yeah i do understand that warehouse is connected to plant and we can also have one warehouse to two plants and manage the inventory but in my company case, we manage the inventory of two different company codes in one warehouse by their legacy systems, so i was wondering how to map that in SAP.
    In the centralized warehouse as far as i know i dont think we can assign the warehouse to 2 different company codes but i was wondering can we do that in decentralized warehouse.
    thanks for the reply

Maybe you are looking for

  • How to Stop HP C5580 printis page containing the filename, directory etc along with my primary doc

    HP C5580 All In One Printer started printing an additonal page document properties every time i print my master document.  This never happened before and i can't figure out how to stop it...it's waisting paper and ink.  Please Help Windows XP Version

  • How to find purchase order bapi

    can any one help how to find purchase order bapi.

  • API's to populate ZX tables, ap_invoice_lines & ap_invoice_distributions

    Hi, Right now we are in the process of upgrading our application from 11i to R12.1.3. During the procure to pay upgrade, We are facing a challenge in interfacing R12 Oracle Payables invoices with Vertex Q Series Tax. The existing vertex interface pro

  • Linking to SQL Server using DG4ODBC

    Hi all, I've configured Oracle 11g R1 for Windows 2003 Server 32-bit to connect to MS SQL Server 2005 through ODBC. Following is the error I got when I try to access SQL Server by the db link in Oracle: SQL> select sysdate from dual@sqls ; select sys

  • Database incosistency

    Hello all, I have been plagued with DB inconsistencies. I have read everything I can to solve this. I was successful by removing all Projects, adding them one at a time and rebuilding after each project was put back into the library. I was finally co