Cannot implement HR_IN_ER_ADDRESS badi
Hi,
I cant able to implement HR_IN_ER_ADDRESS badi ,
when i give the badi name in classic badi name and
implement it , it trows an error as
BAdI definition HR_IN_ER_ADDRESS does not exist
But , when i search in se 18 , this badi is defined .
what will be the reason .
Thanks in advance,
A. Thiru.
Solved,
The BADI was active at customising level.
Path is Payroll india-other rreports-BADI for Emploeyr adress-Here the BADI was activated.
Removed the check from this.
Similar Messages
-
Cannot Implement BadI IWO1_WKCTR_CHANGE
When trying to implement the BAdI IWO1_WKCTR_CHANGE, it gives an error message "BAdI definition IWO1_WKCTR_CHANGE is only provided for SAP internal use". I need to implement this particular BAdI for replicating the change of work centre in first operation in the Service Order(IW32),to the corresponding Notification Work centre. Currently, this is not happening,I went through the Note 612061, and the patch code is in sync for my system as given in the note.Is there any alternate way to overcome this situation. Thanks in advance for your help and support.
Hi Anjaiah,
Have looked into all the available exits. & user-exits available are for different functionalities to perform. In my case, when I change the Work centre is done in Service order (IW32) and click on Notification, that should make a change in the Notification as well. But that does not replicate there. I searched all the user-exits and I didn't find any appropriate one. The only option was through this BadI which again was restricted by SAP to be implemented.Now the SAP are using logon to our system & try to find some solution. If u find any user-exit for this scenario pls let me know. But definateli EXIT)SAPLOICH_009 is not the correct one. -
Implementing INVOICE_UPDATE badi
Hello,
I have to implement INVOICE_UPDATE badi for tranzaction MIRO in order to prevent posting an invoice in certain conditions. So, I will use the method CHANGE_BEFORE_UPDATE, I do my check, but how can I prevent the posting? What statement to use in order that the user to be informed that that specific invoice cannot be posted?
Thank you!Hello Marian
I am not sure if method CHANGE_BEFORE_UPDATE is the right one because it does contain neither an "error flag" parameter nor an exception.
I assume that method <b>CHANGE_AT_SAVE</b> will be more useful to you because it has an exception (<b>ERROR_WITH_MESSAGE</b>) that you can raise.
Regards
Uwe -
Cannot access JScrollPane, bad class file !!!!
Hi everybody. I have got a big big problem. I can not compile my code because this message alwayes is displayed:
C:\Java\hosseindab\Dabb.java:8: cannot access JScrollPane
bad class file: .\JScrollPane.class
class file contains wrong class: javax.swing.JScrollPane
Please remove or make sure it appears in the correct subdirectory of the classpath.
private JScrollPane skrollytan;
I tried to uninstall and reinstall SDK och Textpad, but it didn't work. I even installed them on another computer, but it was the same problem. I do not know what has happened. I have tried j2SDK 1_3_1_15 and j2sdk 1_4_0_01. No use. I could compile the same files some hours ago, but now the Textpad says NO, NO, NO!!! and generates the above error. Just please help me, I don't have much time to deliver my java program.
The code is:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Dabb extends JFrame implements ActionListener
private JLabel lBild1,lBild2,lBild3;
private JScrollPane skrollytan;
private JPanel panelen;
private JRadioButton knapp1, knapp2, knapp3;
private JSplitPane delning;
private ButtonGroup gruppen;
public Dabb()
lBild1 = new JLabel(new ImageIcon("Solnedg�ng.jpg"));
lBild2 = new JLabel(new ImageIcon("Vinter.jpg"));
lBild3 = new JLabel(new ImageIcon("Bl�a kullar.jpg"));
skrollytan = new JScrollPane();
panelen = new JPanel();
gruppen = new ButtonGroup();
knapp1 = new JRadioButton("Solnedg�ng",true);
knapp2 = new JRadioButton("Vinter",false);
knapp3 = new JRadioButton("Bl�a kullar",false);
delning = new JSplitPane();
delning.setLeftComponent(panelen);
delning.setRightComponent(skrollytan);
Container c = getContentPane();
c.add(delning);
delning.setMinimumSize(new Dimension(300,300));
panelen.setLayout(new BoxLayout(panelen,
BoxLayout.Y_AXIS));
gruppen.add(knapp1);
gruppen.add(knapp2);
gruppen.add(knapp3);
panelen.add(knapp1);
panelen.add(knapp2);
panelen.add(knapp3);
knapp1.addActionListener(this);
knapp2.addActionListener(this);
knapp3.addActionListener(this);
setSize(600, 400);
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE);
public void actionPerformed(ActionEvent e)
Object o = e.getSource();
if(o == knapp1)
skrollytan.setViewportView(lBild1);
else if(o == knapp2)
skrollytan.setViewportView(lBild2);
else if(o == knapp3)
skrollytan.setViewportView(lBild3);
public static void main(String [] argv)
Dabb v = new Dabb();
}Your post compiles for me, no errors.
As a guess. you have a problem classpath or mislocated or duplicate files.
This line is especially suspect: bad class file: .\JScrollPane.class
What is that leading period? Do you have a file named ScrollPane?
Something else in the computer is bad, not the program.
Try compiling from the commandline. -
Need help on implementing the BADI ME_GUI_PO_CUST
Hi All,
As per my requirement I need to do Enhancement for Unloading point field on PO.This filed will get all the department numbers applicable for the site on the line item.
For this I need to Implement the BADI BADI ME_GUI_PO_CUST.
The Method which needs to be Implemented is : TRANSPORT_TO_DYNP.
Instructions have been given for the Screen design.
Can anyone help me (with the sample code how) to Implement this method of the BADI in SE19.
This BADI method is taking a view as an Input and I am not understanding how to proceed.
Thanks and Regards,
Smriti SinghHi,
my suggestion is to check the standard documentation of the interface IF_EX_ME_GUI_PO_CUST.
After that you can check the method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP in the example implementation class CL_EXM_IM_ME_GUI_PO_CUST.
Usefull links:
[Re: Implementing badi ME_GUI_PO_CUST;
[Re: ME21N - PO Enhancement using BADI;
Kind Regards.
Andrea -
Problem in Implementing Filter BADI
Hi Experts ,
I have a problem in Implementing Standard BADI OIJ_NOMIT_VALIDATION , this one is a Filter BADI , with Filter type OIJ_NOMITEM_CHCK . i created a implementation ZOIJ_NOMIT_VALIDATION with filter ZOIJ_NOMIT and write code in method VALIDATE . But this is not triggered. Any additional configuration needed for this ?
Point will be awarded .
Thanks and regards
Renjith MPHi Ranjit,
After implementing the Filter BADI.You can define the Filter type <b>attributes</b> section.
Regards -
Cannot access Graphics - bad class file
Hey.
When I try to compile my source I get an error saying...
.\Man.java:146: cannot access Graphics
bad class file: .\Graphics.java
file does not contain class Graphics
Please remove the files or make sure it appears in the correct subdirectory.
It's on a different computer so that's not exactly it, but it's close enough. Compiler was working fine until the other day when i found out that all the source files were zipped up in src.zip, I had to extract Graphics.java so I could open it in emacs, and after I did that it started giving me that error message. There's nothhing wrong with my source, and I didn't move Graphics, it's still in the correct place exactly as it was, and i looked at it, all the right stuff is still inside. I'm quite confused.
So do I have to reinstall? That would mean a massive download on my 56k and I kinda wanna carry on with my work.You should not need to unzip src.zip to use the Graphics class or any class that comes with j2sdk. The compiled classes are in jar files that are installed in certain directories when you install the j2sdk.
You should only need to have a line "import java.awt.Graphics;" near the start of your source code.
The error most likely occurred when the compiler found a Graphics.class file but inside the file is java.awt.Graphics class, not a plain Graphics class. -
Dear All,
Can any one help me in providing step by step procedure to implement SCREEN BADI. Kinly provide workable code
Thanks in advanceJohn
I dont think any BADI available to change the logo.
You can add your own logo to the login page as below.
1. In SE80 select Internet service and choose BBPGLOBAL.
2. Then navigate to Theme 99-->MIME Objects -->Images --> Start.
3. Add your custom logo file there.
4. Then navigate to Theme 99 --> HTML Templates --> Login.
5. Open the source code of Login page and search for the logo which you want to replace with your new logo. ex. ~name="images/start/logo.gif". Look for suitable code where you want to add your logo.
6. Comment that line and add new line with your new logo file in the image path.
With this custom logo get displayed in the login page.
PS : Reward points if helpful.
Regards
Jagadish -
Hi All,
Facing a problem in BADI can u please help me out...
I am implementing sourcing dashboard.
I am facing problem while implementing the badi BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI in R3.
i have written following code in BBP_ECS_PO_OUT_BADI in SRM
method IF_EX_BBP_ECS_PO_OUT_BADI~BBP_B46B_PO_OUTBOUND.
data : ls_item type BBP_PDS_PO_ITEM_D.
data : w_customer_fields type BBPS_IF_CUSTOMER_FIELDS_PI.
move 'POITEM' to w_customer_fields-refobject.
move 'CATALOGID' to w_customer_fields-fieldname.
move ls_item-catalogid to w_customer_fields-container.
append w_customer_fields to ct_bapi_customer_fields.
endmethod.
i have created field zsrmcatalogid field in R3 in EKPO table.and i am now implementing the Badi in R3 for BBP_PO_INBOUND_BADI .....in extended classic scenario.
i have written following code in R3 BADI
method IF_EX_BBP_PO_INBOUND_BADI~BBP_MAP_BEFORE_BAPI.
data : wa_customer_fields type bbps_if_customer_fields,
wa_bapi_te_mepoitem type bapi_te_mepoitem,
wa_bapi_te_mepoitemx type bapi_te_mepoitemx,
wa_extensionin type bapiparex.
data : txt_960(960) type c.
read table bbp_customer_fields into wa_customer_fields with key
refobject = 'POITEM' fieldname = 'CATALOGID'.
if sy-subrc eq 0.
move wa_customer_fields-container TO
wa_bapi_te_mepoitem-zsrmcatalogid.
wa_bapi_te_mepoitemx-zsrmcatalogid = 'X'.
endif.
clear txt_960.
clear wa_extensionin.
write wa_bapi_te_mepoitem to txt_960 left-justified.
wa_extensionin-structure = 'BAPI_TE_MEPOITEM'.
wa_extensionin-valuepart1 = txt_960(240).
wa_extensionin-valuepart2 = txt_960+240(240).
wa_extensionin-valuepart3 = txt_960+480(240).
wa_extensionin-valuepart4 = txt_960+720(240).
append wa_extensionin to bapi_extensionin.
clear txt_960.
clear wa_extensionin.
write wa_bapi_te_mepoitemx to txt_960 left-justified.
wa_extensionin-structure = 'BAPI_TE_MEPOITEMX'.
wa_extensionin-valuepart1 = txt_960(240).
wa_extensionin-valuepart2 = txt_960+240(240).
wa_extensionin-valuepart3 = txt_960+480(240).
wa_extensionin-valuepart4 = txt_960+720(240).
append wa_extensionin to bapi_extensionin.
endmethod.
But its not working...
The PO details are not passed from SRM to R3.......
Can anybody help me regarding how to debug the BADI in R3.
Thanks in Advance...Hi Ravi,
I never tried those BADIs to pass CUF fields.
But here an attempt to understand it.
First, have you maintained the mandatory R/3 CUF mapping table BBP_CUFMAP ?
Your SRM BADI is not correct, because you don't populate enough data.
There is a particular logic for ct_bapi_customer_fields (look at R/3 mapping in LBBP_BAPI_POF04, called before the R/3 BADI).
Following fields must be populated:
- REFOBJECT: ok with POITEM
- FIELDNAME: dummy name (CATALOGID) or real R/3 field (zsrmcatalogid)? --> used in mapping table BBP_CUFMAP to get the R/3 field
- REFFIELD1: missing: put PO_ITEM ?
- REFVAL1 : missing: put the PO item number (numc 5)
- CONTAINER: ok with final value we want to pass
I think that if SRM BADI and the R/3 mapping table are populated correctly, the fields are transfered to R/3 PO item without additionnal coding on R/3 BADI side.
The R/3 BADI goal is not to create BAPI_EXTENSIONIN. This is done by the Form MAPPING_CUSTOMER_FIELDS of include LBBP_BAPI_POF04.
Later on, the custom fields of BAPI_EXTENSIONIN are transfered automatically to EKPO fields via a move-corresponding.
In the way you coded R/3 BADI, you by-pass the Form MAPPING_CUSTOMER_FIELDS, to populate the BAPI_EXTENSIONIN by yourself.
This could work like this, but you missed one info: the PO item number (missing in SRM BADI) !!!
For debugging, what additional details do yo need ?
Rgds
Christophe -
Cannot uninstall cs6 bad hard drive, any suggestions?
Cannot uninstall cs6 bad hard drive, any suggestions?
THank youThank you for the Adobe contact. They connected me to the chat link and the Adobe tech Support rep sent me a License Recovery download link (attached) http://download.macromedia.com/pub/support/tools/LicenseRecovery111.dmg.
I have 10.10.1 Yosemite. When I open the download folder and click on the LicenseRecovery.app it shows up on the dock but it nothing happens. I cannot quit the app only Force Quit. I have restarted the mac and that did't help.
Adobe chat suggested I uninstall CS5.5/6 and re-install but why would that have anything to do with the app opening?
Any suggestion is greatly appreciated, again.
Thank you -
Error in private methods when implementing a BAdI
Hi,
I implemented a BAdI and added some custom private methods in my implementing class. When I looked at the object list, my private methods are marked with a color red circular shape, which I guess it means those have error. But, when I tried to activate and test the BAdI, it works fine. Any idea why it marks my private methods as error? Am I missing something here?it denotes Accessibility / Visibility of those methods .
regards
Prabhu -
How to create implementation for BADI BADI_SD_SALES_ITEM
Hi all,
When i try to create a implementation for BADI it erorrs out saying "its for intenal use". Is there any way i can still go ahead and create a implementation for this BADI BADI_SD_SALES_ITEM.
Thanks in advance.Hello Jayakumar,
The BADI <b>BADI_SD_SALES_ITEM</b> is designed as internal BADI; the implementation can only be done, if the BADI is set to external. The property of a BADI is stored in the table <b>sxs_attr</b>. The flag <b>internal</b> must be cleared to use the BADI as external. The following short program will show you an example:
report z_xpra_upd_badi_def.
data: gt_prot type table of sprot_u,
gs_prot type sprot_u,
gv_simulate type xflag.
* Constant Definitions for Protocoll:
constants:
gc_error_fatal value 'E', " Error message with stop_upgrade
gc_error value 'P', " Error message: no prod use!
gc_success value space, " Success
gc_info value space, " Info
gc_warning value 'W', " Warning
gc_lv_error type n value 2, " Level for type 'E'
gc_lv_add_error type n value 2, " Level for additional info
gc_lv_warning type n value 2, " This could be either 2 or 3
gc_lv_success type n value 3, " Success only at 3
gc_lv_info type n value 4, " Info-messages only at 3 or 4
gc_lv_debug type n value 4. " Additional info for yourself
start-of-selection.
gv_simulate = space.
perform bc_action using 'BADI_SD_SALES_ITEM'
gv_simulate.
* Finally, the transport protocol will be added:
call function 'TR_APPEND_LOG'
tables
xmsg = gt_prot
exceptions
others = 5.
call function 'TR_FLUSH_LOG'.
* END OF PROGRAM
*& Form bc_action
* Function description/flow
* Used global variables:
* Read/Write
form bc_action using li_badi_def type sxs_attr-exit_name
li_simulate type xflag.
data: ls_sxs_attr type sxs_attr.
select single * into ls_sxs_attr
from sxs_attr client specified
where exit_name = li_badi_def.
if sy-subrc = 0.
if not ls_sxs_attr-internal is initial.
if gv_simulate is initial.
clear ls_sxs_attr-internal.
update sxs_attr client specified
from ls_sxs_attr.
endif.
if sy-subrc = 0.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-001
sy-dbcnt
space.
else.
perform bc_append_log using gc_lv_error
gc_error
'5@'
'000'
li_badi_def
text-002
sy-subrc
space.
endif.
else.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-003
space
space.
endif.
else.
perform bc_append_log using gc_lv_success
gc_success
'5@'
'000'
li_badi_def
text-004
space
space.
endif.
endform. "ACTION
*& Form bc_append_log
* Function description/flow
* Used global variables:
* Read/Write
form bc_append_log using li_level type sprot_u-level " Level
li_severity type sprot_u-severity " Severity
li_ag type sprot_u-ag " Message-ID
li_msgnr type sprot_u-msgnr " Messagenumb
li_var1
li_var2
li_var3
li_var4.
clear gs_prot.
gs_prot-level = li_level.
gs_prot-severity = li_severity.
gs_prot-langu = sy-langu.
gs_prot-ag = li_ag.
gs_prot-msgnr = li_msgnr.
gs_prot-newobj = space.
gs_prot-var1 = li_var1.
gs_prot-var2 = li_var2.
gs_prot-var3 = li_var3.
gs_prot-var4 = li_var4.
append gs_prot to gt_prot.
endform. " bc_bc_append_log
This report can be used as <b>XPRA</b> run; for this you need to assign this report in a transport with property object type <b>XPRA</b>. After importing the transport the report will be started automatically.
Please handle this proposal solution carefully.
Best regards,
Kurt. -
Issues while creating implementation for BADI "ME_PROCESS_PO_CUST"
Hi Group,
I have issues while creating implementation for BADI "ME_PROCESS_PO_CUST".
I tried to create implementation for the above mentioned BADI but, I was getting an error like this:
"Interface implementation IF_EX_ME_PROCESS_PO_CUST does not exist".
I want to implement this BADI and so, ideas/views at the earliest will be appreciated.
Please let me know how to overcome this error.
Thanks,
Vishnu.Hi,
Have you activated the class which is implementing the interface? (in transaction SE19 you should see class name)
Best regards,
Wojciech -
Check active implementation in badi
Hi Expert,
Pl's let me know how to I check active implementation in badi in ECC6.0.
I have tried to find the solution by using call function 'SXC_EXIT_CHECK_ACTIVE' , as used in previous version of the server.
But this is not helping me out.
Kindly let me know if there exists a way to check the active implementations in badi.
Tx
KshitijaCan you not do this from SE19? If you know the BADI definition name just do an F4 on the implementation, and put in the definition name, and select Active Only option, and you should see the list.
Albert -
Implementation for BADI - /SAPAPO/ADVX
Hi,
I have created and activated an implementation for the BADI /SAPAPO/ADVX for the method USER_EXIT_MACRO. But this implementation is not triggering when i execute a macro in Transaction /SAPAPO/SDP94. Could you please let me know how to achieve this? (I am implementing this BADI to display the Units in SUOM instead of Base UOM).
Do we have any other BADI for changing the stock from UOM to SUOM?
Thanks,
RajinikanthHello Experts,
I have created one Z class in which i am using the methods of BADI /sapapo/advx , i have hard coded my macro id ,layout id and view id so that it will execute my code on execution of that particular macro.now my problem is how to read the data for particular keyfigure from the internal tables of this interface.i am not getting how to read te data and process it.
please help me on this.
Regards,
Saurabh Kulkarni
Maybe you are looking for
-
Check box GR-Based INV in PO's
Is there a way to make this checkbox defalut by document type so all our PO's require an invoice for over $5000? Thanks in advance! Eric Edited by: Eric Stelter on Aug 4, 2008 3:19 PM
-
Exort to iWeb or drag & drop?
Hi, when doing a photo page in iWeb, what is the difference between export to iWeb function in iPhoto and drag & drop between iPhoto album (or Finder) and iWeb? It turned out that when I draged and dropped from an iPhoto folder I didn't get all photo
-
Hello, dear colleagues Question, should I have two separated pricing procedures to process downpayment and standard process in SD? Actually the question is regarding VAT. In standard sales the base for VAT calculation should be net value, but for dow
-
How can I make a Splitting in Cost center accounting by Cost elements?
Hi experts: I have defined a splitting structure and I would like to split the cost bettew fixed and variables cost. To to that I have defined two different assignments and in the selection for each assignment I have completed the "Field label" with
-
My phone is stating that it cannot back up because there is not enough iCloud storage available. What can I delete or do to make more storage?