Declaring custom table under parameters  tab in BADI

Hello Friends,
I need to declare custom table under parameters tab in BADI. When iam trying to change the screen from display to change mode, iam getting followoing message.
Exit classes/interfaces can only be edited using the BADI Builder
Replies regarding this highly appreciated.Thanks in advance.
Regards
Sri

Hi,
Badi and respective method as follows.
ZBBP_CATALOG_TRANSFR --> Badi
ENRICH_ITEM_DATA --> method
I need to  declare custom table under the above method
Thanks.

Similar Messages

  • Add custom field under specific tab

    I have a requirement  to add a new custom field to the 'change bid invitation screen' in bids/bidders tab(SRM 5.0). I am new to SRM but I understand that to add a new custom field we have to append structure the structure  'INCL_EEW_PD_HEADER_CSF_BID'. But if i append this way, the field appears in the screen under basic data whereas i need the field under the tab bids/bidders tab after I have added a bidder. Is there any way to influence in which tab the custom field is displayed?

    Please help me out this

  • Declaring a table in Smart Forms

    Hi Guyz,
    Im having a hard time in using smartforms...actually..i have a structure table ZHPayroll
    Which consists of basic,fix allow ,company etc.
    My main problem is i cant declare or call my structure table in Smartforms under Forms->Tables..My command is <b> IT_GL type ZHPayroll</b>
    It has an error message
    "ONLY TABLE TYPES MAY BE USED AS REFERENCE TYPE FOR A TABLE PARAMETER".So i declare it under Form Interface->Import
    Then I declare a GS_DATA under Global Definitions ->Global Data
    Command is like this GS_DATA type TS_Data (which is my structure under TYPES tab same structure like ZHPayroll)
    .Once I call it  under Main Window->Table->Data
    IT_GL is neither specified under tables nor it is defined as an internal table.
    Please give some advice what to do about this.
    I used this FM see below.
    DATA: ly_formname TYPE rs38l_fnam.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZSF_PAYROLL'
        IMPORTING
          fm_name            = ly_formname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
       MESSAGE e001 WITH 'ZSF_PAYROLL'.
      ENDIF.
      CALL FUNCTION ly_formname
        EXPORTING
    <b>      it_gl            = gs_outtab</b>
          exp_total_at_top = 'X'
         prepared_by      = p_prepb
         approved_by      = p_apprb
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
    Thanks in advance
    aVaDuDz

    Hi Naren,
    I appreciate your reply...Im ok in creating a structure...but the main error is in smartforms.
    this is what i did..
    1.Declare IT_GL type ZHPayroll (created structure) from Form Interface->Tables
    2.Declare GS_Data type TS_DATA (types  declare under Types Tab. This structre is the same with ZHPayroll)
    3. Create a Table from Main Window->Table
    4.Declare internal Table under Data Tab the IT_GL into GS_Data
    5.I called FM in my program
      DATA: ly_formname TYPE rs38l_fnam.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZSF_PAYROLL'
        IMPORTING
          fm_name            = ly_formname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      CALL FUNCTION ly_formname
        EXPORTING
          IT_GL           = gs_outtab
          exp_total_at_top = 'X'
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
    But after activating my Smartforms this is the error
    Only table types may be used  as the reference type for  a table parameter
    but transfer the IT_GL to Import tab from Form Interface
    Same error occur.
    Please HELP.
    Thanks
    aVaDuDz

  • All Custom tables (with no. of records) under a package

    Hi All,
    I am trying to get all the custom tables or Ztables under a custom package along with number of records in each custom table.
    I have checked the View INFO_TABL and got all the custom tables under a custom package but did not get number of records for each custom table.
    Is there any other View, Table, Function Module etc., form where I can get the above data. Report is not a option.
    Regs
    Dep

    You may have a look into the program RSTABLESIZE & also the fm DB_STATISTICS_DATA_READ
    Good discussions are available here Most efficient method of finding COUNT of records in client-independent tab & dbtable count

  • Event Alert on Custom Table not working

    Hi
    Custom table is registered in Custom schema, created synonym in apps and granted all priviliges to apps.
    Creates event alert based on insert on custom table, though custom table is getting populated from concurrent program event alert seems to be not firing
    not sure why is this happening.
    Thanks
    Kamalakar.G

    Hi,
    Please see these threads.
    Alerts -- Can we create Alerts on custom table under Custom Application?
    Re: Alerts -- Can we create Alerts on custom table under Custom Application?
    Table used in Event Alert
    Re: Table used in Event Alert
    Problem with Custom Table Registration
    Re: Problem with Custom Table Registration
    Thanks,
    Hussein

  • Setting up event Alert on custom table

    I appologize for placing my question in probably the wrong forum, but I know you guys are the sharpest and I'm spent on this problem.
    Overview: I have a form that runs a report to print out some of the form's data. If the user wants to email that same data, after the print job is completed, the form updates a table with the output file name created by running the report. Here's where my problem comes in... I'm trying to create an event driven alert, but I get the below error when I go to save:
    Event Table : REPORT_HDRS
    ORACLE ID : APPS
    The listed ORACLE ID is missing the event table or does not have the correct privileges to Application Object Library or Oracle Alert objects.
    Please verify that the event table exists, or re-register the ORACLE ID with Application Object Library as necessary. Then re-enable (or disable)
    the event alert as desired.
    If the ORACLE ID is for a shared installation of an application, it may be normal for the event table to not be present.
    Any ideas as to what I'm missing would be greatly appreciated.

    Hi,
    Please see these threads.
    Alerts -- Can we create Alerts on custom table under Custom Application?
    Re: Alerts -- Can we create Alerts on custom table under Custom Application?
    Table used in Event Alert
    Re: Table used in Event Alert
    Problem with Custom Table Registration
    Re: Problem with Custom Table Registration
    Thanks,
    Hussein

  • Replicate Custom Table from CRM to ECC

    I have a custom table in CRM and I have to transfer the values of the custom table to ECC.I have BADI  which inserts the values into the custom table in CRM. What should i do to replicate the values in a Custom table in ECC.The tables are of same structure.

    Hi
    Please reffer the C71 : CRM Connectivity document in Best Practices. It will gives you the perfect information for you.
    Please follow the following link to find the same.
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    Technical Information>Building Block Library> C71 : CRM Connectivity>Configuration guide.
    Generally: You have to enhance the BAPIMTCS structure which is exchanged between CRM and R/3, and the functionality mapping the BDoc to this structure in CRM and in R/3 the functionality of saving the BAPIMTCS structure to the DB.
    You should use the Transaction Business Events, see also tables TBE24, TPS34 and you can search for the SMOUTIL2 or SMOUTIL3 functionality esp in the CRM system.
    Have a look at note 417906 with some information on used functions.
    Reward with points if helpful
    Cheers
    Manohar

  • Declare Types using a custom table

    Hi,
    I am creating a new structure in my program in ABAP Editor. The fields of this table will be all the fields in a custom table plus an additional field which is not a part of this table. The table has some 150 fields so I need to include it in my structure. I am using it in this way but its giving error:
    TYPES: BEGIN OF t_struct,
                 INCLUDE TYPE zcustom_table,
                 zzfield      TYPE c,
                 END OF t_struct.
    This structure is getting created but giving an error when I am creating a table of this type as:
    DATA : i_tab  TYPE STANDARD TABLE OF t_struct WITH HEADER LINE.
    Please suggest me how can get rid if this error.
    Thanks,
    Abhishek

    Hi,
    the syntax you declared is wrong,
    check the below code , it will solve your problem
    TYPES: BEGIN OF t_struct.
    INCLUDE TYPE zcustom_table.
    types : zzfield TYPE c.
    types : END OF t_struct.
    DATA : i_tab TYPE STANDARD TABLE OF t_struct WITH HEADER LINE.
    regards
    prasanth

  • BADI/User Exit for custom table update from Delivery

    Hi
    Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
    Thanks in Advance for your immediate help .

    Hi Joseph,
    See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
    I hope this helps you
    Regards
    Eduardo

  • My Custom repositories are not visible under content tab of ACC

    Hi,
    My Custom repositories are not visible under content tab of ACC ,eventhough i had appended my custom repository in /atg/registry/ContentRepositories.properties to the property
    initialRepositories+=/myCustomRepository.PLEASE HELP ME.

    Kindly make sure,
    initialRepositories+=/com/training/club/tools/myCustomRepository
    I assume you have config/com/training/club/tools/myCustomRepository.properties component. /com/training/club/tools/ is your path of component from config.
    -RMisihra

  • Use of SOURCE OF SUPPLY table under the SOURCE OF SUPPLY/SERVICE AGENTS tab

    Hi,
    We are on SRM 7.1.
    Can someone please explain me the use of the SOURCE OF SUPPLY table under the SOURCE OF SUPPLY/SERVICE AGENTS tab in the shopping cart screen?
    I can see the following columns in the SOURCE OF SUPPLY table under the SOURCE OF SUPPLY/SERVICE AGENTS tab:
    Supplier number
    Supplier name
    Priority description
    Item
    Currency
    Supplier Product number

    Hi,
    There  are many  ways assign a source during shopping cart creation.
    1.  Free Text Shopping cart
    During creation of shopping cart after entering the description ,qty price . go to source of supply tab--enter the source
    and save the shopping cart.  Once the shopping cart is approved .PO is created for the vendor what you assigned.
    2.During the creation of shopping cart using  MDM catalog ,the source is assigned in the MDM catalog  no need to assign
    Once the shopping cart is approved .PO is created for the vendor that is coming from the MDM catalog.
    Regards
    G.Ganesh Kumar

  • Need MIGO BAdi to update custom table

    Hi Experts,
       I have to update a custom table after the GR is successful against PO in MIGO transaction.
    Which BADI will be suitable to this. Or is there any other way to do this?
    Thanks and regards,
    Venkat.N.

    Hi,
    You can use the badi MB_DOCUMENT_BADI and method MB_DOCUMENT_UPDATE.
    Regards,
    Nagaraj

  • User exit/BADI for updating custom table in MB1B transaction-

    Dear All,
    When performing a material to material conversion in MB1B transaction for  batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
    The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
    Kindly suggest a user exit/BAIi available for updating the same in the custom table.
    Regards,
    Deepak

    Deepak, Exits for MB1B are
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.

  • JTable: Custom Table Model (pI)

    This is a follow-up to thread http://forum.java.sun.com/thread.jspa?threadID=725162 and thread http://forum.java.sun.com/thread.jspa?threadID=725158.
    As I'm hoping to have a table of 5 columns, where the 4th and 5th columns are for integer and float data types respectively, I am creating a custom table model under the assumption that I will not know beforehand the number of rows the table will contain.
    Problems? Having not specified the cell contents of the table, since it will be pupulated by users unknown to me, I did not declare or initialize a variable similar to TableDemo's data variable of type Object (see the TableDemo tutorial http://java.sun.com/docs/books/tutorial/uiswing/components/example-swing/TableDemo.java). As such, I am unable to specify the return parameters for the getRowCount() and getValueAt(~, ~) methods.
    To overcome this, I sought to replicate the example shown in TableDemo by doing the following:
    Object[][] cell = {"", "", "", new Integer(0), new Float(0.00f)};
    public int getRowCount()
      returncell.length;
    public Object getValueAt(int row, int column)
      return cell[row][column];
    //...I got the following errors:
    pathname\CustomTableModel.java:line #: incompatible types
    found: java.lang.String
    required: java.lang.Object[]
    and the errors continue...
    So I tried
    Object[] cell = {"", "", "", new Integer(0), new Float(0.00f)};
    // ...However, I got this error:
    C:\...\CustomTableModel.java:line #:array required, but java.lang.String found
    return cell[row][column];
    .......................... ^
    I just want to set the return parameters for getRowCount() and getValueAt(~,~) in the custom table model I'm creating. How do I do this?
    Cheers!
    PS Thanks for reading this far...

    I decided to use the DefaultTableModel, after all. I was using it before, but at the time, i didn't know that certain things I wanted to accomplish, it could too.
    Anyways, here's what I have been doing: http://forum.java.sun.com/thread.jspa?threadID=725861
    Thanks nonetheless for your help. And by the way, my client is adamant that I use a LinkedList, rather than a Vector for this project. But nevertheless, thanks.

  • Custom table needs to be updated based on changes in Info type P0000

    Hi All,
       I have a requirement wherein when we make changes to info type P0000 this should be reflected to a custom table.
    If i create a new record, delete an existing record or make changes to a record in INFOTYPE P0000 this should also be reflected in my custom table.
       My custom table has 5 fields from info type p0000 and some custom fieds.
       please can you let me know exactly which user exit to use to acchieve the solution. and where exactly i can put the logic.
    Thanks,
    Mars

    Hi Venkat,
      I tried to code in the method AFTER_INPUT and executed but there are few thing which i have come across.
    1. when ever i create a new record in PA40 and each time i save the screens of PA40 this method is called and based on check it tries to update the table taht many times.
    2. The logic which i have used in the BADI implementations is as below:
      DATA: l_text TYPE string,
                 l_answer TYPE string,
                 lw_split TYPE XXXX.  (custom table)
      IF old_innnn NE new_innnn.
        lw_split-mandt = sy-mandt.
        lw_split-pernr = new_innnn-pernr.
        lw_split-begda = new_innnn-begda.
        lw_split-endda = new_innnn-endda.
        l_text = 'Does this employee need a split STIP?'.
            Display a pop up message to the user.
        CALL FUNCTION 'POPUP_TO_CONFIRM'
          EXPORTING
            titlebar                    = 'Choose'
            text_question               = l_text
            text_button_1               = 'Yes'
            text_button_2               = 'No'
            default_button              = '1'
            display_cancel_button       = space
         IMPORTING
            answer                      = l_answer
         EXCEPTIONS
            text_not_found              = 1
            OTHERS                      = 2.
        IF sy-subrc EQ 0.
          IF l_answer EQ '1'.
            lw_split-stflg = 'Yes'.
          ELSE.
            lw_split-stflg = 'No'.
          ENDIF.
        ENDIF.
        MODIFY TABLE  XXXX FROM lw_split.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      ENDIF.
    3. when i try to activate this chunk of code it gives me error  saying "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    4 I have also tried to use the modify statement in IN_UPDATE instead of updating custom table in same method but its giving me same error "XXXX" is unknown. i tried to declare it under TABLES but in Vain.
    can you let me know your view on this. The above chunk of code is in case of creating a new record in P0000 info type.
    Thanks,
    Mars
    Edited by: Mars878 on Oct 13, 2009 9:18 AM

Maybe you are looking for

  • 7th gen iPod Nano not recognized with Windows 8

    I am running Win8 and am having trouble getting my 7th gen Nano to be recognized either as a device on my PC or in iTunes. Is the Nano compatible with Win8? I have worked thru many of the troubleshooting guides and Apple support pages. Have the most

  • Create alv report

    hi friends, i have urgent reqirement pls help on this topic ·     Created an ALV report that displays Purchase document details in hierarchical manner using predefined function modules. thanks ravi

  • E-Mail Apps for Mac

    I am trying to determine which e-mail platforms work in Mac OS 10.9.1 other than Yahoo and G-Mail.  I wanted to open an Outlook e-mail account for e-mails that I want to be able to track by read receipts and delivery reports but it appears that Outlo

  • Plug-ins Needed for SMP Target Users

    No Strobe Media Playback plug-ins are available to the SMP target audience. The Introducing Strobe Media Playback presentation says: Our target audience for Strobe Media Playback and Flash Media Playback are designers, content owners, enterprises, an

  • Fuzzy logic controller for DC motor

    Hello guys! Can anyone help me out in giving inputs to fuzzy controller which has two input member function Error and Change in error. Is there any tool which can store the previous error and compare it with present error which gives the chane in err