Need BADI for checking customers visiting hours in activity
Hi all,
I'm looking for a BAdI where I can check the visiting hours of the related customer in an appointment. I've found BAdI CRM_ACTIVITY_H_BADI but it doesn't give me the data about the related customer.
I would like to write a message when the time of the appointment is not in range of the customer's visiting hours.
Does anybody have an idea?
Thanks,
Diana
Hi
you can do this check while saving in badi ORDER_SAVE. method eg check_befor_save.
i don't think that in any of documents badis you will have customer no, but you will have docs guid.
then you can do crm_order_read to read partners.
Regards
Radek
Similar Messages
-
Badi for check tax number field
Hi guys!
Can anyone tell if exists a badi that ckecks the field 'TAXNUM' in transaction 'BP' after we put a value there.
I've already check in the transaction 'Bus7' and i only find the function for the event 'check before saving' -'BUP_BUPA_EVENT_DCHCK'.
Thanks in advance.
Hugo.Hi everybody!
I need understand how implement check of taxnum using transaction BUS3 - view BUTX01.
I need check tax number in transaction FPP2.
I see a post very interesting:
Badi for check tax number field
I create a module function but inside of module function i don't have data for my validation. I think i make a mistake. Help please!
If somebody have a tutorial would be great!!
Thanks! -
BADI for check tax numbers in BP
Hi,
I need a BADI for check that the user pick two types of tax numbers (ES0 and ES1) in BP when createa a new IC.
All BADIs that I find only execute on update and don't send exception.
Anyone can I help me??
ThanksThanks Micheal
but I need some additional information.
I need to know how to get an error message in the function module I created.
Thanks a lot -
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. -
Code of ME_process_cust_Po BADI for checking item data?
Hi all,
While users are creating new PO in ME21N, I have to check the condition records for the Materials they entered.
If the condition record is not maintained for the respective material The creation of PO while saving it , should not be allowed and a message should be displayed.
Please mention the respective method and code to do this?
Thanks
Vamshi.Hi ,
this is the sample code for Item check, by using mm_messages_mac(include u can raise error msg based on the INFNR(info record) field.
DATA: ls_mepoitem TYPE mepoitem,
ls_customer TYPE mepo_badi_exampl,
ls_tbsg TYPE tbsg.
INCLUDE mm_messages_mac. "useful macros for message handling
here we check customers data*
ls_mepoitem = im_item->get_data( ).
IF ls_mepoitem-loekz EQ 'D'.
a physical deletion of the item was carried out. therrefor we have to*
delete customer data on the level of the item*
ls_customer-ebeln = ls_mepoitem-ebeln.
ls_customer-ebelp = ls_mepoitem-ebelp.
CALL FUNCTION 'MEPOBADIEX_SET_DATA'
EXPORTING
im_data = ls_customer
im_physical_delete_request = 'X'.
ELSE.
update/insert operation*
CALL FUNCTION 'MEPOBADIEX_GET_DATA'
EXPORTING
im_ebeln = ls_mepoitem-ebeln
im_ebelp = ls_mepoitem-ebelp
IMPORTING
ex_data = ls_customer.
check customers data*
check field badi_bsgru. This should be carried out only for new items. Once the PO is posted the*
field should no longer be changeable. This is done in Method FIELDSELECTION_ITEM.*
IF im_item->is_persistent( ) EQ mmpur_no.
IF ls_customer-badi_bsgru IS INITIAL.
Place the cursor onto field badi_bsgru. The metafield was defined in BAdI ME_GUI_PO_CUST,*
Method MAP_DYNPRO_FIELDS.*
mmpur_metafield mmmfd_cust_01.
mmpur_message_forced 'W' 'ME' '083' text-002 '' '' ''.
ELSE.
check whether the field is valid*
*SELECT SINGLE * FROM tbsg INTO ls_tbsg WHERE bsgru EQ ls_customer-badi_bsgru.*
IF NOT sy-subrc IS INITIAL.
mmpur_metafield mmmfd_cust_01.
mmpur_message_forced 'E' 'ME' '083' text-004 '' '' ''.
invalidate the object*
CALL METHOD im_item->invalidate( ).
ENDIF.
ENDIF.
ENDIF.
check field badi_afnam*
IF ls_customer-badi_afnam IS INITIAL.
mmpur_metafield mmmfd_cust_02.
mmpur_message_forced 'W' 'ME' '083' text-003 '' '' ''.
ENDIF.
ENDIF.
regards
Prabhu -
Hi,
I am working on HR ESS and i need a BADI for tcode pv34 to restrict the user to make his own appraisal not the others.
And the main thing is it shud be only ESS side the check shud not be there at R/3 side . We are using R/3 Iview on ESS side.
Waiting for ur reply.....
Thanks &Regards,
SrinathHi
check this:
[http://wiki.sdn.sap.com/wiki/display/ABAP/FindaBADI]
Regards
Markus -
ME31K BADI for checking Data in Commitment Plan/ Acct assignment
I am trying to find a BADI or User Exit to check Account Assignment / Commitment Plan Data, to work in TCodes ME31k or ME32K.
I tried using ME_PROCESS_OUT_CUST , But its only for BAPI.
Any Similar BADI to check in ME31K or ME32K.
Appricate any helpalex ice wrote:
Hi.
> 'Can we do any derivation or check to get the account assignment populated automatically in the Commitment Plan ?
> Account assignments screens are avaliable in the commitment plan so i think we dont want to apply this note.'-i don't think so, because as said in this note it's coding error.
Thank you. I will impliment the Corrections
>
> 'We have alaready activated the Fields to be transferred. I dont have a clue where we will set the account assignemnt specifically for contracts (in the case of PR and PO it comes automatically as per the derivation rule mainted)'-it derives not from contract,but from Earmarked fund,which generates from Com. plan.
Ok.Then i think some issue in the Earmarked fund.. How we can check this. Please guide.
>
> 'One more error : While running transaction FM_MRP_PR if the budget exceed the PR not pupulating the account assignment filed (if it is in the budget it is populating) and we are getting error message "Instance 10000120 of object type Purchase Requisition could not be changed ,Message no. BAPI003" Please advice how we can overcome this error.' when you get this error(also put it's number), if while changing, then check PR item number,if it's=0 then customize in OMI5
Message is PR No "10000120 10 Annual budget exceeded by 560,400.00 QAR (FM PB Availability Control) for document item 00010 ,
"Instance 10000120 of object type Purchase Requisition could not be changed ,Message no. BAPI003"
I have checked transaction OMI5 and Plant with Item PR 10 and Item no stock trans Res is 100. and hope this is correct.
Please Guide.
Regards
Hari -
I need Badi for PO Before save.
Hi Abappers,
i want Badi name for PO Before save.
Regards,
vani.Hi,
To find the badi for a particular transaction goto TCode SE24 and give the class name as CL_EXITHANDLER and then display it. now double-click on GET_INSTANCE you will get some source code , put a break point on class name and give TCode on command field then debug . double click on class name and go on pressing F5, you willl get list of BADI's and according to your requirement choose the right one.
Second procedure:
Go to SE84, Enhancements< Business-addin< definition(double click) and give package name of particular transaction then you will get BADI's. Read documentation by going to SE18 or SPRO and choose the right one according to your requirement
I think ME_PROCESS_PO_CUST may satify your requirement. -
Exit or BADI for checking insurance relantionship
Hi
I need to make some checkings on insurance provider on insurance relationship screen on NP10. I've been looking for them and i've got user-exits NVVH0000 and NVVH0001. I've implemented my checkings, and activate them, but the code is not executed. Using where-used list, i've check these function modules aren't used anywhere. Is there any way to achieve these exits to be executed??
So I've seek for a BADI, and I've found ISH_INSREL_CASE_SAVE. This works fine, but it's only executed when a change on insurance relationship is carry out, and I need to made my checks always.
Can anybody help me??
Thanks and regardsHi Daniel
The badi ISH_NV2000_PAI is called on that screen.
If it doesen't work, please let me know.
With best regards
Matías -
BAdi for fetching Time Writing hours
Hi all,
I want to know is there any BAdi available for fetching approved Time Writing Hours. I came to know about one BAdi -> BADI CATS_APPROVAL where i could not find the appropriate method.
Please help me. Thanks in advance.
Regards,
Kani.Hi
you can do this check while saving in badi ORDER_SAVE. method eg check_befor_save.
i don't think that in any of documents badis you will have customer no, but you will have docs guid.
then you can do crm_order_read to read partners.
Regards
Radek -
Need BADI for MRI7 Tcode.
Hi,
Please help me in getting BADI or Screen Exit for MIR7 Tcode where in I need to add new field at Item level.
Thanx for your help.Hi,
Check from the following
Exits:
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verifica
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Po
LMR1M006 Logistics Invoice Verification: Process XML Invoice
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Regards,
Surinder -
Exit/BADI for Check Register (S_P99_41000101)
Hello
I need to add a button in the selection screen of check register transaction (S_P99_41000101) which would give the count of the number if unique paper check numbers are in the report.Also I need to add one column in the report output layout.
Are there any exits available for this?
Please advise.
Thanks and Regards
Davinder SinghHi
Modifications to almost all the STD t codes are generally done with BADi's
Try finding relevent BADI with below step by step process
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP ((S_P99_41000101))transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Regs,
Tushar Mundlik -
Exit\badi for check MR8M transaction BUDAT field
hello expert,
I must check the field RBKP_V-BUDAT of the MR8M transaction. there is a user-exit\badi to do it?
thanks in advance.Yes, it's custom, below is the documentation :
HY SIMGINVOICE_UPDATE
Interface name : IF_EX_INVOICE_UPDATE.
method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE
Use
You can use the business add-in (INVOICE_UPDATE) to further process the
following functions or, if necessary, forbid them:
o Creating invoices (invoices, credit memos, subsequent debits,
subsequent credits) in Logistics Invoice Verification
o Parking documents in Logistics Invoice Verification, and making
changes to these documents, for example, deleting them
Standard settings
The business add-in is not active in the standard system. -
Need BADI for Qty validation on CRMD_ORDER
Hi,
I want to do a validation for qty which is entered on line item for certain item categeries on CRMD_ORDER transaction , and give error message. I want to do this on Create/Change of a sales order.
I'm thinking that we can do this in ORDER_SAVE Badi... but this happens only when user clicks save button. Is there any other BADI where we enter a line item... and BADi triggers and do the validation?
I checked CRM_ORDERADM_I_BADI, but this doesn't trigger when we just change qty for an existing sales order.
Thanks.Hi
look for badi with schedlin in name.
it should be launched when changing/inserting quantity in item.
Regards
Radek -
Need reg_exp for checking the string contains only alphanumeric or not
Dear All,
I need to check the given string in if condtion contains only the alphanumeric or not pls help me..
like
if reg_exp then
end if;
thanks,
OracleHi,
REGEXP_LIKE ( str
, '[^[:alnum:]]'
)returns TRUE if the string str contains any character other than an alphanumeric.
You can use this wherever conditions are allowed, such as a WHERE clause or a CASE expression. For example:
SELECT str
. CASE
WHEN REGEXP_LIKE ( str
, '[^[:alnum:]]'
THEN 'Contains speace, punctuation or special symbol'
ELSE 'Okay'
END AS is_alnum
FROM table_x
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using.
Edited by: Frank Kulash on Dec 30, 2011 4:37 AM
Maybe you are looking for
-
I was using earlier version of Firefox and it worked perfectly. Then I changed over to the 4.0 version and now I can no longer use the Norton Identity Safe. This is no good for me. I am now having to use Internet Explorer instead of Firefox. I would
-
I work at a company that currently that 300 users use Adobe Acrobat X on a Windows 7 Professional 64 Bit. As of the last week or so, multiple users have had issues of Adobe freezing and crashing making it unuseable. This has happened when trying to
-
Seeburger Module Runtime Error when I am executing the 810 signal
Hi, My Scenarios is Idoc to EDI (810), for testing purpose I configured the receiver File adapter with modules, when i send the data from RWB Integrationengine test tab, I am getting the below runtime error "Message processing failed. Cause: com.sap.
-
In "Set your default programs" under Win7, file associations of Firefox are tampered!
In "Set your default programs" under the Control Panel of Windows 7, Firefox does appears in the "Programs" list on the left. But, its icon is that of Windows Media Player. After I click on the program's name (Firefox) to display the details on the r
-
Place a reports region on center of the page
Hello, Can anyone please help me out with this issue. Like, how can I place a region on the center of the page. I have only one reports region and I want to position this region on center of the page. thanks, Orton