Make to order Sales Order create Purchase Requsition
Hi,
Does anybody know how to create purchase requestion directly from make to order sales order?
Thanks
Steven
Dear Steven
If it is MTO, then requirement should go to production, still if you want Purchase req, you can defnine schedule line in VOV6 for ex ZT
in ZT define
Order type simmilar to NB Purchase requisition
Item category 0 Standard
Acct.assig.cat. K this should be K, so link your purchase requisition to Sales order.
I am not sure , that in your Purchase requisition , Sales order number will flow , you can find in account assignment tab, if it doesn't flow then you need to take help of ABAP
Regards
Jitesh
Similar Messages
-
AVAILABILITY_CHECK for Make to order or Purchase to order
All,
I am trying to use the FM AVAILABILITY_CHECK on a make to order sales order. As each MTO sales order is unique, the ATP check is done on each individual line item.
However, when I do an ATP check with the SO and line item, I still get a zero result. Has anyone done an ATP check for PTO or MTO SO?Here is the code, as you can see we are using the correct internal numbering range.
*& Form get_atp_qty
Call the FM AVAILIBILITY_CHECK to find the ATP Qty and Qty
Received
FORM get_atp_qty USING lp_matnr " Material
lp_werks " Plant
lp_kdauf " SO
lp_kdpos " SO item
CHANGING lp_qty " ATP qty
lp_qty_o " Qty received
lp_meins." Base UoM
CONSTANTS :
c_plant_stock TYPE atpds-delkz VALUE 'WB'.
Structure to hold ATP Controller: Control Parameters
DATA: BEGIN OF gwa_atpca.
INCLUDE STRUCTURE atpca.
DATA: END OF gwa_atpca.
Table to hold ATP: Requirements to be Checked/Considered
DATA: BEGIN OF git_atpcs OCCURS 0.
INCLUDE STRUCTURE atpcs.
DATA: END OF git_atpcs.
Table to hold ATP Server: ATP data for display
DATA: BEGIN OF git_atpds OCCURS 0.
INCLUDE STRUCTURE atpds.
DATA: END OF git_atpds.
Table to hold ATP Server: Material Table
DATA: BEGIN OF git_atpmat OCCURS 0.
INCLUDE STRUCTURE atpmat.
DATA: END OF git_atpmat.
Populate GWA_ATPCA
CLEAR gwa_atpca.
gwa_atpca-anwdg = '8'. "Calling App - Explaination
gwa_atpca-azerg = 'T'. "ATP Display Result
gwa_atpca-rdmod = 'A'. "Read Mode - Totals
gwa_atpca-xenqmd = 'N'. "Do not read Blocks
Populate GIT_ATPCS
CLEAR git_atpcs.
REFRESH git_atpcs.
git_atpcs-matnr = lp_matnr. "Material
git_atpcs-werks = lp_werks. "Plant
git_atpcs-kdauf = lp_kdauf. "SO
git_atpcs-kdpos = lp_kdpos. "SO item
git_atpcs-prreg = 'A'. "Checking Rule for Avail Check
git_atpcs-chmod = 'EXP'. "ATP: Check mode
git_atpcs-delkz = 'VC'. "MRP element indicator
git_atpcs-bdter = sy-datum. "Requirements date for the component
git_atpcs-xline = '1'.
git_atpcs-trtyp = 'A'. "Transaction type - Display
git_atpcs-idxatp = '1'.
git_atpcs-resmd = 'X'. "Mode for Results of Check - Proposal
git_atpcs-chkflg = 'X'.
APPEND git_atpcs.
CALL FUNCTION 'AVAILABILITY_CHECK'
TABLES
p_atpcsx = git_atpcs
p_atpdsx = git_atpds
p_atpmatx = git_atpmat
CHANGING
p_atpca = gwa_atpca
EXCEPTIONS
error = 1
OTHERS = 2.
CHECK sy-subrc EQ 0.
READ TABLE git_atpds WITH KEY delkz = c_plant_stock. "'WB'
IF sy-subrc EQ 0.
Get the Base UoM
READ TABLE git_atpmat WITH KEY matnr = lp_matnr.
IF sy-subrc EQ 0.
lp_meins = git_atpmat-meins.
ENDIF.
Quantities
lp_qty = git_atpds-qty.
lp_qty_o = git_atpds-qty_o.
ENDIF.
ENDFORM. -
[Request] Special user-exit we need during creating purchase order
Hi, Gurus!
We need to make specific User-Exit during creating Purchase order.
When user creates/change a PO document (ME21N/22N), SAP has to check the u2018CUSTOMERu2019 filed whether it is BLANK or NOT in Delivery Address tab at ITEM LEVEL.
If there is no value in that field, system will automatically input right value with useru2019s business logic.
Thatu2019s what we want to implement in the future.
If you have any solution or recommendation for this, Please help us.
I really appreciate your help in advance.
Best Rgds;
IanFor checking user exit - SMOD, you need to activate this exit via CMOD
For Badi - SE18 to check & SE19 to implement
Take the help of your abaper, give him / her your logic.
Hope the above answers your query.
Regards,
Vivek -
Automatic Batch creation at purchase order create stage
Hi
Is it possible to automatically create a batch when a purchase req converts to a purchase order?
There is a batch create button in the material tab of the purchase order so I can manually create a batch at purchase order create (purchase req convert), is it possible to automate this by material? So a specific material when the PR converts will have the batch created automatically?
If so how?
ThanksHi,
I have double checked with the developers, and I am afraid that it is not possible to activate the automatic batch determination in ME21N.
Best Regards,
Arminda Jack -
Auto trigger of Purchase requsitions in Sales Order in case of Third party
Hi,
In a third party sales scenario, where do we set the automatic creation of Purchase requsitions when we create a third party sales order. I checked the Item category configuartion but couldn't figure it out anywhere.Hi Ronaldo,
In Scheldule Line Category, for the Purchase Order Type,Please select the Options Related to Purchase Requestion.So that we you create the Order automatically the Purchase Requisation Number will get generated.
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
Make item to create Purchase Requisition and Work Order
I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks
Ajith_Kz; Consultant wrote:
I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
HTH
Mahendra -
Several purchase requsitions from one sales order
Hi,
I am using item category TAB to create a purchase requsition from a sales order, this works fine.
What I really want to do is to create one purchase requsition for each condition type of a special kind from the TAB position in the sales order.
Another possibility is to create several purchase orders from one purchase requsition, split on the earlier mentioned condition types. In any case, the end result should be several POs from one SO, split on condition types.
Can this be done in config or do you have a suitable user-exit for me?
Thanks in advance!
Best Regards
ViktorHI,
The Cost Center Determination settings is in OVF3, the standard works only at the header level though, so it would not work if cost center is needed on the line item.
For this case I suggest to try from CO view:
A material is linked to a profit center. From this profit center you can determine a cost center using txn OKB9
In combination with the material's account assignment field and account determination customizing, an alternate revenue account can be determined for this material. ("Normal" revenue accounts are to be used in combination with CO-PA).
If this account is a cost element with category type "1" you need the entries in OKB9.
Hope this help!
Regards! -
Relation btwn Sales order creation and automatically created Purchase Requi
Hello Experts,
The Purchase requisation is creating from Sales order, meaning, as soon as Sales order is SAVEing (say, SO_1), automatically a Purchase requisation (say, PR_1) will be created in the system. There is a Indicator filed in (PR) EBAN table, if its V, then this PR has been created from a Sales order. But, pls. let me know that,
How I can know that PR_1 is created from SO_1? meaning, I want to know the link btwn these 2 corresponding docs! I hv seen VBFA table, but, did not find any!!
thank youHi,
There is table called VBEP where U find Both fields
i.e VBEP- VBELN sales order number &
VBEP-BANFN Purchase requsition number.
Regards,
Sachin -
Creating Sales order then purchase order through IDocs using XI
I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
Waiting for the solution> I have a scenario where I have to create the Sales Order and purchase order. Important thing is after successful creation of Sales Order then only purchase order needs to be created.
You have to use BPM for this.
> Is it possible to achieve the above thing in XI using Idocs..Should I need to go for BAPI's.
If you know the BAPI's then you can avoide BPM because in that case you can go for inbound proxy and inside the proxy code you can make sure the creation of SO & PO in desired order. You can also do the error handling very efficiently in R3 in comparison to XI.
Regards,
Sarvesh -
Purchase order created from sale order ( third party)
Hi...
In third party sale, when sale order is created in SAP system will automatically creates Purchase requisition which can be converted into Purchase order,
My requirement is i need to identify against which sale order the above purchase order is created, do this purchase order has any reference of sale order.
Is there any way where i can track the purchase order number entered while cretion of sale order in the purchase order generated after creation of sales order.
Suggestion will be worth rewarding.
Regards
SARFARZHi
I think you are little bit confused.The PO number entered while creating the Sales order is nothing but the customer Purchase order.This we may receive in different forms.Hard copy or Mail etc.We will give this number as a reference in sales order.
Where as for third party orders, depending on the schedule line category (SD), PR will be generated.This will PR will be converted in to PO.In PO item detail, you can find account assignment tab, where you can find the sales order number.
If you want to link customer PO to the SAP PO, then you need to link the two tables.
Regards
Ramakrishna -
Problem in creating sales order in Make TO Order
Hi all,
We are trying to test the strategy 50 (Make to Order strategy) . To begin with we are trying to create the Sales order. However , we are getting the message "NO availibity check can be carried out for Material " we have assigned the checking group and checking rule .
What can be the possible causes for this problem . Please help me . I will be very grateful . Thanking you.
Kind Regards
AyazDear ,
Planning startegy 50 , Requirement Type of Customer KEV , in -OVZG -can you please chek the following : Select the Requirement Class for Planning Startgey 50 based on the Requirement Type : KEV
1.Did you mark the Indicator Requirement Transfer in Requiremet Tab
2.Did you mark the Availablity Check marked ?
Goto SPRO-Define Planning Statgey and Comapre the same because it will be copied from OVZG
Hope it is clear
Regards
JH -
Which Sales order created a purchase order?
Dear Experts,
What would be the table to look at to check which Sales order is used to create a type of purchase order?
I know the stock purchase order but not the sales order number that triggered an auto creation of this PO.
Pls advise. Thanks
regards
M RussoHello,
Ideally purchase order is linked to sales order in cross docking and third party sales scenario.
In both of above scenario's sales order is linked to purchase order via purchase requistion.
If you know the purchase order number, then you can find the respective sales order number in the account assignment tab in purchase order screen.
You need to open the purchae order with ME23N/ME22N and go to item detail and check the account assignment tab.
Here you will get the corresponding sales order number.
BR/
Tushar -
How to create purchase order and sales orders
Hi guys,
i want to create sales order in IDES and i need to create purchase order ECC.
depending on that i want to create the idoc for that and i want to send info through xi to the other sys.
will u plz any of u can help me in this query.
Thanks & Regard,
Kalyani..Hi,
TCODE for purchase order- me22n
TCODE for sales order- va01
Regards,
S.RamNarender -
Cost analysis through Purchase Order created from Sales Order
Hi Experts,
This is the scenario: There is an Item No. which is not stocked in warehouse and is purchased only when customers ask for it. The cost of the sales order line having this item is calculated by the Purchase Order line on which the item is there. (The PO have items for other Sales Orders as well. And, Sales Orders have multiple item types) The Sales Order have the PO no. against it and Purchase Order has SO no. against the line. This is all done using MS Access and Sage Accounts. Lots of free typing and manual cost analysis involved.
I have gathered from this forum that we can create Purchase Order from the Sales Order. The Document No. information can be pulled from one another using Formatted Search. Can we do the accounting and cost analysis as well?
Please let me know if I have not made myself clear.
Thank you in advance and kind regards.
IC
Edited by: iancameron03 on Sep 20, 2011 4:35 PMHi Ian,
I concur with Faraz, it is better if you use procurement document facility in doing back to back transaction from SO to PO.
However, in your case, I'm afraid you can't analyze the gross profit and recording the accounting related activity as your request using standard SAP B1 function.
As for gross profit case:
Since you're actually using workaround in order to evade all hassles in maintaining all item master data related to this case, you create just one item code called S1 right?
SO DocEntry - SO Line # - Item Code - Item Name - Quantity - Price
1001 - 0 - S1 - Table - 2 - 100
1001 - 1 - S1 - Chair - 8 - 25
1001 - 2 - S1 - Cloth - 3 - 10
PO # - PO Line # - PO BaseEntry (SO DocEntry) - PO BaseLine (SO Line #) - Item Code - Item Name - Quantity - Price
2001 - 0 - 1001 - 0 - S1 - 2 - 100
2001 - 1 - 1001 - 1 - S1 - 8 - 25
2001 - 2 - 1001 - 2 - S1 - 3 - 10
Note that standard B1 gross profit calculation is that system will compare selling price for each item with item cost / certain price list of each respective item. However, in your case, you put all item as a single item master. Thus, system couldn't compare Table to Table, Chair to Chair, Cloth to Cloth since the item cost for these 3 items will be the same, the price list for these 3 items will also be the same since it is actually only one master data. Of course you could update the gross profit calculation manually for each SO, but to be honest it seems rather weird to do this manually.
So, in order to simulate the gross profit calculation, you need to create a custom query and comparing PO line no with SO line no.
As far as accounting related recording concern, I'm afraid you can't do it
1. SO 1 : Item Table - Selling price 130 ; Item Chair - Selling price 30
2. PO 1 (linked to SO 1) : Item Table - Purchase price 100 ; Item Chair - Purchase price 25
3. SO 2 : Item Table - Selling price 150 ; Item Chair - Selling price 40
4. PO 2 (linked to SO 2) : Item Table - Purchase price 110 ; Item Chair - Purchase price 30
Correct me if I'm wrong, you want to record accounting wise that CoGS of Delivery based on SO 1 is 100 for Table and 25 for Chair, isn't it? No matter what costing method you use, you can't achieve this.
If you use moving average, system will average both Table and Chair cost price, since it is actually one item master data. Even if you distinguish each item as a master data, system will average the cost price for Table and Cloth by the time GR for PO 1 and PO 2 occurred.
Example (order by sequence of event):
1. GR based on PO 1 - Table - Purchase price = 100, therefore Item cost = 100
2. GR based on PO 2 - Table - Purchase price = 110, therefore Item cost = 105 (considering quantity only one for both PO)
3. Delivery based on SO 1 - Table - CoGS incurred will be 105, not 100
To certain extent, same thing could be said with FIFO costing method
1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
3. Delivery based on SO 1 - Table - CoGS incurred will be 100 (qty 1)
4. Delivery based on SO 2 - Table - CoGS incurred will be 110 (qty 1)
At first glance, it seems right since the CoGS for SO 1 is 100, tied up with purchase price for PO 1. And CoGS for SO 2 is 110, tied up with purchase price for PO 2. But we're using assumption here, we're assuming the sequence of Goods Receipt of PO and Delivery of SO occurred in the very same sequence as the issuance of SO and PO.
1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
3. Delivery based on SO 2 - Table - CoGS incurred will be 100 (qty 1)
4. Delivery based on SO 1 - Table - CoGS incurred will be 110 (qty 1)
If above scenario / sequence that happened, you will get the wrong figure of gross profit since the Delivery of SO 2 will take the item cost based on GR of PO 1. Since we're actually talking about real life business process, who can guarantee that above scenario wouldn't happen? It is possible that you send goods to customer who ordered late in real life, too much possibility that it is better for you to mitigate such result.
My suggestion would be that you record the accounting transaction based on standard business process, no need to really capture the actual cost and actual gross profit for certain SO and PO. Too complicated, and the software itself doesn't cater this kind of requirement. Best thing you could do only create custom query for gross profit simulation calculation, but for very accurate accounting recording, IMO you should forget it. Hope this help.
Best Regards,
Hendry Wijaya -
Workflow issue when create Purchase Order automaticlly based on Sales Order
dear experts,
I got a problem when create purchase order automatically once the Sales Order created, the field ERNAE of the Purchase Order creatd is WF-BATCH, but we want this field to be the user log in the system, like John. Smith
it seems this is a configuration issue, but i am not familar with workflow, do you experts have any solutions?
thank you in advance.
Hongtaothank you for you reply my friend.
yes, i mean the PO creator.
I just create a SO in VA01, then change the Schedule line category from CN to CP, then SAVE, then Confirm the Delivery Proposal. after all this, the PO will be created automatically by Workflow. Because when I display the PO via ME23N, it displays [Standard PO XXXXX created by Workflow-System] on the top of the screen.
But i do not know which workflow is trigered to create the PO. and i tried SWEL like you said, there is no record listed.
do you have any other suggestions? thank you so much, friend.
Maybe you are looking for
-
I owned an Apple Tv and since I upgrade my internet to higher speed my Apple Tv does not work. Please someone help.
-
Can anyone help me sync calendars from my iPhone to my Mac and help me figure out how to edit or delete lists in Reminders? I thought upgrading to Mountain Lion would work, but I'm having the same problem as before under Snow Leopard. So, here's my
-
HELP: Question on adding more RAM to my 2X dual core 2.66 Xenon MacPro
Hi,m I current;y have 6GB of RAM in my MacPro and want to add a bit more. Right now I have 4 X 512MB strips and 4 1GB strips for a total of 6GB I was thinking of adding 2 X 2GB strips to replace 2 of my 512MB strips which would give me 4 1GB strips,
-
My phone prefix is not working in pacific palisades - service never showed up, never called
service sucks, i want to talk to a human and i can not. my phone works like a party line, with dial tone and other folks in a conversation on their own - all this going on simulaneously. i never got through to verizon. my neighbor says verizon says i
-
Hi Experts, We are having issue with the local build of DC in NWDS. We are having a Track which contains few SCs, now a new SC has been created and further new DCs in the newly created SC. Now when I am trying to build the new DC it is giving me the