Pass Cust exit var to BADI
Dear all,
Can anyone please let me know how to pass the result of customer exit variable to BADI METHOD IF_EX_RSR_OLAP_BADI~COMPUTE .
Regards..
Bala
Hi,
You can do that using the shared memory concept. i.e. Import and Export values in the shared memory. Just make sure that while importing the values in your BADI you will have to use the same name on which you are exporting the values.
Regards,
Durgesh.
Similar Messages
-
Cust Exit variable- refresh option is not working
Hi Experts,
My requirement is:
I am passing a value from manual i/p variable to cust exit variable based on certain condition. The functionality is working fine. But when I changed the value of my manual i/p variable using change variable value option of BEx analyzer the new value is not getting reflected in customer exit variable.
BR,
/venu.Hi ,
CODE:
DATA: l_s_range TYPE rsr_s_rangesid,
loc_var_range LIKE rrrangeexit,
v_period1(3) TYPE n,
v_period2(4) TYPE n,
zktansw TYPE /bic/oigwktansw.
clear: zktansw,l_s_range,loc_var_range.
IF i_step = 2.
loop at i_t_var_range into loc_var_range where vnam eq 'GFA_CONACC'. --- Manual input var
IF loc_var_range-low+0(5) = '00160'.
CONCATENATE loc_var_range-low+0(6) '9999' INTO zktansw.
l_s_range-low = loc_var_range-low.
l_s_range-high = zktansw.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
endloop.
ENDIF.
Kindly suggest your inputs.
BR,
Venu -
User-Exit OR a BAdi for the Purchase order create.
Hi,
I am looking for a User-Exit or a BAdi which is fired when the Purchase order is being created in the SRM server via Web template. The requirement is as follows:
There is a flag(Check box) at the the item level, Basic Data tab. This flag is called as Unlimited Overdelivery Allowed. It is with the tolerances field. Now I want this flag to be always set for a PO of a material of certain type.
Can anyone tell me which User-Exit OR Badi I should use to always set this flag?
The Technical field name is UNLIMITED.
I tried a lot but could not get any.
Regards,
Deepak.Hi Deepak,
Did you try doc_change badi? THis badi is available in all the bus objects.
thanks,
Ashwin -
User exit or a badi for checking the vendor email id in me22n on me29n
hi all,
can anybody suggest me a user exit or a badi for checking the email id of the vendor in me21n or me22n or me29n.
i.e. a user exit or a BADI which gets hit either at the time of creation or release of a purchase order.
plz suggest me a solution its urgent.
regards,
santoshHi Santosh,
Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Reading Charact. Selection in Planning Level using Exit Var FM
Hi Expert,
i have to do a data slice with an Exit Variable that looks at selected data in the planning level and check in a custom table if the corresponding charact in the level is flagged in order to fill the variable with this value and lock data.
Any idea of the code for reading, in an Exit Var FM, data from Charact selection in the planning level?
Any hints will be very appreciated and rewarded.
Tanks
FabioHi,
You could check the how to guide variables of type exit at:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/650ee690-0201-0010-4bb7-83c3e2a74039
If you implement the FM 'Z_VARIABLE_GET_DETAIL' you can read the value of the variables and use this in other variables.
Here is part of the code to use a sales organisation to filter the data from 0mat_sales..
Get Marketing mat ind using the ZMARKIND variable in the area
DATA:
M_subrc like sy-subrc,
Ms_return like bapiret2,
M_type like upc_var-vartype,
Mto_varsel_all type upc_yto_charsel,
Mto_varsel type upc_yto_charsel,
Mto_var type upc_yto_charsel,
Mt_chavl type /BI0/PMAT_SALES occurs 0,
Ms_chavl like line of lt_chavl,
Mto_chanm type upc_yto_cha.
read source value
call function 'Z_VARIABLE_GET_DETAIL'
EXPORTING
i_area = l_source_area
i_variable = 'ZMARKIND'
i_buffer = l_buffer_call
IMPORTING
e_subrc = M_subrc
es_return = Ms_return
e_type = M_type
eto_varsel_all = Mto_varsel_all
eto_varsel = Mto_varsel
eto_chanm = Mto_chanm.
data: Ms_varsel type upc_ys_charsel,
M_entries type i.
if l_use_restricted_values is initial.
lto_var = Mto_varsel_all.
else.
Mto_var = Mto_varsel.
endif.
read table Mto_var into Ms_varsel index 1.
if sy-subrc <> 0.
message i147(upc_fw) with M_source_var.
exit.
endif.
describe table Mto_var lines l_entries.
if l_entries <> 1.
message i534(upc) with M_source_var.
exit.
endif.
select all materials related to the Line in the source variable valid
for the sales org in the zsorgfix variable.
case Lso_varsel-chanm.
when 'ZZLINE'.
select * from /BI0/PMAT_SALES
into table lt_chavl
where /BIC/ZZLINE = ls_varsel-low
and SALESORG = Gs_varsel-low
and /BIC/ZMARKIND = ms_varsel-low
and OBJVERS = 'A'.
when 'ZZBRAND'.
select * from /BI0/PMAT_SALES
into table lt_chavl
where /BIC/ZZBRAND = ls_varsel-low
and SALESORG = Gs_varsel-low
and /BIC/ZMARKIND = ms_varsel-low
and OBJVERS = 'A'.
when 'ZZHOUSE'.
select * from /BI0/PMAT_SALES
into table lt_chavl
where /BIC/ZZHOUSE = ls_varsel-low
and SALESORG = Gs_varsel-low
and /BIC/ZMARKIND = ms_varsel-low
and OBJVERS = 'A'.
endcase.
ls_varsel-SIGN = 'I'.
ls_varsel-OPT = 'EQ'.
ls_varsel-seqno = '0000'.
ls_varsel-chanm = '0MAT_SALES'.
loop at lt_chavl into ls_chavl. -
Screen exit or screen badi for me57 subscreen
Hi,
After going to ME57 and giving plant we have got list of PR's,now If I select one PR and click on assign automatically button
I am getting popup with possible source list , here I will have to add some extra fields to the popup screen for which I would need a screen exit or screen badi.I have tried to findout but couldn't.
Please help me .
Edited by: Varun on Jun 28, 2011 9:53 PMmethods to find a BADI,
Method 1. If you think that it is a simple requirement then got SE18 and click on F4 and Iformation Systems. In the short description enter the short text and search.
Method2. Another simple method is to search with Package.
Method3. Put a break point in the FM SXV_GET_CLIF_BY_NAME and then run your transaction
Method4. Put a break point in the class CL_EXITHANDLER for METHOD get_instance. and then run your transaction.
Hope this material helps. -
Hi All,
I am working with BADI ME_GUI_PO_CUST. I implemented a customer screen for customer fields. Everything is working fine but problem is that on some conditions some fields become required. Now i want to avoid this check " Fill in entry in required fields ". Actually i create a button with function code 'E' and fill data in these fields with some given value(e.g. from warranty master i want to populate all data in these fields so i create a button with exit-command for this purpose). But when i press this button, it gives me meassage " Fill in entry in required fields ". bcoz some fields are already required. I want to avoid this mesaage & fill all fields according to warranty master. When i press this button, it did not go in this screen so EXIT-COMMAND does not execute & it still gives me message " Fill in entry in required fields ".
Anybody have idea how to work with EXIT-COMMAND in BADI or customer-exit?Hi
Exit command is used to come out of any kind of loop like:
loop...endloop or
Do...enddo... or
While...endwhile.
You can use them in BADI or userexit.
Regards,
Sankar -
Hi,
Where can I get a list of Obsolete User Exit's n BADI's when I am upgrading a system from 4.7 to ECC6.0
Also, what is the way forward for dealing with the obsolete exit's n badi's. i.e. how can they be changed to make them compatible with ECC6.0 version?
Thanks,
Ajay.
Edited by: ajay singh on Dec 11, 2009 8:16 AMHi!
In most of the cases obsolete exits and badis are working correctly, without any additional coding or modification.
However they are marked as obsolete by SAP, because they will stop using they in the far future, and there are much more useful and more modern ways to handle the same problem.
This means, you don't have to modifying all obsolete stuffs in a big haste until the end of the year, but you have to avoid using them in new developments, and you only have to modify them if they cause problems.
Regards
Tamá -
Hi, all
I am using a user exit for valuation of Material in Valuated Sales Order Stock.
so this user exit is triggered when a sales order is created by using bapi
BAPI_SALESORDER_CREATEFROMDAT2.
so we dont want this user exit to be processed by this bapi.
so can any one tell me what condition i can use in the userexit to by pass the exit if its the above bapi.Hi,
there are quite time-concuming functions to get the currenmt call stack hierarchy enabling you to see if it is called by the BAPI - but I think this is too much. Just check field sy-tcode. If it starts with V (VA01/VA02/VF04...) then exit userexit, otherwis process. I don't know whre you call the BAPI, probably not transaction V....
Regards,
Clemens
Ist it possible you asked this question twice? That really hurts!
Regards,
Clemens
Transfered answer from other post.
Message was edited by:
Rich Heilman -
Difference between user exit,enhancement and BAdi
hello guys,
what is the difference between user exit,enhancement and BAdi.
Please do let me know..
Thanks in advance.
regards,
praveen.Pls do search the forum before posting*
-
Using cust. exit: IHCL0001
Hello all,
I would like to know when the customer exit runs.
We need to replace class type and class number of equipment master data when a production order is released or GI and the system make materials having serial numbers.
Reading the help document of the customer exit, it seems to do as I expect.
When I set break-point and made a production order released and save, I could not see a debug screen and it did not come to break-point.
Could you advice us?Hi,
It is not harmful but as As long as the exit is not replaced by SAP there is no need to convert a CMOD exit to a BADI.
But same time not all BW CMOD enhancements have been converted to BADIs.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
Regards,
San!
if helpful, assign points -
How to best pass multiple flash vars in adobe-generated HTML?
I need to pass multiple flash vars into my swf -- I see multiple places in the adobe-generated HTML in which to put the flash vars. While I can do this successfuly for one flash var, I can't for more than one (I'm using something like this at the moment, which works, but cannot be extended URL=http://promotions-ea.yoyodyne.com/VideoFun.swf?XML_URL=http://promotions-ea.yoyodyne.com-h otspot/xml/whatever.xml)
Someone suggested
flashVars = {}
flashVars.XML_URL = "abc.xml";
flashVars.AB_CD = "whatever"
But I don't see how to put that into the adobe HTML.
Any help much appreciated.Someone suggested using a JS array because that is how SWFObject would use it - and that's what you should use to embed your flash.Google SWFObject. Much better, much simpler.
-
Can we Pass two variable values in to one Varaible which is Cust Exit?
Hi all,
Can we pass two Variable values to a Variable which is Custexit?(For Example posting Period and the fiscalyear in to the FicalPeriod )
Regards
KiranHello,
For that example you had to "convert" both post period and fiscalyear into fiscalperiod, and yes it is possible, but not throwing up the two values, you had to do it yourself in the user exit code.
Diogo. -
User exit of\r badi for co11
Dear Gurus,
i need a user exit or badi for transcation co11 after creation of batch .
tx
rajHi Raj,
Following are the user exit for co11:
CONF0001 Enhancements in order confirmation
CONFPI01 Process order conf.: Calculate cust.specific default values
CONFPI02 Process order confirmation: Customer spec. input checks 1
CONFPI03 Process order conf.: Cust. spec. check after op. selection
CONFPI04 Process order conf.: Customer specific input checks 2
CONFPI05 Process order conf.: Cust. spec. enhancements when saving
CONFPI06 Process order confirmation: Actual data transfer
CONFPM01 PM/SM order conf.: Determine cust. specific default values
CONFPM02 PM/SM order confirmation: Customer specific input checks 1
CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04 PM/SM order conf.: Customer specific input check 2
CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01 PS confirmation: Determine customer specific default values
CONFPS02 PS confirmation: Customer specific input checks 1
CONFPS03 PS confirmation: Customer specific check after op. selection
CONFPS04 PS confirmation: Customer specific input checks 2
CONFPS05 PS confirmation: Customer specific enhancements when saving
Hope this will help you... -
CRM - Pricing User Exit in Java - BADI CRM_COND_COM_BADI
Hi All
I have to convert some user-exit from Abap to Java in order to work in CRM Pricing Scenario (I use VMC technology based on Web AS 7.00).
In the manual attached to note 809820 (New userexit concept for pricing)
I find this chapter but I don't understand how to work with BADI <b>CRM_COND_COM_BADI.</b>
<b>My objective is to create Java user-exit using Custom Tables and Fileds.</b>
<b>Passing additional information to pricing</b>
To summarize, if the information used in a requirement is not depending on the current calculation result, then the information can be passed to the pricing engine. This is the best way to avoid e.g. DB or JCo calls from the user exits.
Nearly all application scenarios using the pricing engine provide a way of filling additional attributes.
1. Create a field catalogue entry for the additional attribute
2. Program the filling of that attribute value
The application calling the pricing engine and the way it is allowing customer code to fill or influence attributes is not part of this document. Here is only a short list of documentation to start with (also various notes exist):
Application Description
CRM Online Order Processing
Implement BADI CRM_COND_COM_BADI. Note 850077
Mobile Solutions Implement VBA user exit methods on SPCDOCHANDLER or SPCITEMHANDLER.Note 677314 and Note 934216
Best regards
Davide Ivanov
[email protected]Hi davide,
The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
Additional fields added at catelog can be filled with the values using this BADI.
Thanks & Regards,
Raghuram. K.R.
Maybe you are looking for
-
Printer will not make 4x6 size photos
I just bought an HP Photosmart 8250 printer and I cannot print the 4x6 size photos. The printer instead pulls paper from the letter size tray. I believe it is a problem with the computer because I was able to print a 4x6 photo with just the memory ca
-
F110 - Payment proposal simulator
Dear all, does anybody knows if SAP provide a standard report ables to perform a simulation of payment proposal? That is, I need to extract the total amount of an hypothetic payment but without locking all open items as F110 does. Thanks in advance!
-
Can I stop iWeb from making png image files for text boxes?
I have a web page that contains one text box - the TextEdit file from which I pasted the text is 4 KB. The html file from iWeb is 12 KB. The shapeimage_2.png file is 132 KB! Is this necessary? How do I stop this. This is just text. Arial font, regula
-
How do I remove the wallpaper from the toolbar
I put a wallpaper on the top of the toolbar and it is very annoying. I would like to remove it but don't know how. HELP!!
-
IP Communicator not working on different LANs
Hello All, Really strange problem, and was wondering if anyone has cme across a similar situation... We have a Cisco UC560 in the UK. There are remote workers who have laptops. On there laptops they have a IP Softphone running (the latest version) Th