Restricting Customer Master Screen Enhancement depending on Account Group

Hello Techies,
I have added a new tab to receive an information (RDC) which will be saved in a new field of KNVV table.
This was done implementing particular interfaces of BADIs CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS.
I now want this button to be visible only when a particular account group is selected during creation (XD01) or when changes are made to a customer having that particular AG.
The information about the AG stored in the KTOKD field of the table KNA1.
But I am not very sure how to restrict this button on the basis of that.
Any helpful suggestions?
P.S. Please let me know if this question requires re-categorization.

Hi Juan,
I am able to assign the content of the table GT_SCGR_ACTIVE to a field symbol. And to check the account group, I am checking the selection parameter value (SAPMF02D)S_KTOKD.
So far so good, but there is another problem. I am not able to access the 'USED' field of the table stored in the field symbol.
FIELD-SYMBOLS: <fs_xvbap> TYPE ANY.
LF_TEXT = '(SAPMF02D)GT_SCGR_ACTIVE[]'.
ASSIGN (LF_TEXT) TO <FS_XVBAP>.
IF SY-SUBRC EQ 0.
       IF '(SAPMF02D)S_KTOKD' EQ '5001' OR '(SAPMF02D)S_KTOKD' EQ '5002'.
         <FS_XVBAP>-USED = ''.
       ENDIF.
This gives error saying it is not a structure therefore no such component.
Any suggestions?

Similar Messages

  • Customer Master Screen Enhancement XD02 / XD03 / XD01 in sales area data

    Hi,
    My requirement is to add custom fields for customer master enhancement XD01/ XD02 / XD03 in sales area data.
    There are 5 tabs in sales area data. I want to add fields in sales tab after subscreen Agency business.
    subscreen similar to Agency Business should be added.
    I tried to create Screen group in SPRO and implemented BADI as explained in link below, even then my custom program is not displayed in customer master
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=77005819
    Please help.

    Hi,
    Please don't mind but I want to know have you activated the implementation?
    regards,
    Sarbajit

  • Customer Master : Screen Enhancement

    Hi Friends,
    <b>Requirement :</b> Need to add a <b>custom display</b> field(zzind_grp) in Customer Master.
    <b>1.</b> TAB : "Marketing" and the same field(zzind_grp)
              should be appended to KNA1 which is done.
    <b>2.</b> Valid combination of Industry code(BRAN1) and zzind_grp is maintained in a custom table.
    <b>3.</b> When user changes the existing Industry code then Industry Group also should be changed and saved in KNA1.
    <b>WHAT ALL I TRIED :</b>
    I'm using following BADI to achieve the same -
    A. CUSTOMER_ADD_DATA_CS
    B. CUSTOMER_ADD_DATA
    This BADI is not meant to add the custom field in standard tab ( which is my exact requirement).
    But using this i'm getting an additional button in the tool bar and when i click on this button i get a set of tab and i'm populating my custom field in one of the tab.
    <b>PROBLEM :</b>
    When i change the industry code (KNA1-BRAN1:standard field) and then i click on the additional button at tool bar then value for the custom fields getting changed ( based on custom table maintained ) BUT when i change the value of standard field BRAN1 and click on SAVE button Without clicking on additional button created by BADI , changes are not saved to the KNA1 for this custom field.
    <b>Note :</b> If i get a exit/BADI by which i can change the general data ( KNA1) at the time of saving then my problem will be solved.<b></b>

    <i><b>Note : If i get a exit/BADI by which i can change the general data ( KNA1) at the time of saving then my problem will be solved.</b></i>
    CUSTOMER_ADD_DATA is the badi to do that.
    Read the NOTE: 577502
    https://websmp209.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=577502
    Regards,
    Ravi

  • In Material Master Screen,functionally what is Requirement Group in the MRP

    In Material Master Screen,functionally what is Requirement Group in the MRP Screen.Pls explain its functionality

    Hi,
    The safety time / actual range of coverage ensures that the planned warehouse stock covers the requirements of a defined number of days. It therefore serves as a time float and thus works alongside the safety stock, which acts as quantity float.
    The system simulates bringing the requirements forward by the specified number of days and the planning for the receipts, created for these requirements in the planning run, is also brought forward by this number of days.
    Prerequisites
    ·   You have set the Safety Time indicator in the material master record (MRP 2 View) to define whether the safety time is only to apply to independent requirements or to all requirements.
    ·    In the material master record (MRP 2 View), in the Safety Time/Actual Range of Coverage field, you have entered the number of workdays by which the requirements are to be brought forward.
    ·    If, in addition to this actual range of coverage, you also want to define a different number of workdays in certain periods or a safety time less than one day then, in Customizing for MRP in the activity Define Period Profile for Safety Time/Actual Range of Coverage you can define a period profile and assign it to the material in the material master record.
    Regards,
    Vijay

  • Customer Master data.. Bank Account No.

    Hi
    In customer master data ( XD01) > General Data > Payment Transaction > Bank Details 
    we maintain. Bank key , Bank Account and other details.
    my concern is , by maintaining customer bank account number in customer master data, what are the integrated effects to FI > Bank Accounting > House Bank ?  ( On Invoice Creation, Payment Receipt , Credit note, Debit note all FI Transaction ).
    Actually we want to use it just for information & reporting purpose.   NOT  FOR ANY AUTOMATIC RECEIPT \  Integration to FI > BANK Accounting \ House Bank.
    Thanks

    Hi.
    'customer master data, what are the integrated effects to FI > Bank Accounting > House Bank ?' House bank not linked with Customer master data(only if customer affiliated company).
    Bank details in customer could be used eg for invoicing(printing form)

  • CUSTOMER MASTER SCREEN  RELATED TABLES..

    HI
    I WANT TO KNOW ABT ALL THE TBALES  RELATED TO CUSTOMER MASTER (XD01 )APPLICATION..  WHEN EVER WE CREATE A CUSTOMER THROGH THIS SCREEN  THAT DATA WILL STORE INTO SOME TABLES.. WHAT  ARE THOSE TABLES..(FOR EXAMPLE: KNA1 ,ect..) like this.. what are the other tables...
    thanks
    babu

    KNA1                           General Data in Customer Master
    KNAS                           Customer master (VAT registration numbers
    KNAT                           Customer Master Record (Tax Groupings)
    KNB1                           Customer Master (Company Code)
    KNB4                           Customer Payment History
    KNB5                           Customer master (dunning data)
    KNBK                           Customer Master (Bank Details)
    KNBW                           Customer master record (withholding tax ty
    KNC1                           Customer master (transaction figures)
    KNC3                           Customer master (special G/L transaction f
    KNEA                           Assign Bank Details and Payment Methods to
    KNEX                           Customer Master: Legal Control - Sanctione
    KNKA                           Customer master credit management: Central
    KNKK                           Customer master credit management: Control
    KNKKF1                         Credit Management: FI Status Data
    KNKKF2                         Credit Management: Open Items by Days in A
    KNKO                           Assignment of Cost Est. Number to Config.
    KNMT                           Customer-Material Info Record Data Table
    KNMTK                          Customer-Material Info Record Header Table
    KNOB                           Assignment of Cost Est. Number to Config.
    KNVA                           Customer Master Unloading Points
    KNVD                           Customer master record sales request form
    KNVH                           Customer Hierarchies
    KNVI                           Customer Master Tax Indicator
    KNVK                           Customer Master Contact Partner
    KNVL                           Customer Master Licenses
    KNVP                           Customer Master Partner Functions
    KNVS                           Customer Master Shipping Data
    KNVT                           Customer Master Record Texts for Sales
    KNVV                           Customer Master Sales Data
    KNZA                           Permitted Alternative Payer

  • Customer master screen  Internat.versions

    hi,all
    when i use to create customer master data,in address screen,there is "Internat.versions" button .
    I want to konw the data in "Internat.versions" save in which table ?

    Dear
            [Re: create new address in table ADRC;
             May be it will help you,
    Regards,
    Sandip

  • Customers-screen layout per activity/account group

    Hi Gurus!
    I need to set up the screen selection per activity and account group.
    I need extra "display only" fields on the customer change, and in a standard way i can do it but it will affect all account groups.
    Is there any workaround???
    Thanks in advance, lots of points if U can help me.

    Dear Friend,
    This can be achieved by extra feilds feilds in the customer master data...
    GO to XD02  customer change.....
    Company Code :
    Sales Area
    General
    Each Tab go to Extra --> Additional data....
    This will show maintainble feilds in the master data.
    This can be maintained from....
    SPRO>SD>Master Data-->Bussiness Partners -->Customer -->Sales -->Maintain reserve feilds for customer master.
    You can then use the same in the customer records and maintain conditions for the same.
    reward points if helpful
    regards,
    SAP SD

  • Restrict FI postings from FB60 at vendor account group level

    Hi Experts,
    We have a requirement whereby the authorization for posting from T-Code FB60 should be controlled at vendor account group level (LFA1-KTOKK).
    We are also fine with restrictions at vendor master authorization group level (LFA1-BEGRU/BRGRU).
    So a particular user should be able to post to a vendor in acct grp A but not acct grp B from FB60.
    However, it seems that T-Code FB60 checks only objects BKPFBLA, F_BKPF_BUK, F_BKPF_GSB, F_BKPF_KOA.
    Neither of the above 2 fields are available in these 4 objects.
    In case you have a solution for restricting FB60 postings, please reply.

    Hi.
    In vendor maser data you can maintain LFB1-BEGRU='vendor group', and check it in F_BKPF_BEK-BRGRU

  • How to create the screen varient for specific Account group in FBL3N T.Code

    Hi,
       i am having one scenario like in T.code FBL3N Account group one selection parameter is there ,if we enter the one reconciliation Account group that user able to see the different output screen that is created by me (Customized) but not all other account group.please any one give the suggestion me.
    Thanks,
    Harinath.

    HI ,
    It looks lilke we need to use the FM like 'G_SET_LIST_SELECT' to get the Profit
    Here ais note from the forums to get profit center group from table
    From Table SETLEAF,  Field SETCLASS  =  '0106'. Field SUBCLASS with controlling area. Profit center in Field VALFROM.
    You will get Group name in Field SETNAME.
    Regards,
    Sathya

  • Product master screen enhancement and Business partner screen enhancement

    Can anyone please let me know how to enhance screen, DB for Product Master and Business Partner  in SRM.
    Thanks in advance.
    Regards,
    Nilesh Kumar

    Hi Nilesh,
    For enhancing the BP screen you can refer the following links:
    Re: Customer fields in BP
    Re: Business partner enhancement
    Thanks,
    Pradeep

  • Customer master Screen

    Hi,
    I am having one time customer Account in screen change I keep reconcillation account as an OPTIONAL entry
    but systems taking it as mandatory entry
    Why this is happenning ?  How to make that field as as Optional entry.
    for other fields it is running proporly
    regards,
    Akshay

    Hi Mr Akshay,
                 Its very basic issue, you may find threads related this,
    anyhow,
    in OBD2-
    select your account group_ double clik on comp code data- make option entry for recon account field.

  • Customer Master Screen Addition

    Hi All,
    I have added a new Custom Screen with some Custom Table fields in it. Everything is working fine. The only issue I am facing now is when a user wants to do a BDC or use LSMW, durning the recording this screen is missing.Can anyone please help me in this.
    Thanks & Regards
    Johann

    Hi,
    I did not use BADI, I updated the standard program directly.
    Johann

  • Question about partner determination for customer master

    Hi, experts,
    I have already read the documentation about this topic at forum. Still I have the following question:
    why should we assign the partner function to the account group? According to my understanding, the partner function has to be assigned to partner determination procedure and then through partner determination it is associated with the account group. If the partner can be assigned to account group directly, why do we still need determination procedure?
    Best regards,
    Fan

    Hi
    Let us consider an existing Partner Determination procedure in standard SAP.
    The  Partner Determination Procedure (e.g, ABCD) can contain multiple "Partner Functions". Suppose there are 100 numbers of Partner Functions in the Procedure.
    We assign  "Partner determination Procedure"  to the  "Account Group", so that , the assigned Procedure will be applicable for the Customer master data created under that Account group.
    Suppose, Partner determination Procedure "ABCD" has been assigned to Account Group "XYZ".
    Now, any Customer created under Account Group "XYZ", the Procedure "ABCD" will be applicable for them.  Right?
    We have already discussed , the Procedure "ABCD" contains 100 different "Partner Functions".
    Out of these 100 Partner Functions, only those Partner Functions, which are permitted  by the Account Group "XYZ" , they can only be entered in the Sales area data > Partner Function tab of the Customer master data.
    Suppose, only 6 Partner functions (out of 100 no) are assigned to Account Group "XYZ".
    So these 6 Partner Functions are permitted by the said Account Group "XYZ" and these 6 Partner Functions can only be entered in the Customer master data.
    So, to summerise it,  if you want to enter a Partner Function in the Customer master, then
    - First, that Partner Function must be available in the Procedure which applicable, and
    - Second, that Partner Function also  must have been permitted (assigned) by the Account Group .
    I hope, it is clarified.
    Regards
    Pradyumna

  • Payment guarantee procedure key in customer master

    Hi ,
    System determines payment guarantee procedure by
    1. key for doc guarantee proc from sales doc type
    2. customer payment guarantee procedure key in customer master
    However , I am not able to find the field in XD02 for maintaining cust payment guarantee procedure.
    Can some one help me in locating that field . Can this customer master screen be controlled through field screen.
    Regards,
    Mrinal

    Mrinal,
    in Customer master , we can see the field in Sales area data billing tab.
    But if u are nt able to see in that then i guess that fields are suppresed.
    For seeing that do this
    go to transaction OVT0
    select your account group then On Field Status group, double click on the word Sales data then on the word Billing.
    In this go to Hedging and credit contr. area which may be suppressed,  it means that the field above is not visible in the customer master data. Make this fields visible.
    Thanks,
    Raja

Maybe you are looking for

  • How can I use the SQL to create a primary key for a existing table?

    create table a(bm number,mc varchar2(20)); when the table was created,i want to make the column bm as the primary key and my SQL is "alter table a enable primary key bm",the system show me error,how can I write the right one?

  • Changes to JDBC Thin URL (: vs /)

    Since 10g, the JDBC Thin URLs have been documented to take the form jdbc:oracle:thin:scott/tiger@//myhost:1521/myservicename. However the old style URLs which uses : instead of / (for example jdbc:oracle:thin:scott/tiger@myhost:1521:myservicename) co

  • Export open checks for outgoing payment

    I am trying to export those outgoing payment checks which have not been deposited. Where would I find them and how would I get the payees name to be included. thx, Richard.

  • Re: noise level and lost connection

    I am with Sky Broadband on a BT leased line (who I pay for my BT Telephone bill). I have had terrible problems with my ADSL connection ever since I subscribed for Sky broadband over 5 years ago and more. I live in Halton Village in Runcorn, Cheshire

  • Where do I find a sample HCM data?

    Hi, I am an Information Design student, doing research on the visualization of large hierarchies. Corporate hierarchy is very interesting to our work, and we would like to find an example corporate data set with reporting lines. Does SAP have sample