BAPI for RFQ create
Gents,
We are in search for a BAPI for RFQ create like the one BAPI_PO_CREATE1 for PO. But we are not getting anyone like that. Please note that we are in ECC 6.0.
We don;t want to go for a BDC to do this.
Any options?
Regards
Shibu
Hi,
I tried this module, but it only works if DIMP is activated . See also : 1666702 - Syntax Error occurs when using BS01_MM_QUOTATION_CREATE .
This contains the remark: Please do not consider activating the Business Function Set DIMP because you only would like to use this specific function BAPI BS01_MM_QUOTATION_CREATE (for some custom development).
So I think, unfortunately this will not work on many installations.
I also tested BAPI_PO_CREATE1 : there is no field to pass the DocumentCategory (to set EKKO-BSTYP ='A' ).
EKKO-BSTYP is set internal to 'F' and as result the passed document type for the RFQ is invalid, when it is checked with table T161.
Does SAP plan to enable a workaround for this module or to develop and a new modul for RFQ-creation via BAPI?
And BAPI_PO_CREATE has an error in processing the passed currency-value.
Similar Messages
-
Hi,
Can Anyoone tell me BAPI for RFQ Release?Hi,
There is no such kind of BAPI function / MASS release to process
RFQ.
Sorry that we can not provide a more positive answer.
Regards,
Edit -
hi Guys,
Is there any FM or Bapi to create, Modify, or extract details for RFQ.
Regards,
Tarun BahalHi,
BAPI_REQUISITION_CREATE for creation.
for others:
2031 Business Object Quotation
BAPI_CUSTOMERQUOTATION_CHANGE Change Customer Quotation
BAPI_QUOTATION_CREATEFROMDATA Customer quotation: Create customer quotation
BAPI_QUOTATION_CREATEFROMDATA2 Customer Quotation: Create Customer Quotation
ACC4 FI/CO: BAPIs for UPDATE
BAPI_ACC_SALES_QUOTA_CHECK Accounting: Check Customer Quotation
BAPI_ACC_SALES_QUOTA_POST Accounting: Post Customer Quotation
HRTIM00ABSATTEXT External interface for 2001/2002
BAPI_PTMGREXTATTABS_CHECKQUOTA Simulates Quota Deduction
MCPD DRP interface
BAPI_QUOTA_ARRANGEMENT_GETLIST Get quota arrangement list
TIQU Time quota
BAPI_TIMEQUOTA_GETDETAILEDLIST BAPI: Determines Quota Data for a Personnel Number
Regards,
Kumar(Reward if helpful). -
Dear Experts ,
I am searching the BAPi for purchase requisition create for enjoy transaction ( ME51N ) . I have found the BAPi "BAPI_PR_CREATE" .
But I am using it at SAP ECC 4.6 so here it is giving error that BAPi doesn't exist .
Suggest me.........
Thanks
AlokHi Alok,
I do not think that there is any BAPI to support enjoy PR transactions. I checked SAP note and found one note for PR BAPIs (SAP note - 499627).
Please check link below:
https://service.sap.com/sap/support/notes/499627
1. Question:
Can I use BAPI_REQUISITION_CREATE to set the fixed indicator?
Answer:
You cannot use the BAPI BAPI_REQUISITION_CREATE to set the fixed indicator.
When the BAPI BAPI_REQUISITION_CHANGE is used to make changes, the system sets the fixed indicator automatically only if the purchase requisition originates from requirements planning.
For more information, refer to Note 330206.
1. Question:
Can the BAPIs of the purchase requisition with the "CreateFromData1" and "Change" methods cover all of the functions of the EnjoySAP purchase requisition (transactions ME51N and ME52N)?
Answer:
The function modules BAPI_REQUISITION_CREATE and BAPI_REQUISITION_CHANGE do not cover all of the functions of the EnjoySAP purchase requisition transactions. This is because the two asynchronous BAPIs have been developed based on ME51 and ME52 (program SAPMM06B). The user exits from the function group MEREQ (for example, MEREQ001) are therefore not available.
In SAP R/3 Release 4.70, two new API methods are developed that are based on the EnjoySAP technology of the purchase requisition transactions ME51N and ME52N. The function modules BAPI_PR_CREATE and BAPI_PR_CHANGE are released in Release 6.00 (ERP2005).
SAP does not provide support for this because these function modules have not been released for Releases lower than 6.00. If you use these BAPIs in customer-defined programs, you must bear in mind that you are responsible for any problems that might occur. In addition, you must read Notes 109533 and 415983.
A downport to a release lower than 4.70 is not provided because developing this would involve considerable time and effort.
1. Question:
Can BAPI_REQUISITION_CHANGE process the customer enhancements ExtensionIn?
Answer:
See Note 584902.
1. Question:
Can service items be created using BAPI_REQUISITION_CREATE or changed using BAPI_REQUISITION_CHANGE?
Answer:
No, this is only possible with the new API functions for the object BUS2105. See the following point.
Hope that helps!
Regards,
Saba
Edited by: Saba Sayed on Feb 17, 2011 5:40 PM -
hi ,
i want to create invoice ..the reference number will be delivery...is there any bapi/fm to do this..i tried bapi_billingdocu_createmultiple..but its not working..if there isn't any bapi what isthe other way...its an urgent thing..thank you..
Thanks,
ChallaCheck this thread for more details. It gives different aspects of creating Invoice document using BAPI for various scenarios.
Re: invoice creation through BAPI -
BAPI for VL31N:Create Inbound Delivery
Hi all,
Please give the BAPI for VL 31N: Create Inbound delivery transaction
thanksNo bapi but you can use this function module GN_DELIVERY_CREATE
Select the data required - see below
select ebeln ebelp menge meins matnr werks lgort bstae loekz elikz
lmein umrez umren insmk pstyp sobkz knttp kzfme kzvbr
ematn mfrnr mfrpn emnfr cuobj uebto untto uebtk bwtar idnlf
txz01 mfrgr gewei voleh ntgew brgew volum ean11 aktnr abeln
abelp aurel matkl upvor uptyp uebpo wepos
into corresponding fields of table xekpo_short
from ekpo
where ebeln = i_ebeln
and ebelp = i_ebelp.
if sy-subrc ne 0.
e_rc = 4.
else.
read table xekpo_short index 1.
call function 'ME_EKKO_SINGLE_READ'
exporting
pi_ebeln = xekpo_short-ebeln
importing
po_ekko = ekko
exceptions
no_records_found = 1
others = 2.
if sy-subrc ne 0.
e_rc = 4.
elseif ekko-bstyp ne 'F' and ekko-bstyp ne 'L'.
e_rc = 4.
endif.
endif.
clear xvbsk.
xvbsk-mandt = sy-mandt.
xvbsk-ernam = sy-uname.
xvbsk-erdat = sy-datum.
xvbsk-uzeit = sy-uzeit.
xvbsk-smart = 'L'.
*- Nummer VBSK vergeben -
select single * from tvsa where smart = xvbsk-smart.
if sy-subrc = 0.
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = tvsa-numki
object = 'RV_SAMMG'
importing
number = xvbsk-sammg
exceptions
others = 01.
if sy-subrc ne 0.
message e700(me) with tvsa-numki text-007.
endif.
else.
message e700(me) with space text-007.
endif.
data: h_grkor like lips-grkor, "Liefergruppe "386409
h_bsmng like ekpo-menge. "Bestellmenge übergeordnete Pos.
if not ekko-lifnr is initial.
call function 'VENDOR_MASTER_DATA_SELECT_12'
exporting
pi_lifnr = ekko-lifnr
pi_ekorg = ekko-ekorg
importing
pe_lfm1 = lfm1
exceptions
no_entry_found = 1
others = 2.
xkomdlgn-vsbed = lfm1-vsbed.
else.
clear xkomdlgn-vsbed.
endif.
xkomdlgn-lifnr = ekko-lifnr.
xkomdlgn-inco1 = ekko-inco1. "363954
xkomdlgn-inco2 = ekko-inco2. "363954
xkomdlgn-exnum = ekko-exnum. "363954
xkomdlgn-bukrs_best = ekko-bukrs. "363954
xkomdlgn-matnr = xekpo_short-matnr.
xkomdlgn-werks = xekpo_short-werks.
xkomdlgn-lgort = xekpo_short-lgort.
xkomdlgn-charg = ?
xkomdlgn-vrkme = xekpo_short-meins.
xkomdlgn-meins = xekpo_short-lmein.
xkomdlgn-umvkz = xekpo_short-umrez.
xkomdlgn-umvkn = xekpo_short-umren.
if xekpo_short-matnr eq space. "386409
xkomdlgn-meins = xekpo_short-meins.
xkomdlgn-umvkz = 1.
xkomdlgn-umvkn = 1.
endif.
xkomdlgn-insmk = xekpo_short-insmk.
xkomdlgn-kzfme = xekpo_short-kzfme.
xkomdlgn-kzvbr = xekpo_short-kzvbr. "note 384051
xkomdlgn-lfimg = p_lfimg.
xkomdlgn-lfdat = p_eindt.
xkomdlgn-vgbel = xekpo_short-ebeln.
xkomdlgn-vgpos = xekpo_short-ebelp.
xkomdlgn-lfart = gf_dlv_type.
xkomdlgn-vgtyp = 'V'.
xkomdlgn-kzazu = 'X'. "??? what's that for ????
xkomdlgn-knttp = xekpo_short-knttp.
xkomdlgn-sobkz = xekpo_short-sobkz.
if xekpo_short-matnr is initial or xekpo_short-pstyp = '6'.
xkomdlgn-posar = 'B'.
endif.
xkomdlgn-ematn = xekpo_short-ematn.
xkomdlgn-mfrnr = xekpo_short-mfrnr.
xkomdlgn-mfrpn = xekpo_short-mfrpn.
xkomdlgn-emnfr = xekpo_short-emnfr.
xkomdlgn-cuobj = xekpo_short-cuobj.
xkomdlgn-uebto = xekpo_short-uebto.
xkomdlgn-untto = xekpo_short-untto.
xkomdlgn-uebtk = xekpo_short-uebtk.
xkomdlgn-bwtar = xekpo_short-bwtar.
xkomdlgn-kdmat = xekpo_short-idnlf.
xkomdlgn-arktx = xekpo_short-txz01.
xkomdlgn-mfrgr = xekpo_short-mfrgr.
xkomdlgn-gewei = xekpo_short-gewei.
xkomdlgn-voleh = xekpo_short-voleh.
xkomdlgn-ntgew = xekpo_short-ntgew * xkomdlgn-lfimg.
xkomdlgn-brgew = xekpo_short-brgew * xkomdlgn-lfimg.
xkomdlgn-volum = xekpo_short-volum * xkomdlgn-lfimg.
xkomdlgn-ean11 = xekpo_short-ean11.
xkomdlgn-aktnr = xekpo_short-aktnr.
xkomdlgn-abeln = xekpo_short-abeln.
xkomdlgn-abelp = xekpo_short-abelp.
xkomdlgn-aurel = xekpo_short-aurel.
xkomdlgn-idnlf = xekpo_short-idnlf.
xkomdlgn-matkl = xekpo_short-matkl.
Leergut-Stückliste übernehmen
clear xkomdlgn-grkor.
clear xkomdlgn-kmpmg.
clear xkomdlgn-uepos.
if xekpo_short-upvor ca '3X'.
h_grkor = h_grkor + 1.
xkomdlgn-grkor = h_grkor.
h_bsmng = xekpo_short-menge.
endif.
if not xekpo_short-uebpo is initial and
xekpo_short-uptyp ca '3X'.
xkomdlgn-uepos = xekpo_short-uebpo.
xkomdlgn-grkor = h_grkor.
if h_bsmng ne 0.
xkomdlgn-kmpmg = xekpo_short-menge / h_bsmng.
endif.
endif.
*- Konsignation - SOBKZ 'K' hart reinsetzen, da von Pstyp abhäng......
if xekpo_short-pstyp eq '2'.
xkomdlgn-sobkz = 'K'.
endif.
Kontierungsfelder
if xekpo_short-sobkz eq 'E' or xekpo_short-sobkz eq 'Q'.
call function 'MMPUR_EKKN_READ_EBELN_EBELP'
exporting
pi_ebeln = xekpo_short-ebeln
pi_ebelp = xekpo_short-ebelp
PI_BYPASSING_BUFFER =
PI_REFRESH_BUFFER =
tables
pto_ekkn_po = xekkn
exceptions
no_records_requested = 1
others = 2.
if sy-subrc eq 0.
read table xekkn index 1.
xkomdlgn-ps_psp_pnr = xekkn-ps_psp_pnr.
xkomdlgn-vbelv = xekkn-vbeln.
xkomdlgn-posnv = xekkn-vbelp.
endif.
endif.
append xkomdlgn. -
hi,
1.can i create delivery for particular customer using bapis?
2.can i create invoice using bapis?
if it is possilble pls tell me the bapi names??????????????
regards
GuruHi Guruvulu,
Take a look at the following ones :
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
BAPI_OUTB_DELIVERY_CHANGE BAPI for Change to Outbound Delivery
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Verification from a Decentralized System
BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Sys
<b>BAPI_OUTB_DELIVERY_SAVEREPLICA / BAPI_INB_DELIVERY_SAVEREPLICA should be ok for you for the delivery creation.
and BAPI_INCOMINGINVOICE_CREATE for invoice.</b>
Hope this helps,
Erwan -
We are using BAPI_IncomingInvoice_CREATE with calcuate tax.
We are using one freight condition is PO which is to includued in ner price but taxes should not be calculated on freight amount.
With Standard MIRO transaction this is working correctly but when we are using BAPI for the same the taxes are being calculated on the amount inclusive of freight.
Kindly help in this regard.
ThanksAny solutions?
-
Any BAPI with code for Creating RFQ.
Try BAPI_QUOTATION_CREATEFROMDATA
BAPI_QUOTATION_CREATEFROMDATA2
CODE
Data: loc_bp type BAPIBUS1006_HEAD-BPARTNER.
data: re_return like BAPIRET2 occurs 0.
data: wa_return type BAPIRET2.
data: re_order_header_in like BAPISDHD1.
data: wa_BAPISDH1X type BAPISDH1X.
data: order_partners like BAPIPARNR occurs 0 with header line.
data: order_items_in like BAPISDITM occurs 0 with header line.
data: order_items_sched LIKE bapischdl OCCURS 0 WITH HEADER LINE.
data: g_vbeln like smovbak-vbeln,
l_vbeln like smovbak-vbeln.
move BUSINESSPARTNER to loc_bp.
*delete line if middleware active.
*loc_bp = '0030000309'.
re_order_header_in-DOC_TYPE = 'TA'.
re_order_header_in-SALES_ORG = 'NL01'.
re_order_header_in-DISTR_CHAN = '02'.
re_order_header_in-DIVISION = '01'.
order_partners-partn_role = 'AG'.
order_partners-partn_numb = loc_bp.
append order_partners.
order_partners-partn_role = 'WE'.
order_partners-partn_numb = loc_bp.
append order_partners.
order_items_in-itm_number = '000010'.
order_items_in-MATERIAL = MATERIAL.
order_items_sched-itm_number = '00010'.
order_items_sched-req_qty = '1'.
append order_items_sched.
append order_items_in.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
DESTINATION 'zorder'
EXPORTING
ORDER_HEADER_IN = re_order_header_in
TESTRUN = ' '
importing
salesdocument = g_vbeln
TABLES
RETURN = re_return
ORDER_ITEMS_IN = order_items_in
ORDER_PARTNERS = order_partners
order_schedules_in = order_items_sched.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
DESTINATION 'zorder'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = wa_return. -
Bapi for vl01no create outbound delivery without order reference
Hi Guru's, i need help, I'm looking for BAPI VL01NO
Any suggestions?
Thanks for everything
Edited by: GaBo_s Gabo on Sep 22, 2009 8:48 PMHi,
Following is the sample code for creation of outbound delivery Using BAPI 'BAPI_DELIVERYPROCESSING_EXEC'
Which may be helpful.
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng 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 kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_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-kwmeng.
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.
READ TABLE t_created INDEX 1.
WRITE: / 'Delivery ', t_created-document_numb, ' created'.
Let me know if any issues.
Thanks & Regards,
Naveen -
Need BAPI for COR1(Create process Order)
Hi Gurus,
I need a BAPI or Function module for create process order (Tcode - COR1)
for which i am passing Plant, storage location,produced material number, quantity to produce,
received material,quantity to recived.
Regards,
Vijay MekalaHi,
is there any other BAPI or function module for COR1...
Regards,
Mekala Vijay -
Hi,
I need to simulate XD01 as my web dynpro application. (My requiremtn).
I have a requirement to create the customer. ( In WEB DYNPRO)
I am looking for the BAPI.
In my application I am giving the customer number from My Screen as Exporting Parameter.
But, In BAPI, by default it is assigning the Customer number. It is not taking as Input.
Can you please tell me any BAPI or any FM or which creates customer by taking KUNNR as input.
Regards
Sandeep.Hi Sandeep,
first don't use SD_CUSTOMER_MAINTAIN_ALL.....
SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
For the maintenance of customers, there is NO BAPI and NO direct function module.
There are some functions modules like the one above where the name is looking nice. But these should not be used.
Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
Then some other informations that can help too.
Starting with ERP 2005 ehp2 or ehp3, a new initiative has been developped. It called the Lean Customer. This is a Web dynpro application to maintain customer master data.
This development proposes an api that can be used directly if the limitation are ok for your development.
Otherwise you have to go to the CMD_EI_API class to fullfil you goal
Hope this helps
BR
Alain -
While i send the delivery date to BAPI for PO create,it still going for ATP
Hi Friends,
while creating PO through BAPI I am sending delivery date to "BAPI_PO_CREATE1" in the schedule lines ,but still it is picking the delivery dates from the ATP.
I want my delivery dates to be populated in the PO rather than the ATP.
Please suggest.
Do we have any new BAPI i am using R/3 version 4.7.
Thanks Regards,
Sandipan JenaThere seems to be lot of threads in SDN and OSS Notes( 770120)
bapi_po_create1 - enjoy purchase orders -
Hello All,
I need to create Routing using BAPI ' BAPI_ROUTING_CREATE'. and i need to have object dependencies in operation view as well. but i am not able to find the field to pass that data related to object dependency. can anybody help me to solve this.
Kumar.Hi check this out.
Value assignment OPERATION
Structure component Value Remarks
TASK_LIST_GROUP 1
SEQUENCE_NO 0, 1, 2u2026 Sequence number:
0 u2013 main sequence
1,2,u2026 parallel sequence.
ACTIVITY 9999 Operation number: 0010, 0020, etc.
CONTROL_KEY KL01, KL21u2026 Control key
WORK_CNTR 757, 725,u2026 Work center
PLANT 560
DESCRIPTION Operation description
OPERATION_MEASURE_UNIT_ISO PCE
DENOMINATOR 1
NOMINATOR 1
BASE_QUANTITY 1
STD_VALUE_01 999,999 Operation time, maximum 3 decimals places
STD_UNIT_02_ISO UHR, MIN,u2026 Operation time unit -
BAPI for PO Create/Change with use of EXTENSIONIN table
Hello,
We are using SRM extended classic scenario which copies PO's from SRM to ECC via function module BBP_PO_INBOUND. This function module does mappings and then calls either BAPI_PO_CREATE1 or BAPI_PO_CHANGE. I have added field YYVSBED (char2) to structure CI_EKKODB. When BAPI's are called this field is present in ExtensionIn structure. While debugging the processing, I can see that it being processed, however, it does not get posted in database.
Any suggestions are very welcome.
Thank you.
NatashaInternally the BAPI uses the the MEPO...-Structures . Your data is lost at the move-corresponding from the BAPI-Structure to the related MEPO... structure . If your target-field is an EKPO-Field you have to check if there is a field in the MEPOITEM -structure .
If you use the CI_EKPODB to extend the EKPO with your custom field, the BAPI would work, because this is included in EKPO and MEPOITEM .
Best regards Josef
Maybe you are looking for
-
Advanced Adapter Engine Monitoring
Hi I configured the Intergrated Configurations in ID for Sync scenarion to Increase the performance ... i guess when i run the scenario its working ..but i am not able to see the messgaes in SXMB_MONI ( i think if we use AAE we cant see message in SX
-
How to use USEREXIT_FIELD_MODIFICATION ?
hi there how can i implement USEREXIT_FIELD_MODIFICATION in va02? do i need acess key for that?
-
Problem with SQL Script in report
Post Author: danish CA Forum: Data Connectivity and SQL Hi Can someone tell me why I'm not getting the right answer.Basically I want to pick up all creditors invoices that have been invoiced to the 31/12/2007 and then I don't want to count those that
-
Energy Settings - do your hard drives go to sleep ?
Hello everyone, I am wondering what most of you do in terms of energy settings ( on a windows computer ), do you have your hard drives set to go to sleep after so many hours ? or do you have them set to *never* go off ? At the moment I have my drives
-
Hi, Currently, volume of line item in sales order VBAP-VOLUM is calculated based on order quantity. However, I need the calculation based on confirmed quantity. Any user exits or possible solutions. Thanks in advance.