Create Sales order and disable its records in Demand interface
Hi All
I have the case that i want to implement Planning and schedule module of oracle Manufacturing.
what i need is
1-Create sales orders
2- Prevent this sales order
3- import demand planed items through interface table .
Thanks
Abdelmohsen Amin
Hi Abdelmohsen Amin;
Welcome to forum. Please follow below link and see its helpful for your issue:
[link 1|http://www.oracle.com/applications/scm/manufacturing-operations-center.html]
[link 2|http://www.oracle.com/applications/manufacturing/process-manufacturing-master-production-scheduling-data-sheet.pdf]
[link 3|http://www.oracle.com/applications/manufacturing/oracle-production-scheduling-data-sheet.pdf]
[link 4|http://download.oracle.com/docs/cd/A60725_05/pdf/gemmsfc.pdf]
Please also try this search
Regard
Helios
Similar Messages
-
Purchase order to create sales order and delivery
Hello all,
I am planning to create sales order and since i require customer Purchase order to create sales order, i am also planning to create purchase order.
My question is who should i mention as vendor or who would be the vendor when i create a purchase order that would be used to create sales order.
should it be the customer who orders the material or should it be the plant from which the material is going to be supplied.
and also in the line item for the field "plant", should i enter the supplying plant or should i enter the ship to plant.
Thanks,
MaxxThe moment you mention 'Vendor', the SAP synonym for it is 'Supplier' hence it would be the supplier (and not customer), that is the plant from which the marerial is supplied. Hence your vendor in customer PO will be the supplying plant.
The 'Plant' in the line item in case of PO will be the receiving plant (the customer's Plant).
I hope this answers your doubt.
Amit G -
Is there any bapi that i can create sales order and date
Hi Gurus
is there any bapi that i can create sales order and date .This appears to be related to Problem With BAPI_SALESORDER_CREATEFROMDATA but without the detail. If you want to ask again, please add that detail.
locked
Rob -
How to create Sales order and Invoice in Foreign Currency
Dear All,
What are the procedures I have to do to create the sale order and Invoice in Foreign currency.
Is it enough if I maintain the currency in the Customer Master and Excahge rate OBBS.
or
We have to do someting in the Sales order (Change the currency document header level)?
Kindly explain.
Regards,
MullairajaDear Mullairaja
Under customer master you can maintain currency eg. usd, eur etc. that will do.. (hope you have maintain diift. Dist. Channel for Export sales and maintain Recon A/c for export revenue.) This will copy to Sales order.
Under t.code OB08 we maintain the Currency Exchange Rates which will help for copying control.
Under Displaying Billing document - Accounting - you can click on Display Currency Tab, here you will understand the rate conversion i.e from USD to INR.
Thanks & Regards
Hrishikesh K -
Getting error when creat sales order and Stock Posting
Hi
I have created enterprise structure, xd01, mm01, ovkk but I count't post stock.
When create sales order getting error is that
1.This material is not defined for sales area 1000, 10, 00.
And if i use this T.Code MB1C,
2. Parameters for plant 1000 not maintained in Inventory Mgt.,
*3. Unit *** is not created in language EN.*
Thanks in advanceDear selvi sankaran
1) Compare the sales organization, distribution channel and division of customer and material. In your case, either of that should have been created differently. Maintain the same sales area and retry
2) Go to omi8 and maintain the required parameters to your plant
3) Go to Material Master, select "Additional data" and click on "Descriptions". There maintain "EN" under language.
thanks
G. Lakshmipathi -
VD05 - Customer master record blocked for sales orders and billing
Hi,
I have a scenario whereby I have blocked a customer master record for sales orders and billing using transaction VD05, but it still allows you to create sales orders and post billing documents.
What is the reason for this?
Regards
GandiHi,
Block the customer for the sales order, delivery and Billing for the specific sales area in vd05
and try out,
Regards
Pradeep BV. -
Disable the characteristic window in sales order and user-exit to pick up
Hi Freinds,
I am working on 1 VC assignment in which
1. I have to pick up the characteristic values selected in VA02 in sales order before saving the change sales order.
2. I have to Disable the characteristic window (with characteristic name and value) appear after click on u2018item detail : configurationu2019 button in sales order (if the chracterstic say 'Approval' having the value 'Yes')
3. I have to disable the characteristic window after selecting the one of the characteristic value to 'Yes' in VA02
So I need to fetch this character value witnin sales order before saving the change sales order and need to restrict the user to change any other characteristic value(disable the characteristic window) .
Please guide for any user exit at configuration side to export and import the values in sales order and disable the characteristic window to restrict the user from changing any other characteristic value for the item.
Please do the needfull.
Best Regards,
Vikram ChavanHi,
Check....
Exit Name Description
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Reward points if useful....
Regards
AK -
Creating Sales order texts while using BDC session method is not working
Hi All,
I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
I wanted to modify this BDC sesion to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
Please suggest if there is any way to create sales order using BDC.
Regards
SheebaHi Madhu,
'=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
Part of BDC program generated for cretaing sales order texts.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
Regards,
Sheeba -
PR00 should automatically display while creating sales order
Hi,
PR00 should automatically display in sales order and i have to enter price only without maintain condition record.
i dont want to enter PR00 and price.
PR00....................................1000
Defaultly that pr00 should be display in the sales condition and price filed should be blank.
so that i can enter price for that condition type PR00.
my client dont want to enter condition type every time.
Thanks in advance
by
babsHi,
Thanks for ur reply.
But my requirement is not that.
I am creating sales order and entered customer number, material and qty.
now system throw an error PR00 Mandatory pricing missing
In Item overview select condition tab
There u have to enter PR00 ............1000
Instead of this, PR00 should be there and price field should be blank.
now i can enter only price for PR00 condition type.
I dont want to select condition type(PR00) each and every time while entering price.
I hope now you understand my requirement.
Thx in advance
babs -
Create Sales Order / Delivery with BAPI
Hi,
I want to create a sales order and the its delivery using BAPI. Is there such BAPI or should i use two different BAPI functions.
I also need to post goods issue after the completition of the delivery. Which BAPI is the most appropriate for my pupose?
thanks for your help,
- ferudunHi,
Check this example of creating a sales order and for creating delivery...and PGI
************SALES ORDER INPUT CREATION.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
PARAMETERS: p_spart TYPE vtweg OBLIGATORY.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
*ITEM
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
PARAMETERS: p_itcat TYPE pstyv OBLIGATORY.
DATA DECLARATIONS.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
HEADER DATA
header-doc_type = p_auart.
headerx-doc_type = 'X'.
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
PARTNER DATA
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
item-material = p_matnr.
itemx-material = 'X'.
item-plant = p_plant.
itemx-plant = 'X'.
item-target_qty = p_menge.
itemx-target_qty = 'X'.
item-target_qu = 'EA'.
itemx-target_qu = 'X'.
item-item_categ = p_itcat.
itemx-item_categ = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.
************DELIVERY CREATION.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
zmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr zmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = v_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-zmeng.
t_request-quantity_base__uom = t_vbap-zmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return.
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
************Post goods issue.
READ TABLE t_created INDEX 1.
DATA: vbkok_wa TYPE vbkok.
vbkok_wa-vbeln_vl = t_created-document_numb.
vbkok_wa-wabuc = 'X'.
DATA: v_error.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = vbkok_wa
delivery = t_created-document_numb
IMPORTING
ef_error_in_goods_issue_0 = v_error.
COMMIT WORK.
Thanks,
Naren -
Hii
Is it possible to delete the sales order and delivery documents after adding it.
for eg.
Customer C001 created sales order and then made delivery.
Is it possible to delete that sales order and delivery document and trasactions done related to it.what will be its impact.
Can we do this.
reply
Thanks
NeetuNeetu,
Change posting period if delivery is not in current month.
In 2 ways you can return a delivery
1. Copy To from delivery.
2. Copy From from return.
You can return using any of 2 ways as below
1.Open reqd. delivery click Copy To and select return,
Change posting date,due date,document date if required,
once again apply tax code it is removed on changing posting date,Check Doucment total match with delviery
enter remarks for returning.Click Add to save it.
2. Open return select required customer code,enter posting
date,due date & document date as in delivery,Click Copy From
Select required delivery,Use document wizard,Copy all data,
Click add to save it.
3. If items are excisable then copy return to incoming
excise invoice,Enter excise reference number in it,
Click add to save it.
Now return process is completed,status of sales order & delivery & and also return document.
Jeyakanthan -
BDC Program for Sales order and Enquiry
Hi All,
Pls can you help me.
To create sales order and enquiry I have bapis .
BAPI_SALESORDER_CREATEFROMDAT2
BAPI_INQUIRY_CREATEFROMDATA2
but i want BDC Programs for that bapis
pls can you help me
thanks
marsHi Krishna ,
Please check the below links .
[http://www.sap-basis-abap.com/abap/bapi-sample-to-upload-data-from-flat-file-to-va01.htm]
[http://abapreports.blogspot.com/2008/06/bapi-sample-code-for.html] -- > Select and Copy from this one. -
I am not able to get in sales order and delivery 24 hours
Hi Frinds,
i am not able to get in sales order and delivery 24 hours even i have defined pick pack time wrkdays 24hrs in
CONFIG PATH:-Implementation Guide for R/3 Customizing (IMG) -> Logistics ->Execution->basic shipping Functions-> scheduling-> Delivery Scheduling and transporting Scheduling -> Define Scheduling by Shipping Point Or Transaction code:-OVLZ.
Expected Results:-Create sales order and delivery and check that the delivery The order has 24 hours after the transfer order is confirmed to allow time to pack order
*can you help any body to get in sales order and delivery 24 hours .
Regards
MadhuDear Madhu
Apart from OVLZ, you can also check in VOV8 where for your sale document type, check whether any value is maintained in the field "Lead time in days" at the bottom screen.
thanks
G. Lakshmipathi -
Question about the rescheduling of a Sales Order and its Production Order
Hello Everybody,
I experience something strange with the rescheduling of a Sales Order and its corresponding Production Order.
It will be easier to explain with an example...
For a material, I have created a Sales Order.
And from this Sales Order, I have now a Production Order converted from a Planned Order generated by the MRP Run.
This is what I have in transaction MD04:
SALES ORDER
AV DATE: 20/02/2008
GR DATE: 20/02/2008
PRODUCTION ORDER
AV DATE: 20/02/2008
GR DATE: 18/02/2008 (GR process time is 2 days).
==> OK !
Now, I have to reschedule the Sales Order one week sooner.
SALES ORDER
AV DATE: 13/02/2008
GR DATE: 13/02/2008
After transaction COHV to reschedule the Production Order, I have:
PRODUCTION ORDER
AV DATE: 15/02/2008
GR DATE: 13/02/2008
But I expected to have:
PRODUCTION ORDER
AV DATE: 13/02/2008
GR DATE: 11/02/2008
Do you have an idea about what is wrong?
Thanks in advance for your help on this subject.
Regards,
RudyHello.
Thank you for your reply.
But in fact, I am doing some tests on a test platform, which is using an "old" copy of production database.
So, there can't be data already scheduled for the dates I am using.
Moreover, I just tried now to do the same with dates in November 2008, exactly with the same results.
In production platform, they experience this problem too.
Summary of my new test:
Before rescheduling:
SALES ORDER:
AV. DATE = 20/11/2008
GR. DATE = 20/11/2008
PROD. ORDER:
AV. DATE = 20/11/2008
GR. DATE = 18/11/2008
After rescheduling of one week sooner:
SALES ORDER:
AV. DATE = 13/11/2008
GR. DATE = 13/11/2008
PROD. ORDER:
AV. DATE = 15/11/2008 (ipo 13/11/2008)
GR. DATE = 13/11/2008 (ipo 11/11/2008)
I really don't understand why I don't have the same kind of dates as the ones I get before the rescheduling...
In my mind, I expect to have all these dates set back of one week...
Regards
Rudy
Rudy -
Get the sales order text from ITS and save it in SAP.
Hi,
I have created an application to create sales order from ITS. In this app i'm having a text field to fet the header text for the order. & after that I'm calling an RFC which has a BAPI to create the sales order.
Now, when i enter the text for header texts in frontend (separated by ENTER), then it saves only the first line of the text.
I've tried using :
SPLIT ordernotes AT cl_abap_char_utilities=>cr_lf INTO TABLE t_ordnotes.
and using FM: CREATE_TEXT,
but still, it is saving only the first line.
Can anyone please help me with this ?????
Its urgent.
Thanks in advance,
Hemant.Hi
See the sample BDC program that is used to upload the Material LONG Texts into SAP using MM01 Tcode
check this may be helpful
REPORT zmm_longtext
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab1 OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab1.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras, " Language
gv_matnr TYPE matnr.
Constants
CONSTANTS:
Object ID for Long Text of Material Basic Data 1
c_best TYPE thead-tdid VALUE 'GRUN',
c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
SORT itab1 BY matnr.
LOOP AT itab1.
CLEAR gv_matnr.
SELECT SINGLE matnr INTO gv_matnr
FROM mara WHERE bismt = itab1-matnr.
IF itab1-text NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text.
APPEND itab.
ENDIF.
CLEAR itab.
ENDLOOP.
DELETE itab WHERE matnr EQ ' '.
Upload the Texts
SORT itab BY matnr.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
dl_name = itab-matnr.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Material'(001),
itab-matnr.
ELSE.
WRITE:/ 'Long Text Created Successfully for Material'(002),
itab-matnr.
ENDIF.
AT END OF matnr.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
Aperture won't launch after Time Machine Migration
After a hard drive failure, I've just got my system all restored from a Time Machine backup, but when I try to launch Aperture it just fails. Not sure whether there's something obvious I'm not doing, or whether I need to reinstall. The library packag
-
Does anyone know if there is a way to DESELECT the "Automatically update the date and time when the document is opened" dialog? Thanks. Paul
-
HI, Please let me know if it is possible to retrieve the System id either using a UDF or int he adapter module. Regards, Meenakshi
-
IO Error: The Network Adapter could not establish the connection
Hi, when iam trying to connect the db with new connection, new port etc.. it's showing that network adapter could not established, please help me in connecting to db. Regards, sirisha
-
I am trying to figure out how to get the pre made "beats" with my garage band for my MacBook Air can u help