Automation of Purchase Order to Sales Order
Hi all,
Suppose I created a Purchase Order '123' and an IDOC has also been created for this PO. I would like the system to create a Sales Order for the same Purchase order I created in the same system. Can you all let me know the different solutions for this?
Thanks,
Hi Mohammed,
Please check the scenario:
Purchase order from Customer --> Sales Order in SAP for customer --> Purchase Req and Purchase Order ( if parts are not available, third party) sent to Vendor --> Delivery --> Billing .
If the above scenario is correct, if you create a PO means, this is to Vendor (Internal or external), once this is created, goods will be shipped and billed.
Suppose customer is buyer and seller. First Sales order and then PO will be created. Again SO wont be created.
If you want to create a Return Order, then you can search from VBFA reffering the billing document of the customer and you can fetch sales order and corresponding PO's.
Regards
Kannaiah
Similar Messages
-
Purchase Order to Sales Order Automation
Hi all,
Suppose I created a Purchase Order '123' and an IDOC has also been created for this PO. I would like the system to create a Sales Order for the same Purchase order I created in the same system. Can you all let me know the different solutions for this?
Thanks,Hi;
Step 1: PO 123 is created thru EDI.
Step 2: SO is created thru EDI referring the PO#. We cannot do a PO-SO conversion as there is no Copy control for this. This is not possible. In the ORDERS04 idoc type in the segment E1EDKA1-IHREZ you can send the PO# and this would populated in the PO# field in the Sales Order.
Step 3: Update the SO# in the PO. Once the SO is created send the information back to the Source system and update the PO with the SO#.
Regards,
Mani. -
EDI from Purchase Order to Sales Order
Hi all,
I've customized the EDI system: at purchase order creation the system automatically creates a sales order(inside the same system). Now i'm facing the following situation : since PO data is very different from SO data (eg. terms of payment), i'm getting errors when i integrate the sales order idoc. Is there a way that i can "map" the "transalation" of the PO to SO data. How can i do this? Best regards,
PCastroPedro, when you create the SO , what are the steps before creating the Idoc, is it automated, if not you can maybe write some ABAP code and change the data before the Idoc is created.
I cannot get the full picture of what you are doing but if the Idoc creation in not automatic you can always change the values in some ABAP code.
If it is automatic, see if there are any user exits.
Regards -
Third party sales and individual purchase order MIGO DIFFERENCE?
Hi experts,
any difference between third party sales and individual purchase orders goods receipt(MIGO). What's the stock levels chages after goods receipt in both cases? How the system knows that its third party migo and individual purchase order MIGO? Can anybody clarify my question?
regards,
rajuHi
In third party you will not be able to create automatic PO
The schedule line category CS settings in VOV6 order type NB, MM item category 5 and account assignment category settings as X and in VOV7 for TAS create automatic PO ticked will ensure PR creation only and not PO
As suggested by the other friend you need to run t code ME59N or ME59 for automatic PO creation but certain condition to be met
1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked;
2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked;
3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO;
4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
You have to run ME59N transaction manually or schedule this as a background job
Regards
Raja -
Purchase order link to sales order
In account assignment dropdown in purchase order, 'sales order' option is available. Will that link sales order to PO ?
1. Does it mean when material is received, it will be used for assigned to that sales order ?
2. But some sales order can not be entered in purchase order. Does anybody know why ?Hi,
For third party order, either you can create the material master with item category group as BANS, so the system will automatically pick TAS in the sales order for the material or you can change the item category manually to TAS in the order.
This will trigger a PR, based on the PR a PO will be generated.
Defining Item Category Group
IMG ® Sales and Distribution ® Sales ® Sales Documents ® Sales Document Item ® Define Item category groups
Defining Item CategorySales and Distribution ® Sales ® Sales Documents ® Sales Document Item ® Define Item Categories
Item category TAS
Description 3rd party with SN CM
Item type Blank
Completion rule Blank
Special stock Blank
Relevant for billing B
Billing plan type Blank
Billing block Blank
Pricing X
Statistical value Blank
Revenue recognition Blank
Delimit. start date Blank
Business data item X
Sched. line allowed X
Item relev. for delivery Blank
Returns Blank
Weight/Vol.- relevant X
Credit active X
Determine cost X
Aut. batch determ. Blank
Rounding permitted Blank
Order qty = 1 Blank
Incomplete proced. 28
PartnerDetermProced T
TextDetermProcedure 01
Item cat. status group 1
Screen seq. group N
Status profile Blank
Create PO autom. Blank
Config. strategy Blank
Mat. variant action Blank
ATP material variant Blank
Structure scope Blank
Application Blank
Value contract material Blank
Contract release ctrl Blank
Repair procedure Blank
Billing form Blank
DIP profile Blank
Assigning Item Category
IMG Sales and Distribution Sales Sales Documents Sales Document Item Assign Item categories
Creating Material
MM01
1. On the screen Create Material (Initial Screen) enter the material number if External.
2. Choose Select View(s). (Basic View 1&2, Sales Views, Purchasing views and accounting views).
3. Enter the relevant data and save the material. Use material group BANS in the item material group field.
Creating SD Pricing Conditions for material
VK11
Creating Vendor Master
XK01
Regards -
Create purchase order automatically from Sales order.
Hi,
I have ticked Create purchase order automatically check box in item category TAS and TAB but still not able to generate Purchase Order automatically.???
any clue.
thanks/ashuYou need to have your prerequisites in place for the automated creation of the purchase requisition before the purchase order can be raised:
You may already have done this, but check that your material has the purchasing information on it (trxn MM02, purchasing tab), that a purchasing information record exists for that material and vendor in that purchasing org (trxn ME12), check that a source list exists as well (trxn ME02). If you have created the source list or purchasing info record after the sales order has been created then you will need to go into trxn ME56 to assign them manually. That should release the PO to be created.
In standard 3rd party, the PO is created using ME59 (prog RM06BB20), which can be run as a batch job.
Jon -
How sales order is created from inbound purchase order?
Hi experts,
My doubt is how a sales order is created when a customer sends a purchase order through EDI.
My doubt really starts here.. (how the Idoc is posted).
Case 1 : Just the process code is checked and corresponding function module is called and in background a sales order is created. (Or the below process)
Case 2 : The process code will point to a workflow where an authorized person will enter some more additional data's and save the document.
And also how pricing procedure, material determination, material substitution will take place/ works if we post a inbound purchase order into sales order since we need a human intervention for selecting the material in material determination etc..
can u people clearly explain how the process takes place in real time ...
with regards,
James..
Valuable answers will be rewarded..Hi James;
Let me try to explain with an example...Let us say u r placing an Order (Purchase order) online in a website. So you will fill in the necessary details in terms of your address, you would choose a product and etc...
Now, this is converted into a file and sent to SAP. SAP will inturn convert this file into an Idoc based on the input, the FM is called and the data is filled. At this point in time the status of the idoc would be 50. Now an validation happens and the idoc is pushed to status 64. Now there is a progrma RBDAPP01 is the which will do the actual processing, meaning converting the Idoc into an Order. If the idoc fails to convert then a workflow is created.
When the Idoc is processed it will actually go through VA01 txn and it would typically do everything that we do when we enter a order manually. Automation is the only difference.
Idoc is just data and this data as and when entered is processed and the necessary information is obtained. Meaning, when the Material is fed, the MM aspect of SAP kicks in and provides the necessary data, similarly the Pricing procedure is determined based on the parameters.
In effect all the information is stored in SAP and are kicked in as and when they are called for.
Hope you get an overview of this.
Regards,
Mani. -
User-Exits stop working in automated purchase order creation
Dear all,
we used to create sales orders with transaction VA01 and then separately call ME21N to create a purchase order.
In saving the purchase order we activated user-exit EXIT_SAPMM06E_012 to process some extra logic we need here.
Now we changed to process for SAP to automatically create the purchase order (to eventually be able to automate the entire process, including sales order creation). Ever since we did that, the user exit is not called any more!
Does anyone know why? If I manually open ME22N and save the PO, it works! We have to find a way to run the logic in the user-exit during automated PO creation just for the volume of orders.
Besides that, we're still looking for a convenient way to update PO confirmations using a BAPI or other function module.
Thanks for your help!
regards,
Johannes.Good question
User-exit may not work as the function modules [ and not ME21N ] called in the Sales Order --> Purchase Req --> Purchase Order process may not call the enjoy user-exits.
Further, this process of automated PO works on Business Obejct event trigger.
So a event is triggered [ ALECREATED ] on Sales Order Business at the time of Sales Order Creation.
This event is linked with a function module called PUR_ORDER_CREATE_VIA_SD_EVENT.
similarly for change it is PUR_ORDER_CHANGE_VIA_SD_EVENT.
If you go through the FM code, you can make out how to utilize this FM as user-exit.
However you need to make the change in this FM after copying the related function group to a Z one. And then change the event linkage accordinlgy to call the new FM.
See Business Workflow --> Events section..
If you are not sure about how to do the event linkage then ask it in BPM section...[ They will request you to get lost ...no no ..they didn't do it to me ..just kidding ]
Cheers,
Ram -
Third Party Sales: Automatic PO (Purchase Order) not created.
Dear All,
I am Implementing thirdparty business process where goods are directly moved from vendor to my customer.
As per my customer requirement I want to create Automatic PO for the Purchase requisition created from Sales order.
For this I have done the following settings:
Marked vendor relevant for Automatic PO.
Marked Material relavent for Automatic PO
Marked Sales Item Category relavent for Automatic PO.
While I saved my sales order Purchase requision was created and system unabel to create the Purchase order automatically. If you encounter this situvation please share your views.
Thanks & regardsHi
In third party you will not be able to create automatic PO
The schedule line category CS settings in VOV6 order type NB, MM item category 5 and account assignment category settings as X and in VOV7 for TAS create automatic PO ticked will ensure PR creation only and not PO
As suggested by the other friend you need to run t code ME59N or ME59 for automatic PO creation but certain condition to be met
1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked;
2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked;
3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO;
4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record.
You have to run ME59N transaction manually or schedule this as a background job
Regards
Raja -
Open Purchase Orders and Open Sales Orders
Hi,
Please let me know the table names for open purchase orders and sales orders.
Regards,
PriiHI Priti,
EKPO-ELIKZ "Delivery completed" indicator, This tell if the given PO line items has any open quantity or not.
Logic to find out if a given PO has Open Quantity or not is do the following:
" select the PO Qunatity.
SELECT SINGLE MENGE FROM EKPO INTO PO_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP.
" select the GR qunatity which has been received.
SELECT SUM( MENGE ) FROM EKBE INTO GR_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP AND
BWART = '101'.
" select GR Quantity which has been reversed.
SELECT SUM( MENGE ) FROM EKBE INTO GR_REV_QTY WHERE
EBELN = ITAB_PO_LN-EBELN AND
EBELP = ITAB_PO_LN-EBELP AND
BWART = '102'.
POSTED_QTY = GR_QTY - GR_REV_QTY .
OPEN_QTY = PO_QTY - POSTED_QTY.
Regards,
-Venkat. -
Open Purchase order for a sales division
Hi experts ,
I want to generate report for open purchase orders.This report is reqired for a perticular sales division.
I tried to use ME2L , for this we need to give list of vendors for that division. However i guess that in purchasing we dont maintain vendors at sales division level. Can you help me in this regard
Thanx in advance.
Regards,
AnandAnand -
U try using the report ME2M or u can copy this report to new one with ur changes.
Hope this resolves ur issue.
Reward points if useful.
Thanks,
Siva -
Open Purchase Order, Sales Order and WIP Jobs
Hello,
Can some one help me with the query to find all open sales order, open purchase orders and open WIP jobs for an organization.
Is there any way i can fetch this information from Oracle forms directly without running any backend query ? If yes, please help me with the navigation and other details.
Thanks,
Shilpa.XtreMe Imperium - Retailer sales reporting, a centralized reporting system for a malls POS data. It provides access to detailed, consolidated reporting of all retailers. We collect your data, and deliver it through reports that are customized to meet your needs.
XtreMe Imperium Retailer Sales Reporting allows you to
Manage master information of all retailers
Web based daily / optional intraday* reporting of POS data
Accurate sales information from retailers. No Misreporting
Analytical Information of brand & category performance
Average spend size with daily trends
MIS to strategize and implement Mall promotions
How it works
It all starts with the client software running on each location’s POS server. This client is a small application that is set up to execute using Windows Scheduler. This gives you full control over how frequently the data is sent to the server. Once the data is loaded to the server, using secure FTP over a broadband internet connection, it is loaded in to a MS SQL database. Once there, it is available for reporting using an interface that is simple and easy to navigate.
for more: [http://pftec.com/MallManagement/retailer-sales-reporting.aspx|http://pftec.com/MallManagement/retailer-sales-reporting.aspx] -
Purchase order and sales order table name
hi al,
i want to know purchase order and sales order table name in abap.
thanks
varun
Moderator message: please do some own research, this should not take too long.
Edited by: Thomas Zloch on Jan 27, 2012Hi Sunrag......
If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
From there you ca gte the Customer Name into your PLD and it wont hang also.....
Regards,
Rahul -
MRP not considering open purchase orders when planning for open sales order
Dear Experts,
1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the current month.
Please what do i need to do to make MRP consider my open purchase orders when the system is planning for the open sales orders.
2 what tcode can I use to delete all purchase reuisitions in the sytemThere was no response to these questions so i had to close it to make space for another
-
Queries for Open Sales Order Lines and Open Purchase Order Lines
Experts,
Forgive me if these have been addressed elsewhere but I can't find them. I'd like to create two queries to use as Alerts as follows:
1. Query of open lines in Sales Orders that are more than two weeks old
2. Query of open lines in Purchase Orders that are more than 2 days old
Thanks in advance for your help.
SteveHi Steve,
A couple of query templates you can use for your alerts are as follows:
Purchase Orders
SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -2) AND T1.\[LineStatus\] = 'O'
Sales Orders
SELECT T0.\[DocNum\], T0.\[DocDate\], T0.\[DocDueDate\], T0.\[CardCode\], T0.\[CardName\], T1.\[ItemCode\], T1.\[Dscription\], T1.\[Quantity\], T1.\[OpenQty\], T1.\[Price\] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.\[DocDueDate\] < (getdate() -14) AND T1.\[LineStatus\] = 'O'
You can change the SELECT section to remove some of the columns or add extra columns if need be. Once your happy with the query you can attach it to an alert and set the frequency.
Regards,
Adrian
Maybe you are looking for
-
Setting of WorkStatus is incorrect
Hello all I am trying to send data with schedule input. When i press "send data" ---> "Validate submission before sending", i get this error: "setting of WorkStatus is incorrect. Please contact your administrator". I cheked the "Work Status" in my Ap
-
HI all, I ran into a problem with one of the servers in my DAG. Due to a backup failure, the log partition filled up and the Exchange database went offline on this particular server. The DAG continued to function on the other server. So this parti
-
Please help me sync my phone..
I can't sync my phone.. But I can sync my sister's iPhone.. I upgraded my iPhone to 5.1 with my friend's computer.. Since that time,i can't sync my phone with iTunes..No error message.. Nothing.. I just can't sync it.. I can't manage my video and mus
-
When I type in a hyperlink to a document, the font is too light to see (and these need to be printed). How do I change the color of the font on a hyperlink?
-
ESS Business Package with External Facing / Light Framework
Hi all, We are using an external facing portal with light framework page and we now start with ESS/MSS Business Packages. Unfortunately e.g. ESS szenarios aren't working in our framework. I found out, that "strange" urls are used and that the session