BADI help for IS Retail
Hi Friends,
I need to implement badi "WRF_APC_X_PLITEM_E", when I went for the implementing it, in documentation of method "DISTRIBUTE_QUANTITIES" I found the below note
<b>Notes</b>
To complete the implementation of this method, you must add a new menu option on the purchasing list toolbar by implementing the method ON_TOOLBAR of the BAdI WRF_APC_X_PLISTALV_E.
This new menu option must have the function code 'DISTR_PQ' with the text description of your choice (for example, 'Distribute quantities top down'.
So If anyone has handled this kind of problem to handle function code please provide me the solution.
Regards,
Varsha
Hi,
1. In retail Site need to be created by T-code WB01 as Same site acting as vendor and customer also .
2.You can use AC01 to create srvice master data but ou can not use MM01 in Retail .
3. You will get useful info. link
http://help.sap.com/saphelp_erp60_sp/helpdata/en/50/94f500470e11d1894a0000e8323352/frameset.htm
Similar Messages
-
Hi,
Is there any search help to get a list of program names. That can be used in the BADI's.
Or else atleast provide me some steps for creating a search help using search help exit.
Thanks & Regards
Santhosh
Message was edited by:
Santhosh DSHere is how to create search helps..
http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm
you can create new search help for displaying program names.. it is easy... -
Help required with badi implementation for IBASE
Hi,
I have implemented and activated a BADI (Defination name: BADI_IBASE_SAVE_CHCK). This BADI is for additional checks before changes to an IBASE is saved. However, this BADI is not getting triggered.
I tried debugging the transaction IB52 during the SAVE operation, but couldnt get the reason.
Can anyone help me out with this...
I implemeted the BADI from the SPRO transaction in the following path.
SPRO>Customer Relationship Management>Master Data>Installed Base> Enhancements-->BADI:Additional check when saving Installed Base.Hi Dharmendra,
Check if this is your case..
Note
This Business Add-In is not suitable for checking individual field content in an installed base, or installed base component: To do this, see Business Add-In: Additional Checks When Modifying Installed Base Headers and Business Add-In: Additional Checks When Modifying Components.
Regards.
Manuel -
Help needed to find out BADI's for Transaction "PECM_CHANGE_STATUS"
Hi folks,
I was told to use BADI "HRECM00_ACTIVATION" and code in the Method "CALC_SAL_ADJUSTMENT" within it. After coding and executing my Transaction "PECM_CHANGE_STATUS" it does'nt stop at the method (inspite of keeping a breakpoint).
So, after suggestions from some of you folks i tried the below 2 methods to find out the relavant BADI's
1) First way, putting a breakpoint at "CALL METHOD cl_exithandler=>get_class_name_by_interface" via SE24 and found only one BADI in exit_name which is "HRPAD_SUBTY_CHECK".
2) Other way i checked the Package of suggested BADI "HRECM00_ACTIVATION" , which i found as "PAOC_ECM_ADM_BL". ANd when i go to SE80, for this package when i check the Enhancements section->Classic BADIs. i found about 15 BADI's ..Is this the right way to check for a BADI ? If not, how to know the relavant BADI's for my transaction "PECM_CHANGE_STATUS"
Awaiting for response. Thanks!Hi,
1. The BADI "HRECM00_ACTIVATION" does exist in this transaction, did you activate the implementation after writing the code? The method is called in the FM HR_ECM_CALC_SAL_ADJUSTMENT. You can try executing with breakpoint at the FM HR_ECM_CALC_SAL_ADJUSTMENT.
2. You can try using the program in the code gallery to find user exit/Badi. Link: [Badi/exit finder|https://wiki.sdn.sap.com/wiki/display/Snippets/ToFindoutUserexitsandBAdI%27s%28New+format%29].
3. In case you are working on ECC 6.0 the first point ( "CALL METHOD cl_exithandler=>get_class_name_by_interface" ) mentioned by you might now return all the BADIS, as SAP has introduced a new method by which BADIS are invoked. You can try searching for Kernel Badi in SAP Help.
Regards,
Sai -
F4 Help for Territory Attribute - BAdi CRM_TERRMAN_ATTRIB (CRM 7.0)
Hi,
I have a Z field in my Territory. I am trying to implement F4 help for that using BadI CRM_TERRMAN_ATTRIB. Method : GET_F4_HELP_CUSATTR .
But, I am not able to understand how can I impement this method to get F4 help. as It is returning One Interface which has no attributes , no methods.
Please help me to implement this method such that I can get F4 help for my Custom attribute.
Thanks,
SandeepHi,
I hope this might help you start with.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-5
Follow this link, and search for "Using a variable from a calling program without passing it in parameter ".
Regards,
Susanta -
Help for SAP BADI in 6.0 and Enhancement 6.0
I need help links for BADI and Enhancement in 6.0.
As well can anybody tell me about after creating a BADI in se18 how we can implement it with any standard program of SAP?
Message was edited by:
Moni BindalHi,
Implementing Business Add-Ins (BADI)
The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
as a function module with the same import and export parameters and follow the simple instructions below.
Steps:
1. Execute Business Add-In(BADI) transaction SE18
2. Enter BADI name i.e. HRPBSGB_HESA_NISR and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as Z_HRPBSGB_HESA_NISR
5. You can now make any changes you require to the BADI within this
implementation, for example choose the Interface tab
6. Double click on the method you want to change, you can now enter
any code you require.
7. Please note to find out what import and export parameters a
method has got return the original BADI definition
(i.e. HRPBSGB_HESA_NISR) and double click on the method name
for example within HRPBSGB_HESA_NISR contract is a method
8. When changes have been made activate the implementation
just refer to the link below. it will of great help to u.
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
Regards -
Hi folks,
I have to keep F4 help for field 'Goods Receipt' in the stnadard TCode MIGO. Do we need to use any Exit or is there any other way to do so like configuration settings in SPRO...Pls suggest me how can i acheive that one..
Thanks,
Shyam.Hi Shyam,
you have to do from the EXIT only
Enhancement/ Business Add-in Description
Enhancement
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material doc. item
Business Add-in
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)
MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations
MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields
MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields
MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations
MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document
ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)
ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)
ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)
ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)
ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04 posting of gr
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI BAdIs During Creation of a Material Document
No.of Exits: 8
No.of BADis: 29
Hope these things use ful to you.
Thanks! -
I've had a request to add a vendor characteristic to the list that is generated by the SRS Search Help for Articles.
Currently is is displaying just the article number and the article description.
I found the BAdI - WSRS_MAT_KEY_SRC. It is called during the search help. The method WSRS_MATKEY_PBO_SUBSCREEN provides an internal table with the articles that matched the search criteria. In addition to the article number and description are the UPC/EAN, Vendor Article Number and "Long article number for SAP Retail Store". None of these fields are being populated. When I enter, during debug, values into these fields, they are not displayed. (Only the article number and description are being displayed.)
Does anyone know where this search output list is configured? Although I have found the actual article display for SRS in SPRO/IMG, I did not find where the search output list is configured.
Thanks,
DebHi,
It seems like you need to go for C++ custom Addin Devlopment.
Regards,
Anil. -
Need to restrict values in F4 help for Batch Characteristic
Hi,
I need to restrict values in F4 Help for a batch characteristic based on values entered for another characteristic. I could not find any BADI or Exit for this purpose. There is a BADI CACL_VALUE which is triggered after an entry is selected from dropdown list but nothing when we press F4. I thought of using Object Dependency but I need to write a programming logic for the requirement. Please let me know if there is any way to write program in Object Dependency or any other way for this requirement.
Regards,
NikhilHi nikhil simha,
first of all, find out which search help is called.
[Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw70/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm]
may help you.
If you know the search help, you may enhance it, but first of all you should check the where-used-list and make sure that the search help shows the requested behavior only in the context where you want it to.
If it is your own program, you may be better off to create your own search help and define the triggering fields as search help interface input fields. Then you can use the values to filter results.
Regards
Clemens -
BAdI UC_DATATRANSFER for BCS Mapping in "Load from Data Stream" method
Hello Everyone,
I need some help on finishing up the code for the UC_DATATRANSFER BAdI.
I have looked up in the SDN and other places, but could not get comprehensive breakdown of documentation except for the "F1" documentation available on the BAdI.
So, any help would be appreciated.
The Steps so far completed,
1. Have activated the BAdI and have created the filter value for the BAdI.
2. After the BAdI has been activated, I was able to go into the MAP method and have written the logic for profit center derivation from consolidation hierarchy.
The issue is there are four components for the Map method,
IT_DATA_SOURCE
IS_DATA_TARGET
ES_DATA_TARGET
ET_DATA_TARGET
The data is available from Source system in the table IT_DATA_SOURCE.
But this is not changeable as it is "Importing" type. Whereas the actual ET_DATA_TARGET which is passed over into FINALIZE method of the BAdI is not filled initially.
When I try to do a MOVE-CORRESPONDING from the IT_DATA_TARGET into ET_DATA_TARGET I continuously am getting the short dumps as both the tables length is not the same.
Did anyone else face the same issue as above when trying to do the BAdI implementation for Mapping.
I will really appreciate if any one can provide me a sample code if possible.
Let me know if you need additional information.
Thanks
Dharma.Hello,
Thanks for looking into the question.
I already had tried doing that, I get the Short dump stating the object tables are not convertible.
When I looked into the table structures, I found out that the table structures "IS_DATA_TARGET", "ES_DATA_TARGET" & "ET_DATA_TARGET" belong to the same category in terms of these structures being flat structures or tables of length 484 as per the debugger.
Whereas the structure "IT_DATA_SOURCE" has the length 404.
Due to this reason when I say,
ET_DATA_TARGET = IT_DATA_SOURCE, I keep getting the short dumps.
Also, is your consolidation process legal or managerial.
Our Consolidation process is legal and we have the Company and Profit Center fields assigned to the Consolidation Unit role in the Data Basis definition.
Can you please let me know what is the structures length in your system.
Thanks
Dharma. -
F4 help for the field requisitioner in ME51n
hi friends,
i got a requirement to give F4 help for the filed requisitioner in Me51N which will be in item level .
can any one give me the exit, badi, enhancement-point for this.
thanks and regards,
venkat.not answered
-
F4 help for a single field in interactive form
Hi Experts,
I am working in HRAS process.I created a Form Scenario and an Adobe Form. I linked my interactive form in portal using standard Start Processes iView . Now I have to create a value help(F4 help) for 'STATE' field based on 'COUNTRY' field value in adobe form. I filled the Input value Help in the corresponding Form Scenario field. But in portal the adobe form shows the field as a single field only.
How I can I attach the manual F4 help to 'COUNTRY' field?
The how to vary the F4 help values in 'STATE' fied based on 'COUNTRY' field?
Do I need to code in Java script for this?
Please provide some inputs with code sample
Thanks in advance,Lek,
Check Nikhil's reply in this [thread|Re: Reg: value help from BADI is not displayed in the HCm form;. It should probably help you.
Chintan -
To get f4 help for salesperson field ,transaction me21n & me22n
Hi Super-Techies,
I am a new-bie in the world of enhancement.
The reuirement here is I need to create a custom table with 1 field (prep_name). (This is done)
Now the reuirement is that whenever user goes to transaction ME21N/ME22N, he wants me to add a f4 help for salesperson field (navigation : ME21N/ME22N -> CLICK ON COMMUNICATION TAB -> SALESPERSON). The f4 help should display the field from my custom table.
As far as my knowledge is cond=cerned, I can use the function module 'F4IF_INT_TABLE_VALUE_REQUEST' to achieve this requirement.
But the issue I am facing is where to write this logic and how to proceed. Can anyone help me in this case?
Any help in this regard would be appreciated.
Thanks & Regards,
Vinit
Edited by: vinit005 on Nov 1, 2010 12:43 PMHi Vinit,
I also had that requirement. There is no customer exit/BADI by which we can achieve that(as far as my knowledge), we have to use access key to achieve that. So we have gone for customer exit "MM06E005" to add Customer data tab in header and added our own fields, like Sales Person, Buyer Details etc.
Thanks & Regards,
Faheem. -
To find out BADI implementation for a standard transaction
Like for User Exit is there any standard code to find the BADI implemetation for a Transaction Code.
If so please paste the code.Hi pagal,
The following is the code for the report program which lists Userexits and BAdi's for a given Tcode...
Regards
Karthik D
<b>P.S.: Reward Points if this is Helpful</b>
*& Report ZDK_FIND_BADI
REPORT ZDK_FIND_BADI.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
* Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
* Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
* For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase. -
Need help for importing oracle 10G dump into 9i database
hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
or
someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
But it is possible to perform an export with a 9i environment against a 10g instance.
I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
It should potentially be possible to export at least 9i compatible objects/segments with this approach.
However, I have my doubts if this stunt is supported by oracle ...
Message was edited by:
user434854
Maybe you are looking for
-
Disappointed by the 928, Verizon, Nokia, and Microsoft
I purchased the Nokia 928 shortly after the launch date because I wanted to like the new platform - I really did, and at $99 for a flagship smartphone, where could I go wrong? The answer? Nokia 928. I'm on my second as of now, the first kept freezing
-
Creating Item Catalog Category in Product Information Management(PIM)
Hi all, I am new to oracle apps R12. now i am working on Product Information Management(PIM) module in R12. I want to create a new Item catalog category(ICC) under the root item catalog. It was used to adding my new items in the hierarchy. I could ab
-
It seems that indexing is a major topic but I've searched, and read, and not found the answer to my problem so I'm hoping someone can help me out. This is a 300+ page book, a biography, and needs a simple index. I thought this wouldn't be a problem u
-
Portal user password reset!
I for some reason I reset the Portal (DB Schema) user password and i'm not able to get into the portal page! please help.. here is the err i get --- http://<host>:7778/pls/portal/ Forbidden You don't have permission to access /pls/portal/portal.home
-
Discovery System: Problems with exposing RFC as web service
We have a version 2 discovery system and have successfully implemented the three exercises from the TechEd workshop (Sales Order Distribution, Creating a PO Store Record WS, Adding a New Step to the Procurement Scenario with SAP CAF GP). It seems to