Creating sales order with reference to order
Hi SD gurus.
I try creating a sales order with reference to order, but I get this error message: "Flow control: Entry SAPMV45B, UER1, E0, * , AU , * is missing in T185". I don't know what is missing. Please, could you help me?
Thanks a lot.
Marta.
hi,
this is to inform you that,
i went to SE16N given there T185 and checked with UER1 which is an FCODE FOR OVER VIEW SCREEN in VOV8.
this entry is missing for the combination.
please check in your sales order in VOV8 whether you have maintained UER1 in the above field.
if not :
please maintain the entries missed in T185 in SM30.
because i have checked teh same in SM30 it is having opportunity to maintain.
hope this will solve your issue.
regards,
balajia
Edited by: balaji timmampalli achari on Nov 23, 2010 12:00 PM
Similar Messages
-
BAPI For CREATE SALES ORDER WITH REFERENCE TO ORDER
Hi ,
I want to develop a new RFC for 'Creating Sales Order' with reference to another sales order -
Is there any BAPI available for the same ? (Version 4.7) - I know its available for new create and change
but couldn't find for create with reference to Order ...
Thanks in advance ...
Regards
Rajesh.Hi,
You can use this FM "/SAPNEA/SMAPI_ORDER_CREATE". I haven;t tried this but you can still give it a try. Mention the Reference Order Type and other data in the header work area and pass it to the FM.
Reward if it's useful.
Thanks,
Anil -
VA01: Sales order with reference to order
Hello,
I'm trying to create sales order with reference to other sales order with tcode VA01.
Original sales order has 2 items with same MATNR and MATKL
Example:
000001 MAT1 LLL
000002 MAT1 LLL
When we create a sales order with reference the system throw the following message:
Item 000001 exists already; the entry will be ignored (V1338).
Why dont the system copy the exact number of items although they are iqual?
Is there any option in configuration to control this behavior?
I thank you in advance.
Mario.Hello Jignesh,
I've tried to perform the changes as you said, but the system trows a short dump.
PERFORM_PARAMETER_MISSING, excepction: CX_SY_DYN_CALL_PARAM_MISSING
A PERFORM was used to call the routine "BEDINGUNG_PRUEFEN_303" of the program
"SAPLV45C".
The current call contains 0 actual parameter(s),
but the routine "BEDINGUNG_PRUEFEN_303" expects 1 parameters.
I image that's because we are giving a position routine at header level.
Do you have aby other sugestion: I tried to use the same routine that i had (001) and Mark Complete Reference but i didnt worked.
I thank you in advance.
Mário. -
Pricing procedure for order with reference from order
Dear Friends,
If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too.
But I would to use another pricing procedure for second document
I found the oss note 14136 but this is for reference from invoce
I tried to create new data transfer routine for orders in copy from 51, but does not work
Can you help me??
thanks
best regards
GdA> If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too. But I would to use another pricing procedure for second document,
Based on my understanding of query.
You are looking for a different pricing procedure in second doc.
For instance, the PricProc for SalesDoc1 is ZPR001 and the PricProc for SalesDoc2 is ZPR002, in addition to that, you want SalesDoc1 to become reference doc for SalesDoc2.
For this, ZPR002 & ZPR001 should have common base price condition type and rest pricing can change.
And for maintaining different Pricing Procedure with similar combination of sales area for SalesDoc1 & SalesDoc2, maintain different document pricing procedure for both docs and maintain Pricing procedure accordingly..
Thanks & Regards
J Prakash -
Create sales document with reference document
Hi Experts:
In the case of create sales document ,i set that create sales order with reference a billing document.
But i have a problem,the Pricing procedure in billing document is A, after coping from it,the sales document
Pricing procedure is A also,it can't work using Pricing Procedure Determination in config.
Actually,i want the sales document using a new pricing procedure.
Pls help to give me some advice.
Thank you very much.
Best Regards!Go to VOFA, select your billing type and execute. There maintain a different document pricing procedure from what you maintained for your sale order type in VOV8.
Next go to OVKK and assign the new pricing procedure to the document pricing procedure of what you maintained in VOFA
Finally, go to VTAF, select your source billing document type and order type and execute. There assign routine 053 for the first "DataT"
Now try how it works.
thanks
G. Lakshmipathi -
Problem in Sales order create using BAPI with reference to quotation
Hi,
I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA.
The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN".
Ideally when a sale order is created in VA01 with reference to a quotation and if all items are added in the order from quotation, then the status of the quotation must be "Complete".
When i use the BAPI, the status of the quotation is sill "Open". Has anyone faced this issue?
Even if anyone has faced this issue with BAPI_SALESORDER_CREATEFROMDAT2, please let me know...
RegardsHi RV,
I am using BAPI to create order reference to contracts. I am facing same issue. Its not updating document flow (vbfa-plmin field). After creating orders I am forcing to update plmin field in vbfa. This worked fine. But now status in reference document not updating properly. I saw your thread. It looks like similar issue. I saw your comments "Customization was not maintained properly for the Order types ". Please can you explain little bit more about your solution. It will helps us lot.
Thanks,
srini -
Create a Sales Order with Reference to Contract using IDoc / LSMW ( AFS )
Hi Gurus,
I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
The Details of the IDoc which is been created via LSMW are as follows;
Message Type: ORDERS
Basic Type : /AFS/ORDERS05
Process Code : ORDE / DELO
( Tried with both process codes. But the Identification is the same for both: IDOC_INPUT_ORDERS )
*_In Header;_
Segment : E1EDK02 - IDoc: Document header reference data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped for field BELNR
*_In Item;_
Segment : E1EDP02 - IDoc: Document Item Reference Data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped to field BELNR
Line Item of the Contract is mapped to field ZEILE
I also tried passing the Schedule line of Contract in Segment : E1J3P01 AFS IDoc: Doc.item general data
to following fields;
J_3AETENV
J_3AVGETE
/AFS/UETENR
Still its not getting updated in the VBEP also..
Please help me with regard to this. Points will be awarded for your valuable contribution.
Thanks.Hi,
This issue is been resolved.
One of my friend helped me with resolving this issue..
Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
u2022 SPRO --> SD -->Sales --> Sales Documents --> Sales Document Header --> Define Sales Document Types --> Field : Outline agreement message; from blank to u201CBu201D.
u2022 SPRO -->SD -->Sales --> Sales Documents --> Sales Document Header --> Maintain Sales Document Types for AFS --> Field : Outline agreement message; from blank to u201CAu201D -
How can I create multiple sales orders with reference to one contract?
Hello Gurus,
Can you please how can I create multiple sales orders with reference to one contract?
thanks!
Rakeshhi
Lets consider example
In your contract for line item 1 you have entered qty 100
You careated sales order with 70 quantity, and now you want to creat another sales order for 30
For this first you need to check what is your item category in contract (VA42)
Goto VOV7
SPRO - IMG - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
Make the completion rule = B Item is completed after full quantity has been referenced -
EDI: creating a sales order with reference to contract
Dear gurus,
we would like to create a sales order with reference to a SD contract from an ORDERS IDoc.
OSS say we have to populate the E1EDx02 segments with the contract number to do this.
We tested this in our system by manually editing the incoming IDoc and this is what we found:
- qualifier u201C005 : Customer Contract Numberu201D set and BELNR = u201Cthe customeru2019s outline agreement number in his MMu201D (= normal MM behaviour) -> reference is not processed at all, sales order is created without reference
- qualifier u201C043: Vendor Contract Numberu201D set and BELNR = our contract number in SD -> Sales order successfully created. BUT where can I store an external outline agreement number in MM so that the BELNR in the IDoc is populated with it?
- qualifier u201C058: Customer Contract Numberu201D set and BELNR = the customeru2019s outline agreement number in his MM -> Error:
The system could not determine a contract number
Message no. VG226
Diagnosis
The system could not determine a contract number for the selection criteria: external contract number 5100000020 and customer number 0044000004.
This error appears although we maintained the external number 5100000020 in the PO number field (VBKD-BSTKD) in our SD contract.
Could anyone please explain what we do wrong?
Cheers
AliciaHi again,
@Lakshmipathi: Thank you, but it is VG226, like I wrote. But still, the OSS note is interesting: "You create a sales order with reference to an MM contract using EDI." Where's the sense in that? Why would I ever want to create a sales order with reference to an outline agreement in MM???
@Rags: Sure we could do that, but I find it hard to believe that there is no standard way to do this. Especially given there are plenty of OSS notes stating that this is possible, e.g. note 562710.
Any other ideas?
Cheers
Alicia -
Re: Creating credit memo with reference to Sales Order in ICWC
Hello gurus
I am new to CRM and we hv ECC 6.0 & CRM 6.0 in our environment.
We have a process where a Credit Memo Request is created with reference to a Sales Order.
Now till this point we had launched VA01 in the ICWC and were creating the CMR with reference to the Standard Order.
Henceforth we want to move this to the CRM ICWC.
In ICWC we create Standard Sales order using Work Center IC_BT_SLO tied to the Navigation profile.
I am looking for some way of copying this order to a Credit Memo Request in the ICWC.
I tried adding the Complaints button on the navigation profile ... however it creates a new CMR ... not sure how to enable copying it from the Original Sales order in ICWC
Any thoughts ?
Thanks
Vinitclosed
Edited by: vinit parkar on Sep 1, 2011 4:25 PM -
Create sales order with reference to 10 quotation
Create sales order with reference to 10 quotation I want to put all quotation means take reference in one sales order how I can do it because when tried va01 and taken reference of question it allow to put only one question number how can I do it for multiple question
AhmedHi Raj,
If you come back to initial screen after coping the first quotation ,then system will ask you whetehr to save or cancel the data,if we select save then it will be saved immediately,else it will cancel.So ,it is not possible to copy more than one quaotation in standard SAP.The only option is to deveop a BDC with the help of abaper.
We can only create this when header data is same in all the quotations.
Regards,
Pasapula.
Edited by: Pasapula on Jul 24, 2009 9:48 AM -
Creating Sales Order with reference to Quotation from different Sales Area
Hi,
I would like to inform you that our customer (GE ENERGY OC) from Europe have a requirement where they want to create sales orders with reference to quotation that is from different sales area. Standard SAP functionality doesn't allow this feature, hence requesting your help to give me an update in this regard.
Please treat this as urgent as they have to do business cutover where they are in the process of completing open sales orders.
Thanks
Ashfaq
Mobile: +91-98857-07558
E-Mail: [email protected]Hi RadhaKrishna,
In standard system it is not possible to create sales order from a quotation whose sales are is different.
However I think this is possible by using some user exit in sales order. I have never tried this.
Regards
srini -
Create a sales order with reference to another one. (BAPI)
Hi everybody,
I'm trying to create a new sales order with reference to another one (That's important because of the documents flow).
I'm using 'BAPI_SALESORDER_CREATEFROMDAT2' but I couldn´t do it yet. I've read some ideas about this kind of creation in this forum; but I still haven´t found the solution yet.
Some ideas about the BAPI parameters I nedd to complete?
Thanks in advance!!Hi,
Go through this one
*& Report ZSD_R_SALESORDER
report zsd_r_salesorder1 line-size 132 message-id zmmbapi .
*& Created By : shailaja
*& Created on : 13.10.2007
*& Requested By : vardhman
*& Description of program :
Internal table definition *
data: gt_order_header_in like bapisdhead occurs 0 with header line,
gt_return like bapireturn1 occurs 0 with header line, " Return Messages
gt_order_items_in like bapiitemin occurs 0 with header line, " Item Data
gt_salesdocument like bapivbeln-vbeln , "Number of Generated Document
gt_order_partners like bapiparnr occurs 0 with header line, "Document Partner
gt_return1 like bapiret2 occurs 0 with header line.
Data definition *
types: begin of ty_gt_ft_sales ,
partn_numb(10) type n ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
*REQ_DATE_H(010),
ref_1(012), "Ref
unload_pt(025),
*PARTN_ROLE(2) ,"Partner function
*PARTN_NUMB(10) ,"Customer Number 1
end of ty_gt_ft_sales,
begin of ty_header ,
partn_numb(10) ,"Customer Number 1
partn_role(2) ,"Partner function
sales_org(4) , "Sales Organization
distr_chan(2) , "Distribution Channel
division(002), "DIVISION
doc_type(4) , "Sales Document Type
purch_no(020), "Purchase order
unload_pt(025),
req_date_h(010),
end of ty_header,
begin of ty_item,
material(18), "MATERIAL
targetquantity(020),"Target quantity
reqqty(020), "Req quantity
reqdate(010), "req date
ref_1(012), "Ref
*UNLOAD(025),
end of ty_item.
data : msg(240) type c, " Return Message
e_rec(8) type c, " Error Records Counter
rec_no(8) type c, " Records Number Indicator
s_rec(8) type c, " Successful Records Counter
t_rec(8) type c, " Total Records Counter
v_matnr like mara-matnr,
v_parvw type parvw.
data : gt_ft_sales type standard table of ty_gt_ft_sales with header line.
data : wa_gt_ft_sales type ty_gt_ft_sales,
wa_order_items_in like gt_order_items_in,
wa_gt_ft_sales1 type ty_gt_ft_sales,
wa_header type ty_header,
salesdocument like bapivbeln-vbeln.
selection block for EXCEL UPLOAD FILE
selection-screen begin of block b1 with frame title text-000.
parameters file type ibipparms-path obligatory.
selection-screen end of block b1.
*<<<<AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE .
at selection-screen on value-request for file .
perform getname.
form getname.
call function 'F4_FILENAME'
exporting
program_name = syst-cprog
dynpro_number = syst-dynnr
importing
file_name = file.
endform.
*TOP-OF-PAGE.
top-of-page.
skip 3.
format color col_heading inverse on.
write 40 text-001.
format color col_heading inverse off.
skip 1.
format color col_negative inverse on.
write :/ text-002, 13 sy-mandt , 104 text-003, 121 sy-uname,
/ text-004, 13 sy-datum , 104 text-005, 121 sy-uzeit.
format color col_negative inverse off.
skip 3.
*START-OF-SELECTION.
start-of-selection.
perform get_data.
perform bapi.
*end-of-page.
perform result.
form result.
t_rec = e_rec + s_rec.
skip 3.
format color col_total inverse on.
write: /38 text-007, t_rec.
format color col_total inverse off.
format color col_negative inverse on.
write: /38 text-008, e_rec.
format color col_negative inverse off.
format color col_total inverse on.
write: /38 text-009, s_rec.
format color col_total inverse off.
endform.
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .
call function 'WS_UPLOAD' "#EC *
exporting
filename = file
filetype = 'DAT'
tables
data_tab = gt_ft_sales
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
no_authority = 10
others = 11.
if sy-subrc 0 .
message e000.
endif.
endform. " get_data
*& Form BAPI
form bapi .
loop at gt_ft_sales into wa_gt_ft_sales.
wa_gt_ft_sales1 = wa_gt_ft_sales.
at new partn_numb.
wa_header-doc_type = wa_gt_ft_sales1-doc_type..
wa_header-sales_org = wa_gt_ft_sales1-sales_org . "'0001'
wa_header-distr_chan = wa_gt_ft_sales1-distr_chan. "'01'
wa_header-division = wa_gt_ft_sales1-division. " '01'
wa_header-purch_no = wa_gt_ft_sales1-purch_no.
wa_header-req_date_h = wa_gt_ft_sales1-reqdate.
call function 'CONVERSION_EXIT_PARVW_INPUT'
exporting
input = wa_gt_ft_sales1-partn_role
importing
output = v_parvw.
wa_header-partn_role = v_parvw.
wa_header-partn_numb = wa_gt_ft_sales1-partn_numb.
wa_header-unload_pt = wa_gt_ft_sales1-unload_pt.
move-corresponding wa_header to gt_order_partners.
move-corresponding wa_header to gt_order_header_in.
append gt_order_header_in.
append gt_order_partners.
endat.
call function 'CONVERSION_EXIT_CCMAT_INPUT'
exporting
input = wa_gt_ft_sales1-material
importing
output = v_matnr.
gt_order_items_in-material = v_matnr .
gt_order_items_in-target_qty = wa_gt_ft_sales1-targetquantity . "'1000'
gt_order_items_in-req_qty = wa_gt_ft_sales1-reqqty.
gt_order_items_in-req_date = wa_gt_ft_sales1-reqdate.
*GT_ORDER_ITEMS_IN-BILL_DATE = wa_GT_FT_SALES1-REQDATE.
gt_order_items_in-ref_1 = wa_gt_ft_sales1-ref_1.
append gt_order_items_in.
clear : wa_gt_ft_sales1,wa_header.
at end of partn_numb.
call function 'BAPI_SALESORDER_CREATEFROMDAT1'
exporting
order_header_in = gt_order_header_in
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = 'X'
importing
salesdocument = salesdocument
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
return = gt_return
tables
order_items_in = gt_order_items_in
order_partners = gt_order_partners.
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
if gt_return-type eq 'E' .
e_rec = e_rec + 1.
read table gt_return with key id = 'V1'.
format color col_negative inverse on.
rec_no = e_rec + s_rec.
concatenate text-006 rec_no ':'
gt_return-message into msg separated by space .
condense msg.
write: / msg.
format color col_negative inverse off.
elseif gt_return-number = '000'.
s_rec = s_rec + 1.
format color col_positive inverse on.
msg = 'SUCCESS'.
condense msg.
write: / msg .
format color col_positive inverse off.
write :/ salesdocument, 'Has been created'.
perform commit_mm.
endif.
clear: gt_return[], msg.
endat.
endloop.
endform. " SLALE_UPLOAD_DATA
*& Form COMMIT_MM
text
--> p1 text
<-- p2 text
form commit_mm .
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
importing
return = gt_return1.
clear: gt_order_items_inhttp://].\"GT_ORDER_CONDITIONS_IN[.
endform. " COMMIT_MM
inthis pass re_doc field in header...
Edited by: Naresh kumar -
Create a Sales order with reference to another sales order using BAPI
Dear All,
Can any one tell me what are all the parameters required to create a Sales order with reference to another sales order using BAPI_SALESORDER_CREATEFROMDAT2....
Thanks in advanceHi Madhan
Thanks a lot for your reply.
However, I would like to know which parameters need to passed in this BAPI in case of SO creation with reference. I beleive there are only a few parameters that need to passed in ORDER_HEADER_IN, ORDER_ITEMS_IN, etc.
Need to know exactly which are these parameters.
Regards
Mihir Shah. -
Create sales order with reference to contract
Hi,
I have to create sales orders with reference to a contract. When I do the recording on lsmw the line items in the sales order are assigned a number from sap. I need to keep the line item numbers the same as per the contract.
Any advice appreciated.
Regards,
Warren.found answer
Maybe you are looking for
-
Hello everyone, Flash problems yet again I have created a product configurator which i need to remember a users choices when they return to the page. I know that this is probably a job for shared objects but i'm not sure how to go about it. I need th
-
How do is get iOS 4.3 on my i pod
How do I download iOS4.3 or 5.0 to my ipod touch. I have a mac also.
-
Tried to update the EFI on Macbook Pro 2011 & Crashed?
Hey all So this is my new Macbook Pro 2011! FIrst apple producct ever! I installed a bunch of updates to my mac before & they worked fine- without issue but i recently tried to install the Macbook Pro 2.3 Firmware Update & the thunderbolt firmware up
-
Different Deadlock trace files
Hello, In our application we use to have deadlock issues and i need to analyze that trace file.Some time i use to have trace files which is having current session and waiting session information and with modules and queries they are executing in top
-
Hi, I am trying to settle planned delivery cost maintained in PO through condition type - FRB1. Also maintained tcode details in table t169f. Did configuration in node - MM - LIV - ERS - maintained required details for the vendor I did GR against the