Create/Change RFQ BAPI
Dear Gurus
Is there BAPI to create RFQ?
Only found this for Quotation from the tread.
BAPI_QUOTATION_CREATEFROMDATA
BAPI_QUOTATION_CREATEFROMDATA2
I am in SAP47 environment. I do not want to add Call txn logic for this
HI,
You can create the Rebate Agreement using this BAPI BAPI_AGREEMENT
You have to pass the following fields :
Operation : 005
Agree_Cond : $
Sales-Org :
Distr_Chan :
Division :
Agr_Type :
Category : A
Application : V
Recipient :
Ex_Descr :
Valid_From :
Valid_To :
Cond_Group : This value you can find from SPRO. Search for Rebate in Search Tab; there you will get the link in Billing.
This will solve your purpose.
Similar Messages
-
ME41 create - create RFQ - BAPI - Userexit
Hello experts,
I'm was trying to find a BAPI to create a request for quotation (RFQ).
I read the thread [Re: BAPI to create Purchase Requisition;, so there seams to be no BAPI.
For that reason I tried to solve the problem with batch input. It created a RFQ. But in further steps the transaction normally loops throught a amount of suppliers, the RFQ is directed to.
CLEAR ls_bdc_data.
ls_bdc_data-fnam = 'BDC_OKCODE'.
ls_bdc_data-fval = '/00'.
APPEND ls_bdc_data TO lt_bdc_data.
ls_ctu_params-racommit = ''.
ls_ctu_params-nobinpt = 'X'.
ls_ctu_params-dismode = 'E'.
* ls_ctu_params-updmode = 'S'.
ls_ctu_params-nobiend = 'X'.
CALL TRANSACTION 'ME41' USING lt_bdc_data OPTIONS FROM ls_ctu_params.
Does anybody have an idea.
Best regards,
AndiHi,
I found the problem. The ME41 uses a COMMIT WORK in MM06EF0B_BUCHEN.
* docu: process COMMIT WORK
* function module, ME41 and ME59 sometimes using COMMIT AND WAIT
IF no_commit IS INITIAL. "for FM w/o COMMIT possible
IF commit_wait IS INITIAL AND sy-tcode NE 'ME41'
AND NOT ( ( fc_vorga EQ cva_ab OR NOT gf_me59n IS INITIAL )
AND gf_atp_indicator EQ 'X' ).
COMMIT WORK.
ELSE.
COMMIT WORK AND WAIT.
ENDIF.
For that reason I had to change the options:
ls_ctu_params-racommit = 'X'.
ls_ctu_params-nobinpt = 'X'.
ls_ctu_params-dismode = 'E'.
" ls_ctu_params-updmode = 'L'.
ls_ctu_params-nobiend = 'X'.
CALL TRANSACTION 'ME41' USING lt_bdc_data OPTIONS FROM ls_ctu_params.
It works.
Best regard,
Andi -
What bapi or FM can create/change vendor master data?
We want to do a rfc to create/change vendor master data .If use BDC,the change function is very very complex,but i can't find any BAPI/FM in sap!
>
Keshav.T wrote:
> Hi,
>
> just some more addition to vinodh's reply . the actual method you must is maintain_bapi of class vmd_ei_api
Hi Keshav - you should have noticed vinodh's reply came from something your wrote earlier this year: Search BAPI to create Vendor in ECC and from an extenal application -
BAPI for create/change purchase info record
Hi All,
Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
Earliest can be appriciable.
Regards
AnilHi,
I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
Reward if it is usefull..
Bye.
BAPI_INFORECORD_GETLIST -
BAPI for create/change Routing
Hi ,
Are there any BAPI's for creating/ changing routings.
Regards,
Divyanshuhi,
<b>BAPI_ROUTING_CREATE</b>"used for creation.
Regards
vijay -
Bapi or FM to create,change and delete Contact persons for vendors
Dear Experts,
We are replicating the Contact persons details from SUS(SRM) to ECC, When a Contact person is create,changed or deleted the data should be replicated in ECC. We are doing custom development to do this, I need to know is there any function module or Bapi which I can use to create , change or delete the contacts persons for a vendor.
I tried using BAPI_ADDRESSCONTPART_CHANGE, BAPI_ADDRESSORG_SAVEREPLICA for changing but its doesn't covers few fields like time zone etc. For deletion I tried WY_KNVK_SINGLE_DEL_FROM_BUFFER its too not helping me .
Please let me know is there any bapi or fm to do these process or we can go for BDC.
Thanks & regards,
Santhosh.RHi Santosh,
Can you please tell me what Business Scenario is asking you to consider the Time Zones .
If you know the Customer Number you can very well get the country and there are various FM's to get the time zone based on a country .
Now Call the FM (as wrote by you ) based on the TIme Zone condition,
Please enlighten me if i am incorrect.
Thanks
Sri -
Bapi's or function modules to create, change( delete) partner functions
Hi,
Can anyone suggest BAPI or Function Modules for creating , changing the Partner Functions of the customer
eg: To create customer XYZ as bill-to-party of customer ZYX , i need either a BAPI or Function Module.
Thanks in Advance,
SabuHi The following are the BAPI's to create and change the Partner Function.
BAPI_BUS2001_PARTNER_CHANGE_M
BAPI_BUS2001_PARTNER_CREATE_M
Regards
Vijay -
BAPI to create/change position?
Dear Experts,
Is there any standard BAPI / RFC to create / change position in Organizational Management?
Pls let me know.
ThanksHRIQ_BAPI_INFTY_INSERT
or
FM RHOM_CREATE_OBJECTS -
To create/change material determination records using VB11/VB12 transaction
To create/change material determination records using VB11/VB12 transactions, do you know any relevant FM's or BAPI's for these transactions instead BDC?
Thanks in advance.
regards,
vamshiThanks for the response. I wrote the BDC.
Have some problems in BDC for VB12.Uploading ten thousand records at a time.
Following problems exist.
Before updating i am reading existing data.
In selection condition, if i give ten thousand records
i am getting dump.
(ii) In the change material determination third screen
to delimit the date ( Valid on and Valid to) it does for header not at item level. No option to do at item level.
thanks,
vamshi -
I have to create/change Rebate agreement by the transaction code VBO1 and VBO2. I found two function modules(not RFC) BAPI_AGREEMENTS and BAPI_PRICES_CONDITIONS. However I found these function modules are not SAP Released yet (in ECC 6.0). Is it okay to use thesebfunction modules. if not, is there any other FM/Bapi for this.
HI,
You can create the Rebate Agreement using this BAPI BAPI_AGREEMENT
You have to pass the following fields :
Operation : 005
Agree_Cond : $
Sales-Org :
Distr_Chan :
Division :
Agr_Type :
Category : A
Application : V
Recipient :
Ex_Descr :
Valid_From :
Valid_To :
Cond_Group : This value you can find from SPRO. Search for Rebate in Search Tab; there you will get the link in Billing.
This will solve your purpose. -
Error while creating WBS through BAPI
I am using BAPI_PROJECT_MAINTAIN to create WBS L2 & L3.
There is only 1 WBS at both levels.
For some cases it is running fine, but I am getting the following error in some cases:
"WBS element 3UTWB_BSRHT_001 can no longer be shifted"
What could be the reason?As you told you are creating WBS vai BAPI. This may not be exact relevant Normally you cannot change hierarchy of WBS Elements after you have done some sort of execution / planning on it. If you are getting error than please share details of error message with no.
With Regards
Nitin P. -
Create Change request in background ChaRM
Hi All,
My requirement is to create Change request in mass in background. Is there any function module or BAPI which can be used for this purpose. I am looking to create Ur*ent correction, Normal_correction as well as administration changes with this method.
Regards,
SmitaI could able to create a CR and do my POC with the help of below function module.
SOCM_CHANGE_REQUEST_CREATE_RFC
Now I can built program to make CR of different type on top of it.
Thanks
Smita -
Userexit or BADI for MM41/ MM42 article create/change
Hi Experts,
My requirment is do some validations for custome fields before save the article while create or change. Please let me know any user exit and BADI's for suitable for my requirment. The user exit and BADI should be execute when i create/change article through BAPI. & handle errors. How to handle error in BADI without throw error message to GUI screen.
<removed by moderator>
Thanks
jayabanda
Moderator message: please do more research before asking, show what you have done yourself when asking.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Aug 25, 2011 11:13 PMHi Jonathan,
Appreciate your reply. As you know the validations kick in based on your input on the screen, kind of mostly part of PAI of the screen (0750 in this case). But my requirement is to prevent this change in the first place, not validating the user's input after a change option is given to the user.
If you know if and how we can achieve this, please share your thoughts.
Thanks & Regards,
Venu -
Create/Change Sales Deals using VB21
Hey All-
Currently we have BDC to Create/Change Sales Deals using tcodes VB21 and VB22.Now we have decided to use any standard Function Module/BAPI in place of BDC because of performance issue.
I was trying with function module 'RV_CONDITION_COPY''RV_CONDITION_SAVE', 'RV_CONDITION_RESET' and 'Commit Work' ,but don't see any sales deals are creating.I see records updates table 'A501','KONH' and 'KONP' without Sales Deals Number.If anyone of you resolved the issue,Can you please post me the sample code?Thanks
Thanks,
SonyThanks Mishara..I did the same way,but still did not work..
wa_komg-matnr = e_material.
wa_komg-vkorg = e_sorg.
wa_komg-meins = 'EA'.
wa_komg-vtweg = '10'.
wa_komg-spart = '10'.
wa_komg-zzshiptype = e_shiptype."'D'.
wa_komg-waerk = 'USD'.
wa_komg-mfrnr = e_mfrnr.
wa_kona-boart = 'ZNSC'.(Type of Sales Deal)
wa_kona-botext = 'Test for ZNSC'.
wa_kona-abrex = e_mfrnr.
wa_kona-vkorg = e_sorg.
wa_kona-vtweg = '10'.
wa_kona-spart = '10'.
wa_kona-abtyp = 'C'.
wa_kona-kappl = 'V'.
wa_kona-kobog = 'ZNSC'. (Type of Sales Deal)
wa_kona-bukrs = '1000'.
wa_kona-waers = 'USD'.
wa_kona-datab = e_date_from.
wa_kona-datbi = e_date_to.
wa_kona-ernam = sy-uname.
wa_kona-erdat = sy-datum.
wa_kona-erzet = sy-uzeit.
it_komv-kappl = e_appln."V.
it_komv-kschl = e_condition."ZE8P(condition type)
it_komv-kpein = '1'.
it_komv-waers = 'USD'. "gw_t001-waers.
it_komv-kmein = 'EA'.
it_komv-kbetr = e_amount.
it_komv-krech = 'C'.
wa_pispr-matnr = e_material.
wa_pispr-vkorg = e_sorg.
wa_pispr-vtweg = 10.
wa_pispr-spart = 10.
CALL FUNCTION 'SPR_KOMK_KOMP_FILL'
EXPORTING
pi_i_spr = wa_pispr
IMPORTING
pe_i_komk = komk
pe_i_komp = komp.
CALL FUNCTION 'RV_CONDITION_COPY'
EXPORTING
application = e_appln
condition_table = '501'
condition_type = e_condition
date_from = e_date_from
date_to = e_date_to
enqueue = 'X'
i_komk = komk
i_komp = komp
key_fields = wa_komg
maintain_mode = 'A'
no_authority_check = 'X'
keep_old_records = 'X'
used_by_idoc = 'X'
i_kona = wa_kona
overlap_confirmed = 'X'
no_db_update = space
IMPORTING
e_komk = komk
e_komp = komp
new_record = new_record
TABLES
copy_records = it_komv
copy_recs_idoc = it_komv_idoc
EXCEPTIONS
enqueue_on_record = 1
invalid_application = 2
invalid_condition_number = 3
invalid_condition_type = 4
no_authority_ekorg = 5
no_authority_kschl = 6
no_authority_vkorg = 7
no_selection = 8
table_not_valid = 9
no_material_for_settlement = 10
no_unit_for_period_cond = 11
no_unit_reference_magnitude = 12
invalid_condition_table = 13
OTHERS = 14.
CALL FUNCTION 'RV_CONDITION_SAVE'
TABLES
knumh_map = lt_knumh_map.
CALL FUNCTION 'RV_CONDITION_RESET'.
COMMIT WORK.
Please,let me know where I am doing the mistake...Thanks -
Creating \ Changing Functional Location With Contact Person.
Hello.
I'm looking for BAPI / Function for creating/changing "Functional Location" with Adding, deleteing OR changing "Contact Person"
I Have found the BAPI's : BAPI_FUNCLOC_CHANGE
BAPI_FUNCLOC_CREATE
but thier is no option to handle with "contact person" .
(SAP Table "IHPA").
Best Regards'
Haim B.Hello,
Instead of searching for any FM or anything. Go and create a flow thorugh LSMW and change the desired contact person through it..
I assure you this is the best and most efficient way.
first run LSMW and create a flow by changing the contact person of any one functional location and then assign the flow of that lSWM through external notepad file.
Get in the notepad all the desired FL you want to change run that within minutes your job will be done.
Maybe you are looking for
-
Mac Book Pro rebooting automatically
I just installed the latest update from Apple and now my machine is just restarting and rebooting automatically. I cleaned out any dust, reset in safe mode but still rebooting.
-
Include Service inside application bundle?
I read a brief note in the Dev docs that you can include Services inside your application bundle to distribute them with your app. Is this possible with the newer Automator-created Services? Where should they be stored in the bundle? When I peek ins
-
HELP!! Crashing apps! Tried everything...
I have an iPhone 2g running on 3.1.3 (mod with 4.0 features) I am having the issue with my downloaded applications crashing. I just see the first screen of the app, and then it goes back to the 'desktop'. I've tried rebooting as below, restarting nor
-
I tried downloading iTunes to my computer. It gives me an error where it says can not find iTunes Helper. I uninstalled all iTunes, restarted my computer, and then tried again. I keep getting the same error everyime. What can I do?
-
My new xbr55x900c missing parts
I just received my new 4k TV. It was missing BOTH remote controls as well as the two "Y" stands it needs to stand up when not mounted to a wall. I called the esupport number. Totally unacceptable. They were not able to find one of the remote part