BAPI or FM to create Work Order with reference to Notification (IW34)
Hi Experts,
Can you please let me know a BAPI or FM to create a Work Order with reference to Notification(just want to replicate IW34)?
I tried using BAPI_ALM_ORDER_MAINTAIN but it is creating another new notification in addition to the notification I passed in Object list.
Thanks in Advance.
-Chandra
Hi,
try FM BAPI_SALESORDER_CREATEFROMDAT2
with ORDER_HEADER_IN fields
REFOBJTYPE
REFOBJKEY
REFDOCTYPE
Regards,
Clemens
Similar Messages
-
BAPI or FM for creating transfer order with reference to reservation
hi
i need a BAPI or FM to create a transfer order with reference to a reservation. I tried BAPI_GOODSMVT_CREATE but the problem is it does not support movement type '311'. is there any FM or BAPI to use movement type '311' and create a transfer order with reference to a reservation? pls helpHi,
Try Using WM_CREATE_GOODS_MOVEMENT first use this and later use any of the TO create FM.
Thanks & Regards,
YJR -
Create Sales Order with Reference from Quotation
Hi All,
Is there any bapi or function to create sales order with reference from a quotation?
I know BDC is possible but any other methods?
Thanks
DylYou can use - BAPI_SALESDOCUMENT_COPY.
Prerequisite is Copy control should exist in customizaiton.
-Alpesh -
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 -
BAPI: Create Sales order with reference to Quotation
Hi ...
I am using bapi BAPI_SALESOREDER_CREATEFROMDATA2 and
i want to create sales order with reference Quotation... All quotation data like Materials prices and conditions must be copied from reference quotaion which is allready created .....
..Thanks..
..AshishHello,
nice to see that this has already been solved.
But it actually doesnt work in my scenario. Do you have an example coding which will explain your solution.
Mine looks like this:
* Update Flag
ls_header_inx-updateflag = 'I'.
* Angebotskopf einlesen
SELECT SINGLE * FROM vbak INTO ls_vbak
WHERE vbeln = iv_vbeln
AND vbtyp = lc_vbtyp.
IF sy-subrc <> 0.
EXIT.
ENDIF.
* Auftragskopf setzen
ls_header_in-doc_type = ls_vbak-auart.
ls_header_in-sales_org = ls_vbak-vkorg.
ls_header_in-distr_chan = ls_vbak-vtweg.
ls_header_in-division = ls_vbak-spart.
ls_header_in-req_date_h = ls_vbak-VDATU.
ls_header_in-ref_doc = ls_vbak-vbeln.
ls_header_in-refdoc_cat = 'B'.
* Angebots-Partner einlesen (Nur AG und WE)
* Auftrag anlegen
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
* SALESDOCUMENTIN =
order_header_in = ls_header_in
* order_header_inx = ls_header_inx
* SENDER =
* BINARY_RELATIONSHIPTYPE =
* INT_NUMBER_ASSIGNMENT =
* BEHAVE_WHEN_ERROR =
* LOGIC_SWITCH =
* testrun = 'X'
* CONVERT = ' '
IMPORTING
salesdocument = ev_vbeln
TABLES
return = et_return
* order_items_in = lt_items_in
* order_items_inx = lt_items_inx
order_partners = lt_partners
* ORDER_SCHEDULES_IN =
* ORDER_SCHEDULES_INX =
* ORDER_CONDITIONS_IN =
* ORDER_CONDITIONS_INX =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
* ORDER_CCARD =
* ORDER_TEXT =
* ORDER_KEYS =
* EXTENSIONIN =
* PARTNERADDRESSES = .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Unfortunatly this just makes the reference to the quotation but does not takeover ALL data from header and pos level.
Thanks and regards
Markus Armbruster -
Bapi To create sales order with reference of sales order.
Hi all,
Having requerment To create sales order with reference of onother open sales order.
Example: there open sales order which having qty of 20 for that 10 qty as already billed , for remain 10 qty as to create the new sales order with reference to the excsiting one.
Please guide me how do it.
Regards,
Santosh
Edited by: santosh jajur on May 15, 2010 11:47 AMHi Santhosh,
check this thread.
Re: Open Sales Order Migration
The last part of the thread says done.
hope you get a hint from that.
Also this one
Re: how to create open sales order using BAPI....?
http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
Regs,
SuryaD.
Edited by: SuryaD on May 15, 2010 9:09 PM
Edited by: SuryaD on May 15, 2010 9:10 PM
Edited by: SuryaD on May 15, 2010 9:11 PM -
BAPI to create Sales Order with reference to contract
Hi All,
I am trying to create Sales Order with reference to Contract, but although the
order gets created, it does not contain reference document information.
The BAPI I am using is BAPI_SALESORDER_CREATEFROMDAT2.
Would someone know which parameters I have to papulate,or have any other suggestion
how to accomplish my task?
Thank you so much,
MayankHi - Try Filling these three fields in the Item details.
REF_DOC
REF_DOC_IT
REF_DOC_CA
Reward points if helpful -
BAPI-To create production orders with reference to sales order & item
Hi,
Can anyone tell me which is the best method to create open production orders?
Is there any BAPI available for creating production orders with reference to sales order & item.
I tried this BAPI "BAPI_PRODORD_CREATE".
I am getting pop up to enter serial number while executing the custom program.
Which table contains the serial number(effectivity parameters)?.I have custom screen fields on notification service!
i think a bdc is better. -
Problem with BOM Quant while creating Sales order with reference using BAPI
Dear All,
I am facing problem with creating a slaes order with reference to other sales order by using BAPI_SALESORDER_CREATEFROMDAT2 .
Sales order is getting created but
1. It exploding the BOM means the line items which are not there in the reference SO also coming in the new SO ( all BOM items are coming )
2. Schedule line for BOM header item is getting copied to all sub items of BOM.
Can any one help me out to prevent the above deviations in creating Sales order with reference by using BAPI_SALESORDER_CREATEFROMDAT2.
Note: while passing the parameters to BAPI_SALESORDER_CREATEFROMDAT2
all the data related to items is exactly the same as in the original Sales Order.
Thanks in advnace.
Regards,
JohnHi All,
Can any one help me !!!!!!!!!!
please -
Function module for Create service order with reference to sales doc (RAS )
Hi All,
I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
SumitTry this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
Regards
Kathirvel -
Create sales order with reference to a contract
Hi,
Is there any BAPI/FM which can be used to create a sales order with reference to a contract.
Regards,
Saji.Hi Maninder/Srinivas ,
Could you please provide your valuable inputs on the below query . I have posted a new thread , but haven't got any reply till now . Sorry for posting it again.
I want to create an order with reference to a sales contract using BAPI_SALESORDER_CREATEFROMDAT2 .
1) I passed the contract number to the field REF_DOC at header level , But I got the error message in return table " Document 4000003639 doesn't have document category " where 4000003639 was the contract number . am i missing anything ? Is there any other values that has to be passed ?
2) I also tried passing the contract number at item level but the sales order was created without any reference to the contract .
Thanks in advance
Beena -
Create Sales Order With Reference to Billing Document Using BAPI_SALESORDER
Hi,
How can i create a sales order With Reference to Billing Document Using BAPI_SALESORDER_CREATEFROMDAT2?
Thanks in advance,
Alejandro.I have to create sales order with reference to existing billing document. I have tried to following bapis.
1. BAPI_SALESORDER_CREATEed
I have successfully created document with following details.
-->ORDER_HEADER_IN:
DOC_TYPE = ZRK
SALES_ORG = 3000
DISTR_CHAN = 00
DIVISION = 00
ORD_REASON = 100
SD_DOC_CAT = L
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_ITEMS_IN:
ITM_NUMBER = 000010
MATERIAL = 701791
TARGET_QTY = 0000000001000
CURRENCY = EUR
REF_DOC = 100000028
REF_DOC_CA = M
-->ORDER_PARTNERS:
PARTN_ROLE = SP
PARTN_NUMB = W12001
COUNTRY = NL
by providing this input i am able to create the document but it is not picking up the net value. so i have passed some extra paramters in ORDER_ITEMS_IN
COND_TYPE = PNET
COND_VALUE = 14,56
COND_D_UNT = PC.
folowing error is occured: Condition PNET is missing in pricing procedure A V Z0000.
is it something related to configuration problem?
2.BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2
I have used same test data that is used for BAPI_SALESORDER_CREATEFROMDATA (where in i coudl succefully create doc). but here i encounterd following error.
Unpermitted combination of business object BUS2032 and sales doc. category L. -
Issue while creating an order with reference to a contract
When I try to create an order with reference to a contract having KMATs at line item using VA01, it works fine. But when we try to record the same using SHDB, it comes out after accepting the Contract Number on the pop up screen.
If some one can throw light as to if it the config issue or any setting that needs to be looked into?No special settings. This is a typical problem. SHDB (SM35, or call transaction) can be different to "normal" transaction.
You can only follow the special sequence given by the transaction running in BDC mode (if you are using exits check on these fields: sy-binpt, sy-calld).
Kind regards,
JP -
Creating an order with reference to another doc
I want to create an Order with reference to another document.....in other words it should be a copy of the other document...
Any ideas of what function modules we have to use and how we can acheive it...Hi Vin
Creating a Sales Order from a Sales Order Quotation is SAP Standard so really should not be an issue for you.
You do need to maintain the Copy Control Configuration as per my previous reply.
Define Copying Control for Transaction Types
Define Item Category Determination when Copying
Effectively the details of your Transaction Type for Sales Order Quotation will copy into your Sales Order transaction.
I'm used to working in an environment where the user manually decides to then continue with a follow-up transaction, therefore I'm not too sure which Function Modules you need to use in order to do this automatically.
But you are on the right track.
Regards
Arden -
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
Maybe you are looking for
-
Having trouble setting up file sharing through Airport Extreme
Hi, I am trying to set up file sharing on my USB hard drive through the Airport Extreme, on my HP laptop with Windows XP. I went through the steps in manual setup in Airport Utilities, and my hard drive shows up under the Disk Utility in the Airport
-
Well, I was using this work around just fine, until I upgraded to Office 2008. http://discussions.apple.com/thread.jspa?threadID=1341613 Now I can't even open that PowerPoint file at all. I get the error in PowerPoint that it experienced an error and
-
How do i rotate the pictures when i download them to my windows 7 computer
I have downloaded my pictures from my Iphone 4s to my computer and all the pictures are sideways. How can I turn them up right? I have tried everything.
-
Anyone recommend a laptop suitable for running FMLE 3.1?
Hi there, I've been trying to find out if there are any recommended laptops that other FMLE users have tried that could handle onsite webcasting at 25fps (PAL) at around 500-600kbps (512x288 output dimensions). I managed to borrow a friend's old MacB
-
Mail with a socketconnection?
Hello! How do I send mail with a socketconnection. Can I transform the emailadress (= mailHost) into a Ip-number and send it? What I know port 25 is used by emailcommunication. How should the syntax be written? mailSocket=new Socket(mailHost,25); out