How to link the Sales Order to Planned Order in Make-to-Stock scenario
Dear All,
My scenario is Make-to-Stock. Now client wants to know exactly what are the process orders created for Sales order. Please let me know where I will get the link between Sales orders and Process orders in Make-to-Stock scenario.
Regards
Naveen
You will require to work on the requirement type settings for MTS Scenario. The transaction code is OVZH. The requirement type for MTS is KSL.There are various rules for determining the requirement category.
The requirement type can be determined based on the strategy group in the material master / You can also use the item category and MRP type to determine the requirement.
Regards,
Ashok Chauhan
Similar Messages
-
How to create the sales order using BAPI's ....?
Hi Guru's,
could you please provide how to create the sales order using BAPI's .....i need step by step process and please provide the details from scratch....basically i don't have basic knowledge on this....please provide required inputs ....:)
thanks in advance
Srinivas......Hi Guru's thanks for your inouts and your valuble time...
please find the program logic below...
*& Report ZAREPAS30
REPORT zarepas30.
DATA : gs_vbeln TYPE vbak-vbeln,
gs_order_header_in TYPE bapisdhd1,
gs_order_header_inx TYPE bapisdhd1x,
gt_order_items_in TYPE STANDARD TABLE OF bapisditm,
gwa_itab1 TYPE bapisditm,
gt_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
gwa_itab2 TYPE bapisditmx,
gt_order_partners TYPE STANDARD TABLE OF bapiparnr,
gwa_itab3 TYPE bapiparnr,
gt_return TYPE STANDARD TABLE OF bapiret2,
gwa_itab4 TYPE bapiret2.
Sales document type
PARAMETERS: p_auart TYPE auart OBLIGATORY.
Sales organization
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
Distribution channel
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
Division.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
Requested Delivery Date
PARAMETERS: p_edatu TYPE edatu OBLIGATORY.
Sold-to
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
Ship-to
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
Material
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
Quantity.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
Plant
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
gs_order_header_in-doc_type = p_auart.
gs_order_header_inx-doc_type = 'X'.
Sales organization
gs_order_header_in-sales_org = p_vkorg.
gs_order_header_inx-sales_org = 'X'.
Distribution channel
gs_order_header_in-distr_chan = p_vtweg.
gs_order_header_inx-distr_chan = 'X'.
Division
gs_order_header_in-division = p_spart.
gs_order_header_inx-division = 'X'.
Reguested Delivery Date
gs_order_header_in-req_date_h = p_edatu.
gs_order_header_inx-req_date_h = 'X'.
gs_order_header_inx-updateflag = 'I'.
Partner data
Sold to
gwa_itab3-partn_role = 'AG'.
gwa_itab3-partn_numb = p_sold.
APPEND gwa_itab3 TO gt_order_partners .
ship to
gwa_itab3-partn_role = 'WE'.
gwa_itab3-partn_numb = p_ship.
APPEND gwa_itab3 TO gt_order_partners .
ITEM DATA
gwa_itab2-updateflag = 'I'.
Line item number.
gwa_itab1-itm_number = '000010'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
Line item number.
gwa_itab1-itm_number = '000020'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = gs_order_header_in
ORDER_HEADER_INX = gs_order_header_inx
IMPORTING
SALESDOCUMENT = gs_vbeln
tables
RETURN = gt_return
ORDER_ITEMS_IN = gt_order_items_in
ORDER_ITEMS_INX = gt_order_items_inx
order_partners = gt_order_partners.
Check the return table.
LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error occured while creating sales order '.
ELSE.
Commit the work.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', gs_vbeln, ' created'.
ENDIF. -
How to pull the Sale order number(sales document) to Accounting document
Hi Gurus,
How to pull the sale order number to the accounting document.
Is any configuration needed to this.
When i run the FBL5N Repoprt ,Sale order number (Sales document) is not getting updated to accounting document.It is diplaying as blank field.
Thanks you.Hi Shivaji,
In order to display the Sales document in the customer line item report, you need to add it as a special field thorugh customizing settings.
Path - SPRO - FA-GL Accounting - GL Accounts - Line Items - Define special fields for finding and sorting data and in that select the table BSEG-and field VBEL2 (Sales document) and save/
This will work. hope this helsp
regards,
radhika -
How to check the sales orders that have been created with an Rebate Agreeme
Dear Experts,
Do you know how to check the sales orders that have been created with an Rebate Agreements?
Thanks!!Hi Hoo Laa,
I have one way but little lengthy.
Rebate condition always appears in the billing document.
So 1st you extract the sales order list from Table VBAK.
once you have the sales order list then you can put your order list in Table VBFA --> Extract the billing document list.
Now put that list in the table VBRK.
In VBRK you will get the "Doc. condition" --> put that doc condition in table KONV with your rebate condition type.
It will show the result.
Later, through VLOOKUP you can identify in which order you have given rebate to your customer.
Already said, Little lengthy
Regards,
MT -
How to settle the sales orders
Hi experts,
Can anyone tell me how to settle the sales orders? What is the transaction code?
regards
vkHi VK ,
Being production consultant I think production order which is created with reference to sale order will be settled in ko88 or co88 after calulating variance ( and settling in variance a/c ) , Work in progress .
Prod order should have TECO indicator before you settle .
Neal -
How to cancel the sales order - header and line status are in Entered Stage
Dears,
I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
So it is not possible to book and cancel the lines.
Kindly me to resolve this.926530 wrote:
Boss,
If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
How to cancel the sales order - header and line status are in Entered Stage
Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
unless until you have some processing constraints in place...which is stopping you...
HTH
Mahendra -
HT1349 how to link the songs that are in itunes to my account so i can to me sales
how to link the songs that are in itunes to my account so i can to me sale
You'll need to copy the content on your iPod back to your iTunes library first. Once you have successfully done that you can safely erase and sync your iPod.
See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
https://discussions.apple.com/thread/2452022?start=0&tstart=0
B-rock -
How to change the currency in Billing plan in SO line item
Hi Experts
Pls help in following scenario.
Company Code Currency: HKD
Sales Document Currency: INR(Indian Rupees)
Item Pricing Condition Currency(PR00): 100 USD
Item Netvalue: 4800INR(System caluculated as per exchange rate type M)
Document Netvalue: INR 4800
The sales document item is linked to a billing plan.
I wanted to maintain 100USD in the billing plan.
When i goto Sales->item-->Billing Plan, The currency in billing plan screen is document currency and is greyed out.
How to change the Currency in Billing plan (to Item Condition currency) and maintain the Billing value in USD?
Pls help.
Regds
HariCurrency change we wanted to do is not during Invoicing.
In billing plan itself we want to change the currency setup the billing value in item condition currency.
Any one, pls help. -
SOP - Routing data consideration in the Sales and operation planning
Hi,
Please share knowledge how to take the consider routing while doing the sales and operation planning.
I have done the resource planning in the sop and it is picking the data's from the rought cut profile also. As per sap help it is mentioned that in sop we can use routing or rate routing also to do the resource planning in sop.
Where the setting to be done?
If answered.. full pointed will be rewarded....
Regards,Hi,
Thanks for your reply.
As per my knowledge T-code will be OPU4 for the Sales and operation planning.
The T code OPU5 is applicable for planned orders not for SOP internal orders.
I have checked the senario and reverting back to you.
Did you checked the senarios for the resorce leveling with out creating the rough cut planning profile by t code mc35?
Please give you yahoo or gmail messanger or telephone number ....
Regards,
Mahesh Garg -
Read the characteristics of a planned order in APO
how can we read the characteristics of a planned order in APO.What Function Module can be used for this?
how can we manually schedule the order activities based on the characteristics. Can we use the function module
/SAPAPO/OM_ACT_SCHEDULE by copying and making some changes in it for this purpose?Hi,
if there are any orders in your system with characteristics (in planning version 000) then this report will find them:
report get_char.
data:
ls_genp type /sapapo/om_gen_params,
lt_orderid type /sapapo/om_orderid_tab,
lt_char type /sapapo/om_charact_val_tab.
ls_genp-simversion = '000'.
call function '/SAPAPO/OM_ORDER_GET_ALL'
exporting
is_gen_params = ls_genp
iv_simsession = ''
importing
et_orders = lt_orderid.
call function '/SAPAPO/OM_ORDER_GET_DATA'
exporting
is_gen_params = ls_genp
iv_simsession = ''
it_order = lt_orderid
importing
et_charact_val_acts = lt_char.
Best regards
Thomas -
Did you know how to link the text in two or more text boxes?
Did anyone know how to link the text in two or more text boxes in Pages 5.0? Thanks for your answer.
Qualcuno sa come collegare il testo in due o più caselle di testo nella versione 5.0 di Pages. Grazie per le vostre risposte.It's just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu and review & rate the new versions in the Mac App Store.
If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done. -
How to see the ouput of a purchase order on screen??
Hi all , how to see the output of a purchase order (ME23) on screen?
Points will be awarded!!!!
Thanks & Regards
JohnHi,
If any output tye is associated to PO and it is been triggered then User ME9F tocde to view the output.
To check thise first Use: ME23 and click on Messages, if any outputs are triggered and they are in Yellow status then Use ME9f. Once you execute you will get Outputs in the screen, then choose the output and click on Display Message button. Your output will be displayed on the screen.
Regards,
Ashok -
How to change the status of a production order
Dear All,
May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
Thanks and Regards,
Varun SiddharthDear,
When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
If you delete the operation created automatically and then do not have the status HOGAN.
To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
Regards,
R.Brahmankar -
How to delete the sales org information from BP Master Data in SAP CRM 5.0
Hi Guruu2019s
How to delete the sales org information from BP Master Data in SAP CRM 5.0
Thanks...
Mahesh PasupunuriHello
There is a report attached to [SAP Note 725857|https://service.sap.com/sap/support/notes/725857] that performs the deletion.
Regards
Joaquin -
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0
How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?
Hi,
First go thourh the FM import export parameters list.
Try to create an internal table of type INRI-NRRANGENR for number ranges.
We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
Try to create the ncessary ones using this FM.
In the Exit, EXIT_SAPMM06E_001,
the Export parameters are-
EKKO-EBELN- the PO ios created with in that specified range
Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
Try to code this in the Include provded and keep Breakpint and check the PO number generated.
Reply if u need more help on this.
Reward if helpful.
Best Wishes,
Chandralekha
Maybe you are looking for
-
Dreamweaver 8 'Brace balancing' bug
One of the worst features of php is the reliance on braces for flow control. Although I try to carefully indent my code to indicate where I am, I frequently get into trouble because I have overlooked some brace somewhere. Dreamweaver's 'Brace balanci
-
How to fix blackscreen Bootcamp after SSD install
Hello I have an iMac mid 2011 21,5". I decided to boost it a little and that's when my issues started. Got no big problem to remove the optical drive, replace it with an SSD & add few gigs of RAM, but when I started to install windows 8.1 pro with bo
-
When i open imovie, it freezes. why, and what should i do?
I have a very important project to do for school and have to give it back next week. It's on iMovie, and it's a 54minutes video. Since yesterday, I have a problem. I don't know if because it's too big, but when I open it, it freezes, and the little r
-
Unable to modify any documents from sharepoint
We are using Office 2007 and WSS3.0 whenever I try to open a document from sharepoint I get the following error as shown in the image. Link to access the image: http://imageshack.us/photo/my-images/148/officesharepointerror.jpg/ I can upload document
-
Since updating to 4.4.3 my Apple TV will reset itself and jump back to the main menu at least 2 or 3 times while streaming a movie from iTunes. Had it just over a year and never had a problem till now. It doesn't have any problems while streaming fro