Added new fields in vendor master in xk01 but data is not getting saved

Hi experts,
To add new fields in vendor master i have followed the following steps :
1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
4.) Created a program with my own subscreen for the required fields
The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
database table LFA1.
Request your help in this regard.
Thanks in Advance.

Hi,
You may need to check this include .
EXIT_SAPMM06E_008  -->Import Data from Customer Subscreen for Purchasing Document
Thanks,
vamshi

Similar Messages

  • Need exit to add new fields for Vendor master creation

    Hi All,
            I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me
    any screen exit / user exit through which I can add these fields.
           Please explain the procedure to add the fields through exit.This will be of great help.
    Thanks
    Vinod.

    run the following program which ggives available exits for tcode
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            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:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Adding new field to Customer master sales data area sales tab

    Hello everyone,
    I am new to module pool so seeking some help from experts here.
    I have a requirement were in I have to add a new field to the customer master (VB02) sales area data sales tab.
    I found that there is no screen exit.Is there any other way of doing it?
    could you please provide me with a step by step procedure of doing it.
    With Regards,
    Karishma.

    Hi,
    How did you look for screen exit? Have you also tried it in BADI? 'Coz normally, adding custom fields to a standard screen has to be implemented in exits.
    I haven't worked with VB* screens yet so I can not give you a some possible exits. But you can do some debugging. I think there's an available code in the net that searches for exits/screen exit (ask Mr.Google). You can also ask him how to search BADI in debugging mode. I remember it's TCode SE24 then look for cl_exithandler class, get_instance method. Then look for exit_name variable.
    Hope this helps.

  • Activation of new fields in Vendor Master

    Hi Experts,
    Fields "Acct clk tlf", "Clerk's fax" and "Clrk's internet" are made available (activated)  for editing in Vendor Master - maintained at company code level in Correspondane tab.
    Would like to know whether availability of this fields will affaect the existing solution. What are the testing scenarios that need to be tested for this change?
    Kindly assist.
    Brgds

    Hi,
    I was wondering, can we use the fax and email on this tab "clerk at vendor" on vendor master to send a payment advice? Or rather, we are having an issue whereby, the address to send the PO to the vendor and vendor address to send the remittance advice is different. Hence, when the PO team is sending a PO to the vendor via email, they ensure that the address is what they need, when the AP team is sending the remittance advice, they have to change the address again to what they need because if they don't, the advice will be sent to the PO vendor address which is different.
    DO you have any insight on how we can solve this problem?
    Your help is highly appreciated.
    Thanks

  • Contract custom fields header data is not getting Saved(SRM7.02)

    Hi Experts,
    I have created a custom tab on the Header screen of SRM contract and that tab has 10 custom fields..Also, meta data custom fields properly binded to the custom webdynpro screen..But the problem here is when the data is filled on the custom tab screen and press SAVE button, after reopening the contract the custom field values are getting disappered. Version SRM7.02
    Thanks for quick response..
    Thanks,
    Krishna.

    Hi Experts,
    Please reply
    Thanks,
    Krishna.

  • Custom field in Vendor Master - track field changes

    Hi Experts,
    I have a requirement to enhance vendor master (XK01) by adding custom fields. I did this, but now the customer needs to track changes made to this field. He expects to see the changes made to this custom field using menu path 'Environment -> Field Changes' from vendor master transactions (XK01, XK02, XK03). I have enabled the track changes in the data element, so that field changes can be tracked in CDPOS, but that is not enough. Please help to find solution. Thanks.
    Regards
    Arun

    Hi Brad,
    I added the new fields to vendor master using the SPRO option:
    'Prepare Modification-Free enhancement of Vendor Master Record' in the following path:
    Logistics-General -> Business Partner -> Vendors -> Control -> Adoption of customer's own master data fields. This created a button on vendor master, and my field is in a pop up box which is generated on click of this button.
    This field is stored in LFM2 table.
    I have enabled the change flag in the data element of the custom field, and it is showning the field changes in CDPOS table.
    But the problem I face is how I can avoid going to the CDPOS table and instead use the menu option :
    'Environment -> Field Changes'
    Regards
    Arun

  • Add additional field in Vendor master data for VAT Reg. No.?

    Add additional field in Vendor master data for VAT Reg. No.?
    Hi I need to add one additional field for other VAT Reg. number in vendor master data FK01, We currently have two field
    Current Settings:
    Country : LFAS-LAND1
    VAT registration no.: LFAS-STCEG
    I need to add one additional field for text information. Is this possible?
    Thanks you very much
    Luis G.

    If you want to add new fields that are not possible from config (check with your consultant) you need to implement BADIs
    In SPRO, go to:
    >Logistics-General
    ->Business Partner
    -->Vendors
    --->Control
    >Adoption of Cusomter's Own Master Data Fields
    and read the documentation provided there.
    You will need to implement following BAPIs
    Processing Master Data Enhancements: VENDOR_ADD_DATA
    Customer Subscreens: VENDOR_ADD_DATA_CS
    I am not aware of any other way to add new fields to Vendor master (however, check with your consultant for config related screen modifications)
    Should you need any further info to implement it, post back (read it thoroughly first, it's quite self-explanatory).
    regards,
    Aabhas

  • Added new field to ALV but not  displaying the ouput

    Hi guys,
    I'm adding one more column to be displayed on an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA : BEGIN OF itab OCCURS 0,
      matnr LIKE eina-matnr,
      extwg LIKE mara-extw,
      matkl LIKE mara-matkl,
      mtart LIKE mara-mtart,
      maktx LIKE makt-maktx,
      lifnr LIKE eina-lifnr,
      wglif LIKE eina-wglif,
    <span style="color:red">idnlf like eina-idnlf,          " <----
    new field</span>
      name1 LIKE lfa1-name1,
      profl LIKE mara-profl,
    END OF itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-cprog
          i_internal_tabname     = 'ITAB'
          i_client_never_display = ''
          i_inclname             = sy-cprog
         i_bypassing_buffer     = 'X'
        CHANGING
          ct_fieldcat            = t_cat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    I've added in a new field inside the ITAB internal table, but it wouldn't appear in the t_cat, only all the old fields will appear. What have i done wrong?

    Hi
      Facing similar kind of issue.. added one field to the existing internal table. This is not getting populted by the field catalog merge FM. Tried with the suggested solution also of running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off  and logging in..
    But the newly added field is not getting populated. Any suggestions would be of great help.
    Regards,
    sridevi S

  • Withholding tax fields in Vendor master is not avbl to config as sensitive

    Hi,
    I need to configure, fields in Withholding tax accounting as sensitive fields in Vendor Master.
    Table reference for Withholding tax is LFBW.
    But the fields from this table are not avbl for configuring in SPRO.
    It gives an error message as: This field is not allowed.
    Is there any other method to add the required fields from LFBW table to configure them as sensitive fields.
    Or adding the fields as sensitive is restricted for few fields only.
    Pls do the needful.
    Regards,
    Radha

    Hi Radha,
    I finally found development we did for a customer. Below you can find sampler code. You can use exit ZXF05U01.
        FIELD-SYMBOLS : <FIELD_VALUE> TYPE ANY.
        DATA : SENSITIVE_FIELD(30).
        FIELD-SYMBOLS : <FIELD_VALUE2> TYPE ANY.
        DATA : SENSITIVE_FIELD2(30).
        TABLES : T055F .
        IF LN_LFM1 NE I_LFM1.
          REFRESH KRITAB.
          SELECT * FROM T055F WHERE KOART = 'K' AND
                                    FELDN LIKE 'LFM1%'
            SPLIT T055F-FELDN AT '-' INTO KRITAB-TABNAME KRITAB-FNAME.
            APPEND KRITAB.
          ENDSELECT.
          LOOP AT KRITAB .
            CONCATENATE 'LN_LFM1' '-' KRITAB-FNAME
            INTO SENSITIVE_FIELD.
            CONCATENATE 'I_LFM1' '-' KRITAB-FNAME
            INTO SENSITIVE_FIELD2.
            ASSIGN (SENSITIVE_FIELD)  TO <FIELD_VALUE>.
            ASSIGN (SENSITIVE_FIELD2) TO <FIELD_VALUE2>.
            IF <FIELD_VALUE> NE <FIELD_VALUE2>.
              <FS_LFA1>-CONFS = '1'.
              IF SY-TCODE = 'XK01' AND <FS_XASEG> = ' '.
                DATA : LFM1CONFS(1) TYPE C .
                EXPORT LFM1CONFS LFM1CONFS2 FROM '1' TO MEMORY ID
          'LFM1CONFS'.
                UPDATE LFA1 SET CONFS = '1'
                                UPTIM = SY-UZEIT
                                UPDAT = SY-DATUM
                          WHERE LIFNR = <FS_LFA1>-LIFNR .

  • Solved - Group Fields for Vendor Master Records in IMG

    This was the solution.
    The new field's data element I added to LFB1 did not have the "change document" field checked.  I made that change and now that field shows up in IMG.
    Hello all,
    I added an append structure to the table LFB1.  This structure has 1 field.  I then created a "Modification-Free Enhancement of Vendor Master Record" to add the new LFB1 field to the vendor master screen, edit and display screens.  This is the 3rd time I have done this.  So far so good.
    Now our functional analyst went into IMG to add this new LFB1 field to a "Group Fields for Vendor Master Records" which we have done 2 other times.
    The new LFB1 field does not show up in the list of possible Table-fields.  
    There must be some other step I am missing.
    Does any of this ring a bell?  We are on version 4.7.
    Thanks
    Bruce
    p.s.
    This is the IMG path for adding 'Field Groups' to vendor master fields.
    Financial Accounting/
    Accounts Receivable and Accounts Payable/
    Vendor Accounts/
    Master Data/
    Preparations for Creating Vendor Master Data/
    Group Fields for Vendor Master Records
    Edited by: Bruce Tjosvold on Nov 21, 2008 1:18 PM

    Hi Vandana,
      There are several tables that are contain Vendor Master related data which can be used for extraction to BW. Some of the tables which can be useful for you are:
    LFA1 :  Vendor Master (General Section)
    LFM1 :  Vendor master record purchasing organization data
    LFBW : Vendor master record (withholding tax types) X
    WYT3 :  Partner Functions
    LFBK : Vendor Master (Bank Details)
    LFB1:  Vendor Master (Company Code)
    ADRC: Addresses (Business Address Services)
    ADR3: Fax Numbers (Business Address Services)
    ADR6: SMTP Numbers (Business Address Services)
    ADRT: Communication Data Text (Business Address Services)
    You may use the Data sources mentioned in the previous update from Venky above namely :
    0VENDOR_ATTR --- for master data attributes
    0VENDOR_TEXTS -- For texts
    Since the fields that you are using are from different tables so its better if you go for a Generic Data source where you can use the fields as per your requirement.
    Thanks
    Pawan
    Edited by: pawan190187 on Aug 19, 2011 12:40 PM

  • Why I cannot input Recon. acount when I create vendor master in XK01

    The field of Recon. acount is greyed out when I create vendor master in XK01. Can any expert help?
    BR, Eda

    Hi Eda,
               in the vendor account group, the field selection is guided by three different config.
    The path is IMG>Financial Accounting(New)>Accounts Receivable and Accounts Payable>Vendor Accounts>Master Data-->Preparations for Creating Vendor Master Data........
    1  Define Account Groups with Screen Layout (Vendors)
    2  Define Screen Layout per Company Code (Vendors)
    3  Define Screen Layout per Activity (Vendors).
    Please check at the given following 3 places, in any one of them it must be defined in the display mode.
    Hope it helps.
    Regards,
    Yawar Khan
    Edited by: 1234_abcd on Jun 10, 2011 7:33 AM

  • Addition of a field in vendor master table at company code level

    Hi Champs,
    My requirement is to add a field in LFB1 table.
    I have added the field in the table using append structure, that was fine.
    I need to add the same for input/output on the screen 215 of program SAPMF02K (for the screen of Payment transaction Accounting at company code level).
    As far as I know there are only screen enhancements for Vendor master(no screen exits). The screen enhacements are  "Prepare Modification-Free Enhancement in Vendor Master Record". But using that i need to create a subscreen, but in my requirement I need to add the field on the same screen.
    Is there any solution for that???
    Please let me know if my doubt is not clear.
    Regards,
    Nishant

    Hi Krish,
    I am not able to find the screen exit for my requirement.There is only screen enhancement for Vendor master.If you have any idea of the same pls let me know.
    I am ok with the solution that i need to change in the standard screen using access key,  but do i need to code anything in the PAI or PBO of the screen or it will be taken care automatically. Details of the program and screen is already given.
    Thanks
    Reagrds,
    Nishant

  • I want IDOC for Vendor master updation ( XK01 &XK02 )

    Hi
    I want to do LSMW in IDOC method for this vendor updation.
    So I want IDOC for Vendor master updation ( XK01 & XK02 ).
    I want to do both create vendor and change also.
    Regards,
    Ravi
    Edited by: kandukuri ravi on Dec 1, 2008 2:56 PM

    Hi,
        For Vendor Master using IDoc's for LSMW,Use Message Type = CREMAS and Basic Type = CREMAS05.
    For Basic type 01,02,03...05 are versions which includes more fields in basic type so better use latest version.
    Hope it will help you.
    Regards,
    Sudhakar Reddy.A

  • Creating additional screen field in Vendor Master at Company Code Level

    Hi All,
    I have to add some custom fields in Vendor master at Company Code Level.I have alraedy implemented a BAPI suggested by the system to add additional fields.
    A  new Button is coming after implementing the BAPI , which gives me a space to add new custom fields , which i have appended at LFA1.
    My problem is that , the new Button is visible at each screen, i.e Button is coming at Address tab, Control tab, all screen correspond to company code and all tab correspond to purchasing.
    While i want that Button should only be visible at screens correspond to company code.
    Please suggest how to acheive the same.
    Regards,
    Subhash

    Hello Karidhal Subhash -
       I'm facing a similar problem. I've got my BADI working properly with the exception of...
    I only want my custom button to appear if they've input a Company code on the selection screen. Did you find a way to solve this problem?
    regards.

  • Added new field to cube but data not passed from DSO

    Hope someone can help.
    (BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?

    hi peter,
    Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
    I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
    Regards,
    Frank

Maybe you are looking for