User Exit or BADI in APO to change sales order relevant data while CIF
Hi Everyone,
I require User exit or BADI at APO side to change customer field kunnr of sales order after it enters APO through CIF.
My requirement is to replace KUNNR field with KDGRP field of sales order.
The data will pass through CIF in APO.
Is there any user exit or BADI for the same?
Sample code will be of great help.
Regards,
Kashyap.
Hi ,
Resolved myself.
customer exit APOCF010
Regards,
Kashyap
Similar Messages
-
User exit or badi to restrict PROO in Sales Order for certain sales organisation
Hi SAP SD experts,
I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
thanks,
SGKindly explained how you have solved others may benefit..
regards
Arunkumar -
User exit or BADI for business area in sales order
Hi,
At present the business area in the sales order is greyed.i want to remove the greyed field and put some input value to the business area when a new sales order is created....
Please suggest the user exits or BADIS
Kanishak
Edited by: Kanishak Gupta on Feb 4, 2010 1:06 PMHi Kanishak
You can use userexit userexit_cobl_send_header
If you overule the settings, you will be able to enter business area ( GSBER )
Also, try out:
userexit_cobl_receive_vbak to transfer the screen value entered by the user back to vbak-gsber.
If item level is also necessary you also need :
userexit_cobl_send_item
userexit_cobl_receive_vbap
Hope this helps.
Harsh -
Need a user exit to add custom partner function in sales order @ item level
Hi,
Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
Thanks,
ThiyagiHI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
Change Sales Order Contract Data FM
Hi Friends
Kindly let me know if there is any function module or BAPI to change Sales order Contract Data of each line item. 'BAPI_SALESORDER_CHANGE' dosent have that.
ThanksHi Ram,
Check will this helps you ...
call function 'BAPI_CUSTOMERCONTRACT_CHANGE'
exporting
SALESDOCUMENT = vbeln
CONTRACT_HEADER_IN = w_header
CONTRACT_HEADER_INX = w_headerin
INT_NUMBER_ASSIGNMENT = 'X'
ORDER_HEADER_INX
BEHAVE_WHEN_ERROR = 'P'
LOGIC_SWITCH
TESTRUN = 'X'
convert = 'X'
importing
salesdocument = v_order
salesdocument = vbeln
tables
return = t_return
CONTRACT_items_in = t_items
CONTRACT_ITEMS_INX = r_items
CONTRACT_partners = t_partners
CONTRACT_schedules_in = t_sched
CONTRACT_conditions_in = t_conds
CONTRACT_text = t_texts .
Regards,
Poornima -
User-exit or badi for partners check in Purchase order
hello all
is there a user exit or badi i can use in order to perform a check on the partners in a PO?
I want it to perform the check also if I change any of the partners at a later stage.
thanks
AlisaHi,
I have similar requirement, however the BADI name you mentioned does not exist.
Pls let me know the right one.
Thanks,
Dipak -
Change sales order delivery priority in CIF
Block the transfer of sales order line delivery priorities values (ECC/R3 field LPRIO) transferred from ECC thru the CIF.
Hard code and assign a value of 1 to the APO delivery priority field (APO field LIFPRIO) upon transfer of sales order line items.
To change prirority I used user exit APOCF010 but it didn't work properly so can anyone let me know which user exit or badi will help me to change the priority.Raghav
When you say APOCF010 is not working correctly, what is the exact problem you are facing ? In which table are you looking ? Have you tried CIF'ing a new sales orders from ECC to APO ?
Also try adding LPRIO to the field catalog (SPRO --> Advanced Planning and Optimization --> Global
Available-to-Promise --> Rules-Based Availability Check --> Define Condition Table (Maintain Field Catalog).
Rishi Menon -
BAPI / FM to change Sales order item data
Hi,
I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
KZWI2 - Subtotal 2 from pricing procedure for condition
KZWI3 - Subtotal 3 from pricing procedure for condition
KZWI4 - Subtotal 4 from pricing procedure for condition
KZWI5 - Subtotal 5 from pricing procedure for condition
I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
Does any one have idea on how to use this FM or if any other FM is there please let me know?
Thanks & Regards,
Sunanda.hi Sunanda..
I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
example:
How to change pricing Conditions in Sales order in change sales order bapi
thanks,
Padma -
User exit for condition type for redeterming in sales order
Hi SD Experts
One condition type is created With the key combination Order type and Inciters
When the contract is created and on the bases of Inciters given the value is calculating correctly
But when we change the other Inciters in sales Order is not redeterming
since this condition type key fields are added one it may not be redeterming
is there any user exit ?
Pls help in this regard
jeevan.SUse the exit USEREXIT_NEW_PRICING_VBAP in program MV45AFZB. This userexit can be used to perform new pricing, depending on the change of datafields.
Regards,
GSL. -
User exit to add header pricing condition in sales order
Hi experts,
I have an urgent requirement in VA01/VA02 to automatically add a header pricing condition and rate (Kanban charges) for a certain type of Sales order (Kanban Sales order). Does anyone know what user exit I can use for this requirement? Also, the additional header pricing condition should be included in the net value for the item.
Thanks!HI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
User exit for Dlvy Block at header for sales order for Companycode & materl
Hi all,
I have a requirement. I need to apply a Delivery Block for all sales orders which fall
In a particualr company code "999" and if they have any configurable material in the item level.
When a Sales Order is generated, during the process of generation, I should
Write a loigc such that, if the sales orders fall in a particlar company code
Say for '999' and if they have a configurable material at item level,
I have to trigger an ABAP Proxy that goes and fetches a Yes/No value from an
External system. Based on this Flag value I h ave to then apply a delivery block for
The order at header level.
So I assume, I should put a logic in some user exit that gets triggered before order is saved.
And in that user exit I have to check if the Company Code of that order is '999' and if it has
Configurable product or not. If it satisfies the 2 conditions, I should, trigger this ABAP Proxy and
Based on the true/False value I have to set Delivery Block or do not set delivery block for the order
At header level.
So I think first I should figure out following things.
1) user exit ..where I should put the code to check conditions and to apply delivery block.
2) write a proxy and trigger that proxy in this user exit.
Coming to first part, which user exit should I use to set delivery block for the order
At header level. And how will I check for company code and config product?
Which variables of the SAP stnd pgm store Company Code and Config product values so that
I can check those variables for that values?
Please suggest and help me with this.
Any help will be highly appreciated.
Regards,
Sam1)go to the main program sapmv45a
include MV45AFZZ ->userexit_move_field_to_vbak
depending on ur conditions ...
keep a break-point in the form userexit_move_field_to_vbak ,and if it stops there Check for vbak-lifsk .
Write a condition to set the deliveryblock that is vbak-lifsk = 'xx'.
2)then regarding your second point ...what is the middle ware used to interact with legacy system
let me know -
User exit to update the incompletion log in sales order for pricing error
Hi experts,
I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
Thanks and Regards,
Vicky.Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky. -
User Exit for New Field Creation & Updation at Sales Order Level
Hi All,
I want to create one new field in Additional Data B Tab of Sales Order.
Also when the sales order is created with reference to a Contract, that Contract number to be updated in that field.
Which user exit need to be used for this field Creation & Updation at the time of order creation? Is it MV45AFZZ?
Pls suggest.
Rgds,
Senni.BHi
Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
Regards
Madhu -
VA01 user exit to manually insert condition record for sales order
Hello Experts,
I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
Thanks in anticipation.
VipulHi,
What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX' & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
I hope this helps,
Regards
Raju Chitale -
User Exit for eliminating double condition type in sales order
Sir,
In SE38, Program SAPMV45A, I am using user exit ( Userexit_pricing_prepare_tKomp ) to avoid double entry
of condition type like PR00 in sales order . But i am not getting how to write code.
Please, help me how to write code in user exit.
thanks,
Manoj.Thanks for replay.
Sir, I want to impliment it in sales order (VA01 OR VA02 )
for pricing . Here I want to avoide double condition types like PR00, packing forwarding, frieght ....etc
in sales order pricing.
Here i want to give logic that codition type is already exit and you canot enter same condition type
again. means if condition type is already exit then system should not allowed to enter again the same condition type
in sales order pricing.
Thanks
Manoj.
Maybe you are looking for
-
Creation of catalogue file.BAPI to FILE scenario.
hi, I am currently working on a RFC to file scenario. The requirment says a catalogue file needs to be created at target.Please tell me what a catalogue file is?how is it created?
-
Why did auto update stop working - check box greyed out!
I suddenly realized it had been months since I had seen an update at home, but was getting them regularly on my office machine. Checking help about I found I was running 3.0.6, I tried to click the check for updates and it was greyed out. Checking op
-
Premiere Elements 9 Opens with Altered Workspace, then Locks Up
After starting to learn Premiere Elements 8 in a classroom setting I decided to buy the software. With Premiere Elements 9 available I purchased that version and installed it on my home PC. My System: HP Pavilion dv9500 Notebook PC, Intel(R) Core(TM)
-
Repetitive or Process Manufacturing?
Dear all, I've visited a factory that produces "Calcium Carbonate", all they have are production lines with rates and a big mill that feeds its output into these production lines. I don't know whether they should be using repetitive or process manufa
-
Incorrect language translation, buttons in sourcing screen
Hi, I am working with SRM 5.0. In sourcing cockpit, the buttons in the lower half of the screen (in work area) appear in german text. Logon language is "English". I have run report "BBP_GEN_DYN_TEXTS" and re-activated function group "BBP_SOCO_UI_ITS