EEWB / badi implem ZEEW_CUSTOMER_Hxx method CRM_CUSTOMER_H_SET_TITLE
We have two enhancements created for business object "Business Activity" at CUSTOMER_H level.
Each enhancement is coming in the same tab.
We would like to set a different tab title for each of them depending on the document type we are working on.
We have used the method CRM_CUSTOMER_H_SET_TITLE of the badi implementation ZEEW_CUSTOMER_Hxx generated by EEWB.
In the code of this method for the first implementation we have put EV_TITLE = 'Title 1' when document type = 1 and in the second one 'Title 2' when document type = 2.
It is working fine when we start CRMD_ORDER because the system executes the method in this case.
But when we are already in the transaction and we asked for example to open/create another type of document, the system doesn't execute the method anymore and the tab title is incorrect.
Does somebody of you encounters such kind of problem and do you have found a solution ?
thanks in advance for your answer,
Marie
Marie,
This is part of the reason why I mentioned this transaction is dangerous. I have never had any use for this transaction in CRM, except to look at how SAP built part of the framework. I guess unfortunately you can't get your business users to agree on a "standard name" for that tab regardless of the transaction type.
I have also read the help once or twice from SAP and it is greek. I don't know if anyone on this forum has used this before, and you would almost need a CRM developer from SAP to explain it. With the introduction of the EEWB a lot of the internals have been "hidden".
Sorry I can't help you any more,
Stephen
Similar Messages
-
Badi-- ME_PROCESS_PO_CUST, PROCESS_ACCOUNT method
Hi,
My requirement is that While Creating PO,if the first four characters of Cost Center and FundsCenter is not equal to Plant then an error message should be raised . For this i used
Badi>ME_PROCESS_PO_CUST and Method->PROCESS_ACCOUNT .
The problem is that in PROCESS_ACCOUNT method the parameter IM_ACCOUNT doesn't contain Plant value.
If I am using PROCESS_ITEM method,in this IM_ITEM is not capturing Fundscenter value.
Please help in solving the issue. Is there any User Exit or Badi which gives me Plant,CostCenter,FundsCenter Values.?
Thanks
K SrinivasHi,
You can use same Badi for getting Plant,CostCenter,FundsCenter. what are all values you are not getting for that you use field-symbols. like here for getting Plant value Try these steps.
1. Press F1 on PO Screen Plant value. Get Program name, screen field structure from that.
2. declare one variable as field as field-symbols, in badi.
FIELD-SYMBOLS: <lv_var> type any.
Assign '((SAPLMEGUI)MEPO1211-NAME1) to <lv_var>.
Here SAPLMEGUI is Program Name And MEPO1211-NAME1 is field structure of your program screen.
in <lv_var> you will get the value of plant.
Same process you can try for other fields also.
Regards
Vishnu Gupta -
Use of BADI /SAPAPO/SDP_RELDATA METHOD CHANGE_PROD_LOC
We have a requirement for a small number of product/locations to re-direct them onto a customer location when releasing the forecasts to SNP.
We have been pointed in the direction of the BADI /SAPAPO/SDP_RELDATA method CHANGE_PROD_LOC.
Unfortunately we can not find any documentation on the use of this BADI/Method, we've tried to change the location using the parameter CT_MATID_LOCID, also setting the parameter CV_CHANGE_PROD_LOC where a change has been made, but it doesn't seem to work.
Has anyone used this BADI/Method and has advice on it's usage?
Regards, MarkHi Mark - Changing the CT_MATID_LOCID table alone will not associate the change with a plobj or CV. I am surprised you do not get an error. You will also need to update the CT_MATLOC_PLOBJ table - find the entry for the old matid/locid then update that with the new matid/locid. Also the CT_PLOBJ_CHAR table needs to be updated as well - find the same plobj and update matid/locid accordingly.
Regards
Andy -
Hi,
I am a new bee to the ABAP world.
I am writing a BAdI implementation (Definition name: RSR_OLAP_BADI) for a 'Virtual KeyFigure' named D_TAX1.
I dont know how to set the value for key figure D_TAX1 in BADI implementation COMPUTE method (IF_EX_RSR_OLAP_BADI~COMPUTE).
D_TAX1 is a virttual key figure I had added in DSO.
I want to populate the value in BADI compute method (IF_EX_RSR_OLAP_BADI~COMPUTE).
I haven't written any method implementation for IF_EX_RSR_OLAP_BADI~DEFINE.
Is it mandatory that I need to write some thing there? I haven't declared any attributes either.
I want to set tax amount to the D_TAX1 virtual key figure based on the amount (another key figure in DSO).
I don't know if I need to write this, but the class name in BAdI is: : ZCL_IM_VAL_IMPL.
I really appreciate your help in this matter.
Thank you.
SekharThank you for your answers.
I have added the following code to the methods DEFINE, INITIALIZE & COMPUTE methods.
method IF_EX_RSR_OLAP_BADI~DEFINE.
DATA: l_s_chanm TYPE rrke_s_chanm,
l_kyfnm TYPE rsd_kyfnm.
FIELD-SYMBOLS:
<l_s_chanm> TYPE rrke_s_chanm.
Insert Code
CASE i_s_rkb1d-infocube.
WHEN 'D_DSOIC1'. "DSO name
l_s_chanm-chanm = 'D_CST1'. "Characteristic
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
APPEND 'D_TAX1' TO c_t_kyfnm. "D_TAX1 is a newly added Virtual KeyFigure
ENDCASE.
ENDMETHOD. "if_ex_rsr_olap_badi~define
[In the following INITIALIZE method, I didn't change any thing. I used the INITIALIZE method from the CL_EXM_IM_RSR_OLAP_BADI as is]
method IF_EX_RSR_OLAP_BADI~INITIALIZE.
DATA: l_global_name TYPE string.
FIELD-SYMBOLS:
<l_global> TYPE i,
<l_s_sfc> TYPE rrkg_s_sfc,
<l_s_sfk> TYPE rrkg_s_sfk.
there's no need to change this method
Just create attributes for each charactersitic
with name P_CHA_<characteristic> TYPE i.
and constants for each key figure with name
P_KYF_<key figure> TYPE i.
CLASS cl_exm_im_rsr_olap_badi DEFINITION LOAD.
get field postions for characteristics in structure
LOOP AT i_th_sfc ASSIGNING <l_s_sfc>
WHERE user_exit NE rrke_c_mode-none.
field name in structure is keyreturnnm
name of the global variable
CONCATENATE 'P_CHA' <l_s_sfc>-chanm
INTO l_global_name
SEPARATED BY '_'.
fill the global variable
UNASSIGN <l_global>.
ASSIGN (l_global_name) TO <l_global>.
CHECK <l_global> IS ASSIGNED.
<l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
i_fieldnm = <l_s_sfc>-keyreturnnm
i_s_data = i_s_data ).
ENDLOOP.
get field positions for key figures in structure
LOOP AT i_th_sfk ASSIGNING <l_s_sfk>
WHERE value_returnnm IS NOT INITIAL.
name of the global variable
CONCATENATE 'P_KYF' <l_s_sfk>-kyfnm
INTO l_global_name
SEPARATED BY '_'.
fill the global variable
UNASSIGN <l_global>.
ASSIGN (l_global_name) TO <l_global>.
CHECK <l_global> IS ASSIGNED.
<l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
i_fieldnm = <l_s_sfk>-value_returnnm
i_s_data = i_s_data ).
ENDLOOP.
endmethod.
METHOD if_ex_rsr_olap_badi~compute.
FIELD-SYMBOLS <fs_d_tax1> TYPE ANY.
FIELD-SYMBOLS <fs_d_cst1> TYPE ANY.
ASSIGN COMPONENT p_kyf_d_tax1 OF STRUCTURE c_s_data TO <fs_d_tax1>.
ASSIGN COMPONENT p_cha_d_cst1 OF STRUCTURE c_s_data TO <fs_d_cst1>.
<fs_d_tax1> = 10.
ENDMETHOD.
When I display the virtual key figure D_TAX1 in the query, it is not populated with value 10.
Can you guys please tell me what I need to change?
I haven't written any code in GET_FIELD_POSITION_D (in the example class CL_EXM_IM_RSR_OLAP_BADI, this method is implemented).
I appreciate your suggestions and help.
Thank you,
Sekhar -
Hello LabVIEW gurus,
I've got an issue with some invoke node calls to the Microsoft ADO (version 2.7) API in order to manage database communications. The issue is that it seems that the linkage only works on one of my development machines at a time. If I compile the VIs on one machine, everything is fine, but if I then move it to the other machine and force a re-compile, all of the ADO invoke node calls get greyed out and I get a broken arrow due to the "bad linkage to method" error. Of course, I can then relink the node and then everyone is happy again, but then I get the problem on the first machine. I could go back and forth all day, but I can't get it to be re-compilable on both machines. ADO 2.7 is installed on both machines and I have never had this issue using other programming languages. Any suggestions?
Note that I'm not sure how big a deal this is - so far, despite not being able to re-compile, the code actually works. So, so far at least it has been more of an annoyance than anything else, but I'm concerned about potential versioning conflicts if it is for some reason using a different version of ADO on one of the machines.
I'm using LabVIEW 7.0. Any suggestions will be greatly appreciated.
RobHi tst,
MDAC 2.81 (which is the latest version) is installed with Windows XP SP2, which happens to be the OS on both of the PCs. I haven't explicitly tried using different versions of ADO (for example "upgrading" to 2.8) primarily because version 2.7 is the version that has the feature set that I'm looking for and it has been quite solid for me in the past.
Ah well, I guess I could try repairing MDAC, but it seems unlikely to me that MDAC is corrupted since I've had no other problems.
Thanks for the suggestion anyway,
Rob -
Hi All,
Is there a way to restrict the planners have both change /display access in 001(sim version) and selected planners to have display only acesss in 000 (active version).
I went through the BADI /SAPAPO/SDP_INTERACT (Method 'DVIEW_DISPLAY_MODE_SET) info. It says that the display/change mode can be altered for specific users with the user parameter '/SAPAPO/SDP94_D_MODE'/.
Can this be done? and if so pls give me the steps to make changes in BADI and implement it.
Thanks in advance for your help and support.
Kind Regards,
SSPHi,
You need to give this BADI /SAPAPO/SDP_INTERACT name to your developer, he / she should be able to imlement and write the code according to your need.
See OSS note 401830 for parameter id.
user parameter '/SAPAPO/SDP94_D_MODE'
Parameter:
- I (Initial)Started in display mode, switch to change mode possible
- A (Always)Started in display mode, switch to change mode not possible
- C (Change)Started in change mode (if the planning book/ data view permits the change mode)
cheers
Pavan Verma -
BADI MB_DOCUMENT_BADI and method only working in debug mode
Hi SAP Experts,
I have a problem with badi MB_DOCUMENT_BADI. I implemented method MB_DOCUMENT_UPDATE, which is called from update
task.
My implementation calls a BAPI to update a standard sap table and I also update a custom table. When I put a breakpoint and the debugger gets to it, it runs wells. Everything gets updated properly.
With no breakpoints it doesnu2019t update anything. Iu2019m not sure what is causing this. Any help would be greatly appreciated.
<< Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
Miguel
Edited by: Rob Burbank on Oct 28, 2011 2:18 PMHi,
Please see below:
CALL FUNCTION 'BAPI_EQUI_CHANGE'
EXPORTING
EQUIPMENT = <FS_UPD>-EQUNR "->equnr of looped table
DATA_GENERAL = K_DATA_GENERAL
DATA_GENERALX = K_DATA_GENERALX
DATA_SPECIFIC = K_SPECIFIC_DATA
DATA_SPECIFICX = K_SPECIFIC_DATAX
IMPORTING
DATA_GENERAL_EXP = K_DATA_GENERAL_EXP
RETURN = I_MESSAGE.
***This is called inside a loop, after the loop...
UPDATE "Z_MY_TABLE" FROM TABLE I_UPD_FM.
Inside the loop the data gets prepared for the custom and standard table.
Thanks all!
Miguel -
Split SNP PDS using BADI /SAPAPO/CURTO_SNP Method CIF_IMPORT
Hello APO ABAP experts,
The requirement is to split SNP PDS based on the number of modes. Meaning, the PDS should have only Mode per Activity in the Operations.
My plan was to change the changing internal tables in the method CIF_IMPORT to create number of SNP PDS depending up on Modes. But, i am not sure whether it is possible or not. Please suggest.
Note: BADI will be triggered once per each PDS.
Thanks,
Shaun.Saurabh,
Let me explain you what i am doing:
Since i need to split one PDS into multiple PDS, I am changing the fields EXT_PLANNR and EXT_NAME just by appending a counter. Once after i change them, adding the entries to the changing internal tables (CT_*). At the end of CIF_IMPORT, i am deleting the original PDS entries.
Example code:
LOOP AT ct_planactz INTO ls_planactz.
ls_planactz-ext_plannr = lv_new_ext_plannr.
APPEND ls_planactz TO lt_planactz.
ENDLOOP.
APPEND LINES OF lt_planactz TO ct_planactz.
Right now, for testing purpose - i am not splitting the PDS. I am just trying to create 2 SNP PDS by using one PDS. I want to test my code first to create multiple PDS.
When doing this, i get the following error:
Error: Activity 250006007010001-012 000600000004 P does not exist
Message no. /SAPAPO/CURTO005
Piece of standard code cuasing the problem:
LN 64 in method GET_APO_GUIDS.
READ TABLE ct_cif_planactz INTO ls_cif_planactz
WITH KEY actnr = ls_apo_planactz-r3actnr
plnkn = ls_apo_planactz-plnkn
zaehl = ls_apo_planactz-zaehl
phasenr = ls_apo_planactz-phasenr
uvorn = ls_apo_planactz-uvorn
BINARY SEARCH.
Call stack:
METHOD GET_APO_GUIDS
METHOD CREATE_RTO
METHOD CREATE_SNP_RTO
FUNCTION /SAPAPO/CUSLNTRTO_CREATE_RTO
Question:
May i know what is the significance of other fields in internal table ct_cif_planactz ? Since i am chaning only EXT_PLANNR field, above binary search is picking up the same entries and ignoring my second PDS.
I would appreciate if you can share your ideas.
Thanks,
Shaun. -
Bad response: (405 Method Not Allowed)
Hello,
I am new with OC4J. I have deployed J2EE application with servlet based on Sun's SAAJ API. When I run it I get this error(the same code runs properly on Tomcat server):
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (405Method Not Allowed
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
at Test.invokeMsg(Test.java:40)
at Test.main(Test.java:59)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (405Method Not Allowed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:284)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
... 4 more
Thanks, JerzyHi,
Any chance you could provide a look at the servlet code and the associated web.xml file? A 405 error code could be due to a web module misconfiguration. I guess a look at the war structure would also help (i.e. where does the servlet classs reside - WEB-INF/classes?) and the exact URL you are attempting to access.
-- Jon -
Debbuger never stop in BADI 'BBP_WFL_APPROV_BADI' 's Method Implementation
Hi Experts,
We are implementing the PO n-step BADI workflow WS14000145 . I have implemented the method 'GET_REMAING_APPROVERS' of BADI 'BBP_WFL_APPROV_BADI', but when I put a break-point, the debbuger never stop!!!... please help about it!.
Thanks in advance.Hello,
Try the following:
- Set a breakpoint at function BBP_PDH_WFL_DB_UPDATE;
- Craete the cart. Breakpoint should stop in FM above;
- Change variable IV_IN_DIALOG to X (it is blank originally);
- Set a breakpoint at BBP_WFL_DIN_APPR_BY_RULE_GET. In here the badi to determine the approvers is called;
- F6 down until the call of this badi, i.e. CALL METHOD lv_wfl_appr_list_exit->get_remaing_approvers.
Regards,
Ricardo -
BADI - ME_PROCESS_PO_CUST - CHECK Method
Hi ALL,
When I create I'm able to get data of all the line items in the purchase order in the method IF_EX_ME_PROCESS_PO_CUST~CHECK.
I need to do validations and change material and material group.
I want to call the method like below:
Data HS_DETAIL type MEPOITEM
CALL METHOD IM_HEADER->SET_DATA
EXPORTING
IM_DATA = HS_DETAIL.
System is giving an error - type incompatible..
Am I missing something?
MeghnaHI,
The type of the importing parameter IM_DATA is MEPOHEADER and not MEPOITEM while you have defined HS_DETAIL of type MEPOITEM
So you will get the error.
Regards,
Ankur Parab
Edited by: Ankur Parab on Aug 24, 2009 6:06 PM -
Hi,
Could any one explain me the BADI and how it can be used for determining the exchange rate in currency translation?
Regards,
KumarHi Eugene ,
Thanks for your inputs.
I found BADI can be used only either to change the specific rate maintained in the steps based on some condition.
Example, it works fine when based on company code, we can maintain specific rate. It can be used for any other purpose also.
The above can also be acheived by maintaining manually, but BADI makes life easier to maintain and user friendly.
Thanks for all of you who responded.
Regards,
Sunil -
How to update the table available in BADI method
Hi Friends,
I have to implement one badi ME_REQ_POSTED for purchase requistion, in this badi I have to read first line item and do
some check...if that check is true i need to update subsequent line item (line 20, 30, 40 or so) with purchase group and MRP controller.
In this BADI i have method POSTED, in this method parameter IM_EBAN is a table which i need to modify with my different
values for purchase group and MRP controller.
Kindly let me know how to update this table, so the changes can be reflected in purchase requistion.
Since when I tried to directly modify the table in a loop, system throw one error stating IM_EBAN can not be modified.
kindly help.
pradeephi
I have implemented this exit but it does not stop at it while saving Purchase requistion. But my previous BADI stops at it when saving.
Kindly guide. -
Hi,
Can anyone tell me how to invoke a method in a BADI from another method which is in the same class.
Sample code will be more useful.
Thanks
Sowmmya VBBADI
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/63ee7f486cc143a560799d8803ce29/content.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/srm/badi-general+information&
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
The specified item was not found.
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://www.allsaplinks.com/badi.html
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-serieshttps [original link is broken]:///people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://www.esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40921dd7-d5cf-2910-1894-bb62316afbd1
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm -
Question on BADI RSU5_SAPI_BADI Method HIER_TRANSFORM
We are in the process of converting our R/3 datasource EXIT_SAPLRSAP_004 to BADI RSU5_SAPI_BADI using method HIER_TRANSFORM.
EXIT_SAPLRSAP_004 has parameter I_S_HIEBAS in the import tab which we have coded as:
<i>If i_s_hiebas-hclass = '0000'. </i>
but HIER_TRANSFORM does NOT have this parameter I_S_HIEBAS in the methods tab. How can we code this same statement in BADI if this parameter is not in the methods tab of HIER_TRANSFORM?
Appreciate any input.
Thaohi Thao,
method HIER_TRANSFORM has parameters
I_DATASOURCE
I_S_HIEFLAG
I_S_HIER_SEL
I_T_LANGU
C_T_HIETEXT
C_T_HIENODE
C_T_FOLDERT
C_T_HIEINTV
C_T_MESSAGES
(you can see this in SE18, display RSU5_SAPI_BADI, tab interface, double click HIER_TRANSFORM, tab 'method' click 'parameters')
you can try parameter I_S_HIER_SEL, there is HCLASS (double click RSAP_S_HIER_LIST, and double click ROSHIERSEL), your code may look like
method IF_EX_RSU5_SAPI_BADI~HIER_TRANSFORM .
if I_S_HIER_SEL-HCLASS = '000'.
endif.
endmethod.
hope this helps.
Maybe you are looking for
-
I don't have any details. It just showed up.
-
How do I move my notes in the "On My IPod Touch" folder to the "iCloud" folder?
How do I move my notes in the "On My IPod Touch" folder to the "iCloud" folder? I don't see where or how they are being backed up and want to make sure that they transfer to my new device.
-
ALV Questions for ALV_GRID_DISPLAY
Hi! I'm using ALV_GRID_DISPLAY and I've got a few questions about it: During the print of an ALV list is it possible to - 1. print different "top of pages" for all pages? - 2. print page number and/or all pages (like this: 1/10, 2/10, 3/10, ..., 10/1
-
Table help: equal distribution of rows adjacent a merged column ?
Hello, I am using StarOffice 8 (however the same principles ar probably true in version 7, too). I have a star office table (not HTML) that I want to behave more like an HTML table. For example, if I have a table with 1 row of headers and 5 rows of c
-
Hi, I need to use IDOC as interface for getting the information from source system to target system. i'm using FM 'IDOC_INPUT_MATMAS_MDM' for getting the data from source system to target system. Now my requirement is, while getting data from sourc