KSB1  extra column or user exit to add extra fiel on report.

Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
Rendani

Hi,
Please search for OSS note in market place.
I have worked on it, but I donot remember the OSS note number.
Thanks,
Sriram Ponna.

Similar Messages

  • Need user exit to add body text in mail while saving the transaction VF02

    Hi All,
       Output type has been configured as external send(5) to trigger billing document as PDF. There is a requirment to add body text in the  mail along with pdf attachement. Funtional consultant has tried using NACE "Mail title and Text" but that doesn't worked out. As a abaper, we are trying to identfy the user exit where I can code the body of mail text.
    Can any body please let us know the user exit to add the body text only?
    Regards,
    Suresh Kumar.

    Hi,
    In your driver program you will have one standard include RVADOPFO.
    Copy all the code available in that include and make it to Z include.
    In this include function module ADDR_GET_NEXT_COMM_TYPE, will have the email address, subject etc.. details.
    So You can modify the contents of the imported parameters here.
    The above code will trigger only when update debugging is switched on!!!!!
    Regards,
    Santhosh.

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • MB21 user exit or add in

    Hi
    There is an user exit or add in  that validates the information field "good recipient" in the transaction MB21 to the vendor table LFA1?
    Thanks and regards.
    Edited by: buck485821 on Sep 7, 2010 8:45 PM
    Edited by: buck485821 on Sep 7, 2010 8:46 PM

    Hello,
    You could review MB_RESERVATION_BADI.
    Regards
    Waza

  • User Exit to add user-defined selection critieria onto VL10G

    Does anyone know how to add user-defined selection criteria onto <b>VL10G</b> - Sales and purchase order display screen? OSS note <b>524424</b> states the userexit to transfer user-defined selection criteria from the selection screen to the report but no information on how to add the selection criteria on the screen. Is that something can be done through configuration or user-exit?
    Any advice or sample is greatly appreciated.

    I was in a hurry, I forgot to add, the user role specific selection screen assignment to VL10G is done at "delivery scenario" level
    The delivery scenarios that are predefined in the system can be found under Logistics Execution -> Outbound Process -> Goods Issue for Outbound Delivery -> Outbound Delivery -> Create -> Collective Processing of Documents for Shipment.
    You can make the following settings in a delivery scenario:
    <b>Selection screen</b>
    You can use the selection screen parameters to define the appearance of the selection screen used to select the delivery list.
    There are three combinations of selection parameters available that each include a different number of tabs.
    A long selection screen with no tabs
    A selection screen with three tabs
    A selection screen with six tabs
    The selection criteria is the same on all three screens in the standard system, it is simply arranged differently.
    This parameter also triggers scheduling of the report for processing the delivery list, with the same three available tab options.
    Customer enhancements are also possible in the LV50R_PREFZ1 program, which should be triggered from a delivery scenario.
    <b>User role</b>
    In the standard system, a predefined user role is assigned to each delivery scenario. If necessary, you can copy these user roles into your own user roles, make changes as required, and then assign them to a delivery scenario of your choice.
    If the user role assignment for a delivery scenario is changed in Customizing, the new settings are valid for all users that carry out this delivery scenario.

  • User Exit to add line item in Purchase Order

    Hi SAP Gurus,
    Can any body tell me which user exit is used to add the line items in Purchase Order. I want to link the Packaging material (material type - VERP) to the header material (Material type - FERT) in PO for order type NB or UB. Because our requirement is what, when we enter the finished material in PO then packaging material linked with that finished material should automatically comes into PO as a line item.
    Please help me for the same.
    Thanks in Advance.
    Regards,
    Sujay

    Hi,
    You can use Function Module for this requirement.
    BAPI_PO_GETDETAIL1
    Bye,
    Muralidhara

  • LT04 - User exit to add storage type and storage bin

    Hi!
    I am looking for a user exit to populate the destination storage type and storage bin (Fields-LTAP-nltyp and LTAP-NLPLA). The user uses tcode LT04 to createt transfer orders from transfer requirements.
    The program name is SAPML03T.
    Please let me know if anyone has any clue.
    Thanks in advance,
    Manasa
    Message was edited by:
            manasa

    I don't the exact User-Exit...And there are like 104 of them...So why don't you use this report (Not mine) and find out yourself -:)
    REPORT zdummy_atg_2.
    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.
    Greetings,
    Blag.

  • User exit to add header pricing condition in sales order

    Hi experts,
    I have an urgent requirement in VA01/VA02 to automatically add a header pricing condition and rate (Kanban charges) for a certain type of Sales order (Kanban Sales order). Does anyone know what user exit I can use for this requirement? Also, the additional header pricing condition should be included in the net value for the item.
    Thanks!

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • User exit for add partner in delivery document when execute then tx-vl06

    Hi,
    I try to add new partners in delivery document when I execute the transaction vl06. For this, I use the user exit MV50AFZ1 where I implement the code that add new registers in table XVBPA. This solution doesn't work because it doesn't add new partners in delivery document.
         CLEAR XVBPA.
         XVBPA-MANDT = '010'.
         XVBPA-VBELN = LIKP-VBELN.
         XVBPA-POSNR = '000000'.
         XVBPA-PARVW = 'ZC'.
         XVBPA-PERNR = '00000045'.
         XVBPA-ADRNR = '0000000000'.
         XVBPA-LAND1 = 'ES'.
         XVBPA-ADRDA = 'D'.
         APPEND XVBPA.
         CLEAR XVBPA.
         XVBPA-MANDT = '010'.
         XVBPA-VBELN = LIKP-VBELN.
         XVBPA-POSNR = '000000'.
         XVBPA-PARVW = 'SP'.
         XVBPA-LIFNR = '0000000491'.
         XVBPA-ADRNR = '0000083037'.
         XVBPA-LAND1 = 'ES'.
         XVBPA-ADRDA = 'D'.
         APPEND XVBPA.
    Please, anybody knows others solutions.
    Thanks for your help.
    Xevi G.

    Hi Ram Ki,
    It doesn't work. When I execute the transaction vl06g, the flow doesn't pass for this user exit.
    Thanks for your comment.
    XeviG.

  • User Exit to add custom field in Component Screen

    Hi Friends,
    I searched alot but could find exit to add custom field or tab in material component detail screen for SAP 4.7. Please let me know if there is any exit  or workaround possible.
    Thanks,
    Raj

    BADI is available to create custom field in material component , but it is available as of ECC 6.0 EHP3 , not sure about 4.7

  • User Exit for For Variable G_Set_Formula_Exit on Report Writer

    Hi SAP Experts,
    I want to create user exit for formula variable for Cost Center Group with alphanumeric type ( like 1KOSET- but 1KOSET is a set variable). I will use it as one of my row formula in report writer.
    There is one alphanumeric user exit example, which is Controlling Area (#S010) in GS13. SAP message said that I can create other alphanumeric user exit by using user exit G_Set_Formula_Exit.
    Can someone advice on how to implement this user exit?
    Your advice on this issue is highly appreciated.
    Thanks,
    CW

    Hello Ce Wie,
    Were you able to implement G_SET_FORMULA_EXIT? I am also very interested on this issue.
    Thanks!
    Josep

  • What user exit can add / delete lines on a sales order?

    Hi experts -
    We are going to be using a 3rd party to give us pricing, so we need to make a call for each line item to get prices.  This may give us free goods, so we will need to add / remove lines from a sales order.
    Any ideas what exit will allow us to do this?
    Thanks,
    Mark

    Hi,
    Try BAPI:
    BAPI_SALESORDER_CHANGE
    Regards,
    Gilberto Li

  • User exit for RV16ACHD

    Hi,
    Is there any user exit to add extra fields for the output of user  RV16ACHD?
    Thanks,
    Rakesh.

    Hi,
    i think, there is no useexit badi for this report. try to use the implicit enhancement spot in the report if you are using ECC6.0
    For more info about Implicit enhancement spot, see the below link.
    [Enhancement spot in Sdn|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc]
    [Enhancement Spot in help|http://help.sap.com/saphelp_nw70/helpdata/en/91/f1e540f8648431e10000000a1550b0/content.htm]
    Regards,
    Boobalan S

  • Add a new line item in VA01/VA02 using user exits.

    Hi Experts,
    I have a problem regarding adding of line items in VA01/VA02. I was able to add a line item but my problem is, there is no validation for the added line. I want SAP to validate it before posting it to database. I'm using USEREXIT_SAVE_DOCUMENT_PREPARE for this one.
    I also found out from other threads, that adding line items in XVBAP is not advisable since no checking will be done after USEREXIT_SAVE_DOCUMENT_PREPARE.
    I'm thinking if I can use FM DYNP_VALUES_UPDATE on one of the user exits to add a line item in VA01/VA02 and let SAP do the checking and validation. This way, I'm sure that the added line is correct and data integrity will be maintained.
    Do you have any comments/suggestions about this?
    Thanks a lot,
    Arman.

    Hi,
    I am trying to do this as well but I don't get it working...
    I am able to add records to XVBAP, but those never show up in my sales order.
    I have found that I should also add records to XVBEP, XKOMV and XKOMP before it will be working, but when I add something to XVBEP I do get a dump on SAVE.
    I would like to ask people that managed to get this working to post the code as an example here.
    Thanks and best regards,
    Marnix

  • User Exit for Delivery to add Profit Centre

    Hello All,
    I need the User Exit to Add the Profit Centre at Delivery level..!
    I tried in this MV50AFZ1 Form FORM userexit_move_field_to_lips.
    but its not working...
    So please let me know the userexit and the code..!
    Thanks in Advance
    Regards
    Babu

    Hi Prabhu..
    We need to maintain the profit center derivation rule in the delivery or billing document, i.e. if batch no starts as A- Profit center-1000, B -Profit center-2000. We have used some user exit in order and working fine. where as our client is interested to have same in delivery or billing document. The profit center should be determined as per batch no starts and not as maintained in the material master.
    now I did it in Delivery its working fine only in Delivery but its not carrying to Billing
    so please help me out which carries for entire cycle
    my code is like this
    Include MV50AFZ1
    FORM userexit_save_document_prepare.
    LOOP AT xlips.
    IF xlips-charg+0(1) EQ 'D'.
    xlips-prctr = '0000001000'.
    ELSEIF xlips-charg+0(1) EQ 'E'.
    xlips-prctr = '0000001200'.
    ELSEIF xlips-charg+0(1) EQ 'R'.
    xlips-prctr = '0000001300'.
    ELSEIF xlips-charg+0(1) EQ 'M'
    OR xlips-charg+0(1) EQ 'P'
    OR xlips-charg+0(1) EQ 'N'
    OR xlips-charg+0(1) EQ 'U'
    OR xlips-charg+0(1) EQ 'H'
    OR xlips-charg+0(1) EQ 'L'
    OR xlips-charg+0(1) EQ 'S'
    OR xlips-charg+0(1) EQ 'O'
    OR xlips-charg+0(1) EQ 'Y'
    OR xlips-charg+0(1) EQ 'B'
    OR xlips-charg+0(1) EQ 'A'
    OR xlips-charg+0(1) EQ 'I'.
    xlips-prctr = '0000009001'.
    ENDIF.
    XLIPS-UPDKZ = 'U' .
    MODIFY xlips.
    CLEAR xlips.
    ENDLOOP.
    ENDFORM. "USEREXIT_SAVE_DOCUMENT_PREPARE
    Thanks
    Regards
    Babu Aeda

Maybe you are looking for

  • How to filiter in abap report

    Hi Frds I have created abap report ,in selection screen Project,year,period and Company code is given.Now the end user asking me to restrict the output of the report based on company code which we giving in selection screen.. For Example: User1      

  • Gnome session start up programmes

    Running Arch on a Fujitsu Siemens Amilo laptop with 512MB RAM. 2GHz. Athlon proc. -getting a bit long in the tooth..and the laptop Which of these can safely be disabled in Gnome session start up programmes? 1. AT SPI Registry Wrapper 2. Disk Notifica

  • Dont want see default buttons on custom container ?

    Hi Rich, Thanks for your solution, but i dont want to see the icons which are showing bydefault on top of the container... Is it possible to avoid... Can you please let me know. regards jaya

  • Command line for end users

    Hy guys, in order to run the command line below: C:\Program Files\Microsoft SQL Server\100\DTS\Binn\DTEXEC.EXE /F "G:\SHAREDFOLDER\PIPPO.DTSX" Does the user need to have BIDS installed in the local machine? My goal is to allow end user to run package

  • I am unable to sync :( my ipod

    i am unable to sync my ipod