BAdI for technical object replication
Hi,
I have created a new attribut and settype for PoD (Point of delivery) family with tcodes COMM_ATTRSET and COMM_HIERARCHY.
I want replicate this new field from SAP CRM to SAP R/3. For this, I have implemented two BAdI : IBSSI_SEND_TO_UPL (for SAP CRM) and IBSSI_RECEIVE_TO_UPL (SAP R/3).
But, I have tried to put break point into these BAdI and I think that BAdI are never called.
Perhaps, I don't use good BAdI.
Have you got any documentations, OSS Notes, or others to help me ?
Thank you for your help.
Best regards,
Rémi
Hi, Remi
You have to setup your aleremote user as dialog for debug purpose.
Denis.
Similar Messages
-
User exit or BADI for technical closure of a maintenance order
Hello,
Please I need the help of you.
Is there any User exit or BADI for technical closure of a maintenance order
regardsHello ROB,
Please do not post duplicate thread.
You can check below two BADI's. ATP_PUBLISH_RESULTS and IWO1_SCREEN_MODIFY. Because I have got two BADI's through finder.
You can also check WO10004, WO10005, WO10006, WO10007, WO10008, WO10009, WO10010 and WO10011 user exits.
Thanks & Regards,
Abhijit -
Location and account assignment for technical objeCT
WHAT IS Location and account assignment for technical objeCT , FOR functional location
Hi
check the one of the Views for the above data (notification no + fun Location)
VIQMAML_IFLOS
VIQMELST_IFLOS
VIQMEL_IFLOS
VIQMFEL_IFLOS
VIQMSML_IFLOS
Regards
Anji -
BADI for Reference Object when IBase is entered in Service Transaction
Is there a BADI to change the Objject Reference Data when the Object ID (Product ID) and IBase ID is entered in a Service Transaction (User presses 'ENTER')
When the user enters the Product ID/ IBase ID in the Service Transaction and hits 'ENTER', I need a BADI to change and manipulate the Reference Object Data (Description, Serial Number) etc before it is output on the screen.
This is from WebUIHi,
I have a similar question and after lloking around in internet I still have no clue how to solve it. When creating a service ticket i introduce the Ibase and Component. The Organization has to be determined based on the postal code of the IBASE. Now my problem is that still no GUID and Object ID of the Business Transaction is generated so I can not use for example FM CRM_ORDER_READ.
Also I have problems to find the structure or table where to see the IBASES which are related to Business Transactions if the transaction still not is created.
Any ideas? -
Badis for Central Contract Replication from SRM to ECC
hi
experts
i am working on a scenario of replicating the central contract from SRM 0.7 to ECC via XI/PI
let me know what are the Badis to be implemented in ECC for the Same
looking forward for your replyHi,
You do not need any Badi in ECC to distribute central contract to your backend system.
if your ECC system is on ECC 6.0 enpk 4.0 or more,
you can directly distribute your central contract from SRM to ECC system using standard ESOA services.
Thanks and regards,
Ranjan -
BAdI for prepopulating objectives (notes) in Appraisals
Hi,
1) Can objectives be prepopulated during template creation and then edited once the template is assigned to an appraisee / appraiser
2) How can objectives be prepopulated when an Appraisal Form is being created? (phap_admin_pa/phap_prepare_pa)
The requirement is to prepopulate appraisals with different sets of "objectives" based on the employee's job or personnel number. In addition, the user should be allow to make modification to these prepopulated objectives. Is there a way to do this? What's the BAdI that would allow me to achieve this task?
Thanks,
PaulHello Paul,
Prepopulation can be achieved via a fix enhancement (BAdI Def. HRHAP00_ENHANCE_FIX). It will be triggered once when the document goes from status 'In Preparation' into any other status.
Whether or not they can eb overwritten depends on your normal configuration settings of the reference element.
Regards and Groetjes,
Maurice -
BAPI for get info for technical objects
Hi experts!
I need you help... I'm lookin for a FM or BAPI because I need to get info for a functional location.
I wish this FM or BAPI exporting me all info of functional location; characteristics, equipments....
could you help me?
thank you
regardsHi, try some of these function modules:
AIP2_TPLNR_GETDETAIL
FUNC_LOCATION_READ
INSTALLED_EQMTS_ON_LOCATION
EQUIPMENT_READ
ALM_ME_EQUIPMENT_GETDETAIL
AIP2_TPLNR_GETDETAIL
Rgds
JP -
Hi All,
I have a requirement to send notification tests (QMEL-QMTXT) as an email to the top managers whenever a Notification is created, either manually (using IW21) or pre-scheduled notifications. Whenever a new notification gets saved, it must go as an external email (non-SAP) to the top managers' ids.
I found the following BAdIs for that object:
IQS0_STATUS_MAINTAIN Control of Changeability of User Status
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample
IWOC_LIST_TUNING Performance Tuning for Lists in PM/CS
IWOC_OBJECTINFO_CHNG Changes to Data of Object Info Screen
NOTIF_AUTHORITY_01 Additional Authorization Checks for the Notification
WOC_FL_DETERMINE Determine Date for Determining Installation Loc. Equi.
1) Which would be the right one to use.?
OR
2) Is there a better/another method to meet the requirement.
Useful answers will be gratefully rewarded
Karthik
Message was edited by:
KarthikHi Karthik
U can use BADI or user exit for the purpose. Please find out which is the BADI or Exit that ios getting triggered at the time of document save operation. following are some of the enhancements that are related to PM notification -
IWO10026 , IWO10027 , IWOC0001 , IWOC0002 , IWOC0003 , IWOC0004
Once u have chosen the right BADI / Userexit , than u can us the following peice of code as reference to send the required data as an external mail to the desired recepient.
But the most important point to note in this regards is that, the SMTP port must be configured in the server for flushing the mail out of SAP system to the target Id through the mail server. this configuration is done in transaction SCOT
Refer the following code for sending external mails -
<b>&----
*& Report ZMK_TEST_MAIL *
REPORT ZMK_TEST_MAIL .
parameters: mail_id like ZTARGET_MAIL_ID-MAIL_ID.
parameters: messeg like solisti1.
parameters: subject like sodocchgi1-obj_descr.
data : tab_lines type i.
DATA: objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
DATA: objhead LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: reclist1 LIKE somlreci1 OCCURS 500 WITH HEADER LINE.
DATA: reclist LIKE somlreci1 OCCURS 500 WITH HEADER LINE.
DATA: itab LIKE somlreci1 OCCURS 50 WITH HEADER LINE."RKU 220802
DATA: doc_chng LIKE sodocchgi1.
CLEAR objtxt.
move 'This is a test mail , on receipt pls make an acknowlegement to' to objtxt.
APPEND objtxt.
clear objtxt.
move ' the following mail id <[email protected]>' to objtxt.
append objtxt.
MOVE ' ' TO objtxt.
APPEND objtxt.
DESCRIBE TABLE objtxt LINES tab_lines.
creation of the entry for the compressed document
CLEAR objpack.
objpack-transf_bin = ''.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
APPEND objpack.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
move subject to doc_chng-obj_descr.
doc_chng-obj_prio = 1.
recipient Details
CLEAR reclist1.
CLEAR reclist.
REFRESH reclist1.
REFRESH reclist.
reclist1-rec_type = 'U'.
reclist1-com_type = 'INT'.
reclist1-receiver = mail_id.
APPEND reclist1 TO reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
if sy-subrc = 0.
submit rsconn01 using selection-set 'SAP&CONNECTINT' and return.
endif</b>
hope this helps u .....
Regards
Mukundhan -
BADI for ME22n - Component Object List
Hi ,
I am working with transaction ME22n. When the item category is L. The material data tab shows a button called Components (Object List). On clicking this button i am taken to another screen which has childeren material items and the related data. I need to capture the values on this screen and compare them with the database values to identify any changes.
I am working with BADI ME_PROCESS_PO_CUST , method CHECK and OPEN. Please tell me in which method parameter those screen values are stored and i can fetch them.
Also please suggest me any other approach possible which i can use to capture the screen field values in the component screen.
Any help would be deeply appreciated.
Thanks in advance.
Moderator message : Duplicate post locked. Continue with thread [BADI for ME22n - Component Object List|BADI for ME22n - Component Object List]
Edited by: Vinod Kumar on Aug 9, 2011 12:25 PMHi,
Please check this thread
User exit for component data in ME21n/ME22n
Thanks -
Delta Replication for Customizing object from ECC- CRM
I need help on delta replication activate for customizing objects from ECC to CRM. I finished with initial load with product replication and everything worked weel. The problem is that product hierarchy continuely changing in ECC everyday, so the delta for the products error out due to incorrect product heirarchy in CRM becuase the delta is not working for DNL_CUST_PROD0, and DNL_CUST_PROD1. Please show me how to activate the delta for those DNL. What business transaction do I need for those so the delta will work for them too? Rewards points if helpful
I think you need to do Request downlaod for the Product Hirearchy when ever there is new one created in ECC.You can do request downlaod by creating the object using R3AR2. Exeute the object though R3AR4 and monitor the status using R3AR3.
-
Check on Technical Objects when saving VA41/VA42 (Enhancement for SD)
Hi All,
I need to check whether a particular Equipment/Tech Object is already linked to any other existing Sales Document based on Sales Doc Type while saving. If so i need to raise an error and stop the VA41/VA42 Save.
I tried USER EXIT SAVE DOCUMENT PREPARE under SAPMV45A but i cant access the Tech Objects attached which is under SAPLIWOL.
Kindly advise me how to access Tech Objects data from SAPMV45A under SAVE DOCUMENT PREPARE or any better option is there.
Thanks,
Saleem BECInstead of validating technical object, you can try to validate the technical field name which would be very much available in the user exit.
G. Lakshmipathi -
How to find another BAdi for Transaction CCM2
I have written an Authorisation Check for transaction CCM2, but there are two select buttons.
load and load extended.
i added the Auth Check to BADI_CCM_EXPLOSION - Restrict Structure Explosion for Actual Configuration, which works okay when i click the "load" button, but this is not called on the "load Extended" button
I checked the BAdi - BADI_CCM_EXPL_ALWD - Restrict Structure Explosion of Allowed and Actual Config and BADI_CCM_CHK_STATUS Adjust the CCM2 Check Result by Technical Object but these are not called from the Transaction either.
is there another way for me to try and work what may be called within this transaction?
when i run through the debugger it always short dumps before i get anywhere as it does not like debug mode... any suggestions??? please?Please skip if you already did this!
Place a break point in method of CL_EXITHANDLER->GET_INSTANCE at line 28, CASE sy-subrc (According to ECC 6.0).
Code looks like:
CALL METHOD cl_exithandler=>get_class_name_by_interface
EXPORTING
instance = instance
IMPORTING
class_name = class_name
CHANGING
exit_name = exit_name
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
OTHERS = 6.
CASE sy-subrc.--> (Right here)
This METHOD will be called before triggering any BADI in SAP. After you place a break-point just process your transaction for which you are trying a find a BADI. Before triggering every BADI, code will stop right there and you could get to know your BADI Class and Method name through variables CLASS_NAME & EXIT_NAME respectively.
Reddy -
Sample Code in BADI for Open Hub Services
Hi all,
We have a requirement to extend(add few new fields and populate them using BADI) for the target structure of Infospoke in Open hub services.
I have 2 issues which are stopping us to proceed further.
1. I did this by just adding new fields in this change mode of target Structure (didn't used 'Append structure' as while saving and creating T.port request,its popping error like 'Structure not present in TRDIR).I am not able to assign this to any T.request,as of now I have saved it as Local object.How can I assign this to an request?is it possible?.
2. After putting breakpoint in the BADI I don't see any data in the Importing table.I need some sample code in the BADI which should populate the New fields in the target structure.
It will be great if anyone of you will give us any solution for the same.
Thanks,
Rahul.
Edited by: Rahul Siddi on Oct 12, 2009 3:04 PMHello Rahul,
Find the code below with the steps to be implemented.
Enter your infospoke in the edit mode.
- On the Transformation tab set the indicator for the Infospoke with Transformation with BADI so that the infospoke is activated.
- This will take you to the Addin implementation/BADI builder.
- Enter the short text/description for the implementation. The implementation name is always the same as the technical name of the infospoke
- The implementation of the BADI is always filter dependant.
- In the properties tab of the infospoke enter your infospoke under the Filter specifications.
If you do not specify an InfoSpoke under Filter Specifications, then this implementation is valid for all InfoSpokes. This means that this is called up for all InfoSpokes during the extraction.
- Activate your class
- From your interface tab page, double click on the Transofrm Method and you will arrive in the class builder page
- Here you can enter the code
- To do a look up of the master data you have to write a code similar to the one I've given below. This is just an example for looking up material master.
IF FLT_VAL = 'Your infospoke'.
T_DATA_IN] = I_T_DATA_IN[.
Select zstd_cost from /bi0/pmaterial into table T_return
For all entries in T_DATA_IN
WHERE material = T_DATA_IN-material.
...Continue with your code.
Append output from T_return to your output E_T_DATA_OUT
- Activate your method. Return to the BAdI builder. Return to your InfoSpoke.
Check if you missed any of these...
Kris... -
Navigate to technical objects programatically
Hi Folks,
We are developing an internal tool for developers in our team. The tool will produce output of a technical objects list. It can be program,Function Module,Class methods, DB table,BADI,Exits(pre/post/OVR), Implicit enhancements etc
Is there any way to porgramatically handle the navigation when the user clicks on the object name other than doing recording for and filling BDC tab for each object type.
Regards
ArshadYou can use cl_wb_worklist along with RS_TOOL_ACCESS for this purpose.
This example code, shows how to do this for a program. This can be extended for other objects also.
report navigation_example.
data:lcl_wrklist type ref to cl_wb_worklist,
i_wrklist type wbworklist,
l_wrkitem type wbworkitem.
l_wrkitem-id-type = 'P'.
l_wrkitem-id-name = sy-cprog. "Program name to navigate to
l_wrkitem-state-line = 2. "Navigation position of the program
append l_wrkitem to i_wrklist.
lcl_wrklist = cl_wb_worklist=>get_worklist( sy-uname ).
call method lcl_wrklist->clear.
call method lcl_wrklist->add_objects
exporting
p_objects = i_wrklist.
call method lcl_wrklist->store.
call function 'RS_TOOL_ACCESS'
exporting
operation = 'SHOW'
object_name = sy-cprog
object_type = 'PROG'
with_worklist = 'X'.
call method lcl_wrklist->clear. -
Hi friends,
1.)I request you to send some of the objects developed under technical in CRM in specific, on smart forms,BAPI's,BADI's,customised reports.
2.)Can you suggest which BAPI is used for Complaints returns and repair order management?Hi,
please read Note 430980 - CRM Server: Analysis in delta data exchange R/3->CRM
They have status 'STOP': In general, this is not an error. In this case, check whether the initial load for the object or its child object is still running. During this time, the delta queues are locked to prevent the transfer of newer delta data until the completion of the initial load. In this case you must wait until the initial load is complete, afterwards the system automatically removes the STOP entries. For test purposes you can force the manual start of the delta queues with a potential loss of the data consistency by deleting lock entries R3AD_<object name>* in Transaction SMQ1 in the R/3 BACKEND System. For the analysis of errors in the initial load, refer to Note 429423.
Denis.
Maybe you are looking for
-
IPAD 2 is wiped and in endless restore loop with 5.1
I downloaded and installed iOS5.1 about 7 hours ago after being prompted on both my iPad2 and iPhone4S via WIFI. No problem with the iPhone,works great. However, when the iPad rebooted it told me I needed to restore the device, which I attempted to d
-
How to combine a raw xml file stored in a table field withe other sql query in . xsq
I created .xsql file like this: <xsql:query> select xml_file from my_table </xsql:query> xml_file is field in my_table,it stores raw xml files. the xml file in the result is in text format, not in xml format,how to convert the file into xml format in
-
MacBook Device Missing from Find iPhone
My MacBook Pro which I have been using since 2009 was stolen a few weeks back and came online (saw it sign in on Teamviewer on my iPad). I used the Find iPhone app to remotely lock my MacBook Pro and put a message on it stating that the device had b
-
Is there a way to adjust snooze time in iCal
Is there a way to adjust snooze time in iCal...please tell me there is!!
-
Maddening problem with letterboxing inconsistancy
I'm working on a project that requires letterboxing in a 4:3 frame. I shot my footage in 16:9, captured it and edited in a 4:3 sequence. Everything worked great. Second project, same thing except that some of the shots appeared on the canvas stretche