How is BADI  linked to a transaction.

Hi All,
           I want to know how a BADI is linked to the transaction.
I found a BADI WF_BWP_SELECT_FILTER is linked to the transaction SBWP.
The BADI is returing a parameter to the transaction.
My doubt is now i creating a report program .Is it possible to link my report program to the transaction.
Like can i send the parameter to the transaction
Regards

we can transaction code for any executable programs in se93.
inside the program you can call the badi and send parameter
Thanks
Bala Duvvuri

Similar Messages

  • How can i find the exact BADI For a Particular Transaction

    hi ppl,
    How can i find the exact BADI For a Particular Transaction. Is there any Standard transaction or Programs to do this or suggest some other way.

    Use this code:
    *& Report  ZGET_BADI
    REPORT  ZGET_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.
    Regards
    Vinayak

  • URL link to open transaction in NWBC Desktop client

    Hi!
    I am trying to create an URL link to open a transaction in a role that I am using.
    The webpage is shown in a web-chip as a part of FPM page inthe NWBC desktop client.
    I have tried this type of concept: https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
    The problem is that this opens the transaction in the HTML version of NWBC (inside NWBC desktop client).
    However, I would do not want to use the HTML based version of the transaction. I want to use nativ abap transaction inside NWBC Desktop client.
    I am able to open the transaction with a link from a webbrowser with this type of link:
    sap-nwbc://https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
    This link does not open at all from within NWBC....
    How do I achieve opening a transaction via URL from inside the NWBC Desktop client?

    Hi Stefan,
    Same issue i have as well.
    My Understanding is, in NWBC desktop, if you open a non sap (eg: html) page, NWBC becomes an IE Browser.
    That means you are now out of SAP for that tab (with html page) and whenever you try to launch any SAP transaction (using the method from HTML) it will launch in a new window and ask for Login.
    May be Experts like Samuli Kaski & Melinda Ludanyi can put some light on it.
    But, I have one more solution for this which is partially working in my case. May be helpful in you case as well.
    Issue: From some SAP transaction in NWBC (say tab A), you are launching the html page (say tab B) and then want to launch another SAP transaction (Say tab C) from html.
    Solution: Embed the HTML in SAP using HTML Viewer class and launch SAP custom transaction using the interface IF_LSAPI. It will launch it in new tab as a sap transaction with your html page.
    Now if you want to launch the SAP transaction from your html page (Which is embedded in SAP custom transaction) you can use HTML Viewer class Events and you can pass parameters as well. Re use the same interface IF_LSAPI and launch it in new tab
    In my case i am facing problems as the web developer has so many things on java script and they are not working properly. He is working on it and i am hoping it will be fine.
    Regards,
    Nik

  • How to use BRF in Business Transaction?

    Hi Experts,
    In a business transaction, for example there is the field Last name. I need to apply a BRF in order to check if the field is initial or not. Can anyone suggest how can the link between the field in the business transaction and the BRF object be done?
    Thanks a lot in advance
    TM

    Hello
             Please check this [LINK|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30965164-efea-2b10-b7a7-f762d1688b78&overridelayout=true] . It would be helpful to you.
    Thanks
    Viquar Iqbal

  • How do we link a new table to CRMC_OBJECTS?

    RE: CRM4
    I tried to use the BBP_PDIGP table in the CRMC_MAP transaction for UI Structure CRMT_ISALES_BASKETITEM_BBP, but it says that table is not part of CRMC_OBJECTS
    How do we make BBP_PDIGP table part of CRMC_OBJECTS?
    If we can link the BBP_PDIGP table to CRMC_OBJECTS, then I can map MATGROUP from the UI Structure above with CRMC_MAP to SCHEMA_TYPE. 
    Next, we need to map the SCHEMA_TYPE in CRM to the field in ERP that we have the data already.
    Sounds simple enough...but, I don't know how to do the linkages.
    Otherwise, how might we link the field SCHEMA_TYPE found in table BBP_PDIGP to one of the objects already found in the UI Structure CRMT_ISALES_BASKETITEM_BBP - Here's the available list:
    AC_ASSIGN     Settlement Account Assignment (CRM)
    ACCOUNTING     Account assignment
    ACTION     Actions
    ACTIVITY_H     Header data activity
    ACTIVITY_I     Activity Item Data
    APO_I     APO item data
    APPOINTMENT     Dates
    ATTACHMENTS     Attachment set, not BDS!
    BATCH     Batch Properties
    BILLING     Billing data
    BILLPLAN     Billing plan
    CANCEL     Cancellation
    CONDITION_COM     Communication structure condition det.
    CONDITION_H     
    CONDITION_I     
    CONDLINE     
    CONFIG     Configuration data item
    CONFIG_FILTER     Configuration filter item
    CONFIRM     Availability confirmation
    COPY     General copy control
    COUNTER_H     APO Item Data
    COUNTER_I     APO item data
    CREDITVALUES     Open Transaction Credit Values
    CRMD_CASE     CRM Case Management
    CUMULAT_H     Header totals
    CUMULATED_I     Item cumulation values
    CUSTOMER_H     Customer header data
    CUSTOMER_I     Customer item data
    CUSTTAB_H     Table-Like Header Data for Customer
    CUSTTAB_I     Table-Like Item Data for Customer
    DOC_FLOW     Document flow
    DYN_ATTR     Dynamic attributes
    EVENT     Event handler
    FINPROD_I     Financing product data item
    FREIGHTCOST     Shipment costs
    IPM_RCHAR     Rights Characteristics
    IPM_RCTRL_I     Rights Control Data
    LEAD_H     Lead Header Data
    LIMIT     Limit
    LINK     Link Handler
    MESSAGES     Message Handler
    OPPORT_H     Opportunity header data
    ORDER     General order processing
    ORDERADM_H     Administration header
    ORDERADM_I     Administration item
    ORDPRP_I     Connection PPR to transaction item
    ORGMAN     Organizational data
    PARTNER     Partner Set
    PAYPLAN     Payment Schedule
    PRICING     Pricing Data
    PRICING_I     Pricing data und results
    PRIDOC     Pricing document
    PRIDOC_COM     Communication with price determination
    PRODUCT_I     Item product data
    QUALIF     Qualification Requirement Set
    REFOBJ     Service Reference Object
    SALES     Sales data
    SCHEDLIN     Schedule lines
    SCHEDLIN_I     Scheduling lines item view
    SERVICE_H     Service header
    SERVICE_I     Service item
    SERVICE_OS     Service reference object subject
    SERVICEPLAN_I     Service Plan Item
    SHIPPING     Shipping data
    STATUS     Status
    STATUS_H     Header Total Status
    STRUCT_I     Item structure data
    SUBJECT     Service Subject
    SURVEY     Questionnaire
    TAX     Taxes
    TEXTS     Texts
    TOLERANCE     Tolerances

    Hi Mike,
    Will it be possible for you to let me knw how the entries come in table CRMD_LINK...??
    I am not getting the entry  of orgman in this table for item guid.
    Pls help.
    Thanks,
    SA

  • How do we link the central organizational unit and purchase organization i

    hi friends
    How do we link the central organizational unit and purchase organization in SUS configuration? 
    regards
    vinaykrishna

    The workflow process is associated to the transaction you select by parameters in the function call.
    The Responsibility 9e.g. employee self service) is linked to a menu. The menu contains (amongst other things) functions. If the function is associated to a menu prompt, then when the user clicks on the prompt (e.g. Change Job) the function is invoked. When the function is invoked, it calls the workflow described in the function call.
    The function will already (out of the box) point to a workflow process. If you have customised your own process, you will need to amend the function call to call your workflow name.
    Look at the function in question and you will see what I mean.
    Hope that helps explain it!
    Regards
    Tim

  • How to apply BRF in Business Transaction?

    Hi Experts,
    In a business transaction, for example there is the field Last name. I need to apply a BRF in order to check if the field is initial or not. Can anyone suggest how can the link between the field in the business transaction and the BRF object be done?
    Thanks a lot in advance
    TM

    Hello
             Please check this [LINK|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30965164-efea-2b10-b7a7-f762d1688b78&overridelayout=true] . It would be helpful to you.
    Thanks
    Viquar Iqbal

  • How is solman linked to r/3

    pls let me know ....for a E2E implementation project in which sol man is used, how solman is linked to migrate the data and configuration to r/3 landscape that is to development server (r/3 ) ,then to quality and finally to production.
    Basically how will solman help in r/3 configuration

    Hi
    BASIS does all the connections of the Logical sytems - Saying DEV - development server QA - quality - PROD - Production.
    So first you need to create the business blue print first and then assign all the configurations necessary.
    Its not mandatory that transports needs to be maintained from solman, it can be done indpendently also.
    This linkaing is also done by the BASIS only. we have to just click on the configuratuion icon visible for transaction
    these are the transactions used
    SOLAR_PROJECT_ADMIN - Project Administration
    SOLAR01 - Business Blueprint
    SOLAR02 - Configuration
    SMSY - System Landscape
    SCDT_SETUP - Customizing Distribution
    SCOUT - Customizing Scout
    Plese go through the link for more details
    http://help.sap.com/saphelp_smehp1/helpdata/EN/b3/64c33af662c514e10000000a114084/frameset.htm
    Thanks & Regards
    Kishore

  • Bad link

    Bad link while on URL http://otn.oracle.com/products/forms/htdocs/upgrade/content.html
    Trying to view the "Learn how to upgrade your character mode Forms to the Web 123" document
    http://otn.oracle.com/idevelop/online/courses/oln/how_to05.html#l

    This download seems to work fine for me. You can try one of the download managers we recommend in our FAQ: http://otn.oracle.com/contact/htdocs/faqs#software
    Regards,
    OTN

  • How to call a standard sap transaction in workflow

    Dear All,
    I want to know how to call a standard sap transaction inside my workflow , please tell me how to get this done .
    Kind Regards,
    Anshu Kumar

    Hi,
    You can use the FM - ABAP4_CALL_TRANSACTION u2013 Initiates a transaction in a separate window
    inside the method in the BO.
    Implement that BO and the method in the Activity of the WF..!!
    Use the FM like this:-
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
      EXPORTING
        tcode                         = 'ZSCREEN_884' - T-Code
       SKIP_SCREEN                   = ' '
       MODE_VAL                      = 'A'
       UPDATE_VAL                    = 'A'
    EXCEPTIONS
       CALL_TRANSACTION_DENIED       = 1
       TCODE_INVALID                 = 2
       OTHERS                        = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If you do not want to use the FM u can use this Statement:-
    call transaction 'ZSCREEN_884'. - T_CODE
    Check the following links:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/delegationandRedefiningmethodsofbusinessobject+BUS1001
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    Let me know if you still face any issues..!!
    Regards,
    Kanika

  • HT201272 How can i pay my unpaid transaction in the app.store because my credit card was already close and i cant download even the free application ?

    How can i pay my unpaid transaction in the app.store because my credit card was already close and i cant download even the free application ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Direct Links to custom transaction

    Hello,
    in direct links section it's possible to navigate to some transaction category: Task, Opportunity, Call etc.
    How can i define a link to my Z* transaction type?

    Hi, Alexandr.
    Please create logical link with
    parameter = transaction type,
    and parameter class  = CL_CRM_UIU_BT_PARAM_CREATE
    Denis.

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How do i link a flash file to a web site in dreamweaver 8

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks
    ------=_NextPart_000_0059_01C7A541.7942B2A0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16448"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial
    size=3D2>Hi</FONT><FONT face=3DArial =
    size=3D2></FONT></DIV>
    <DIV><FONT size=3D1>
    <P><FONT size=3D3>How do i link a flash file to a
    web site in =
    dreamweaver=20
    8</FONT></P>
    <P> </P>
    <P><FONT face=3DArial =
    size=3D2>Thanks</FONT></P></FONT></DIV></BODY></HTML>
    ------=_NextPart_000_0059_01C7A541.7942B2A0--

    In Flash. There is no way to apply an HTML link to a swf
    file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dave" <[email protected]> wrote in message
    news:f3s8f0$cla$[email protected]..
    Hi
    How do i link a flash file to a web site in dreamweaver 8
    Thanks

  • How to cancel an order if transaction not complete

    How to cancel an order if transaction not complete

    Presuming you're referring to a purchase from the iTunes Store, go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. Refunds are not guaranteed, but iTunes support should be able to help you in one way or another.
    Regards.

Maybe you are looking for

  • Pdf default viewer

    How do I change my default viewer from Preview to Adobe Acrobat Pro 9? I do not like preview and I am used to Adobe.

  • Windows 7 is not Genuine MIGR-75177

    I am getting the dreaded  message that your version of Windows 7 is not genuine. I walked through the Lenovo support document and have talked to people at Microsoft and Lenovo for the last 5 hours. They are telling me I need to install a fresh versio

  • PSE 8.0 Will Not Open (Including Editor and Organizer)

    I have been using PSE 8.0 for three or four years now, and I have never experienced any problems with it. Today, after installed a Wacom Intuos Creative Pen Tablet, my PSE 8.0 would not open-- nor would Editor and Organizer. I tried uninstalling and

  • [CS3] Getting object style used by a page item

    If I have a UIDRef of a multi-column text frame, how can I get the object style applied to it? It looks like there was a thread on this previously but it seems to have been pruned from the list. Thanks.

  • Macbook pro 13" no sound..

    Hey all, I have some strange issues with my macbook pro. Sometimes, it just stops sound output. I have to restart the whole thing to get sound back again. But this is quite annoying and it happens occasionally. Does anyone has a solution to this prob