How to restrict transaction type in customized activity pop-up

We have created a custom workcenter link for search enhancement of activities. We copied the work center link and are calling the same component as in std search but a different customized configuration with added and deleted fields in search criteria. This works fine. Now the requirement is to restrict the 'transaction types' available when we click on the 'new' button in the new custom activity search page. As this pop-up emanates from the std component, it can not be functionally configured (because that would restrict the 'transaction types' while creating new activity in std componnet) but should be technically handled. Please advise.

Hi Amar,
Solution here is to let the framework know who is caller ?
That is, when pop up is opening, you have to put a code in this pop up view to understand who is invoking this pop up , Is it the search page of std. component configuration or is it the custom search page configuration ?
So have a static attribute in some Z class, you can use your IMPL class also for that matter, Now whenever you know that its custom config i.e. in DO_CONFIG_DETERMINATION, read the role key( i assumed that you have a role key for your custom config)
and if its custom role key, then set this static parameter say ZCUST_CONFIG = abap_true else abap_false (this is must to reset it using else as this is static attribute )
Now, in your pop_up view, read this static attribute as XXXX_IMPL=>zcust_config , and if true, then you know that the pop up is invoking from custom config, so do the coding to remove the unwanted transaction types.
and you are done !!
Hope it helps you.
Thanks & Regards,
SUCHITA

Similar Messages

  • Restrict Transaction types in menu

    Hi All,
    In CRMD_ORDER transaction, when i select option "Create" from the menu 'Business transaction', it gives me a BIG list of all the standard and custom transaction types for selection.
    Is it possible to restrict this list to limited custom transaction types based on the user authorization. Also i have same requiremnt with Follow up transaction option.
    I guess this should be possible throgh authorization, but not sure how to go about it.
    Any help in this regard would be greatly appreciated.
    Thanks and Regards,
    Imran

    Hi,
    Make use of Authorization object CRM_ORD_PR to restrict transaction types.
    Follow Up Transaction authorization also linked with the same object you can use the following Transaction types for Follow up Transactions.
    0001
    0002
    0003
    0004
    0005
    0010
    0020
    0025
    1001
    1004
    ACCP
    ACPO
    ACTI
    ATCP
    ATPO
    CHM1
    CHM2
    PCAL
    SDCR
    TASK
    TWSQ
    TWTP
    Hope this solves your problem.
    Feel free to revert back.
    -=-Ragu

  • Data inconsistency: posting with restricted transaction type (FAA_POST047)

    Hi colleagues!
    I have the following error:
    Data inconsistency: posting with restricted transaction type
    Message no. FAA_POST047
    Diagnosis
    You are trying to post in company code 1000 with transaction type 130 in ledger group 0N. According to table TABWA, this transaction type is limited. Nonetheless, according to your entries, you want to post to area 11.
    System Response
    Using limited transaction types is obsolete and would lead to an inconsistent posting in this situation. The system rejects the posting.
    Procedure
    Use a transaction type that is not limited. And, if possible, choose the ledger group and/or depreciation area on the initial screen.
    According to specific accounting we shouldn't post to one of the depr. area, so most of the tr.types are restricted to post to all areas except this one.
    Because of this, posting from MM with acc.assignment 'A' is impossible - I have this error.
    Any ideas how to solve?
    Thanks in advance

    Hi Anton
    This looks like your transaction type -130 is limited to post only in ledger group-0N as per the transaction type configuration. Due to which system is unable to post all the ledgers and hence this lead to inconsistency.
    Please verify the transaction type 130- in configuration T code - OAYA and see if it is restricted by depreciation area (eventually allow to post only ledger group- 0N.
    Tcode - OAYA (Limit Transaction Types to Depreciation Areas)
    please verify and let us know the update. hope this helps
    Best Regards
    Jomon

  • How to Restrict Material Type in MM01 ?

    *Hi experts,*
    *How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
    *I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
    *can anyone help out.*

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • HOW TO Restrict Absence Type LOV Self Service in 12.1.3

    Hi All,
    Will someone please inform of whar is the package to use for this new feature restriction as stated below. Thanks.
    From new feature PDF 12.1.3:
    3.26.4.6. Restrict Absence Type LOV
    Prior to this release, all absence types created using Oracle HRMS are displayed to users in Self-Service HR. With this release, implementers can update ""a package"" to restrict the absence types that are displayed to users based on the business requirements. This feature ensures that employees enter only those absences for which they are eligible, and managers do not have to verify the validity of the absence type of employee requests.

    Apologies for the delay here.
    The package in question is hr_absence_restricted. You replace the Package Body of this package so that the function absences_restricted returns a comma-separated array of Absence Type ids that SHOULD NOT be displayed.
    For example,
    RETURN '123, 456, 789'
    Would prevent Absence Type Ids 123, 456 and 789 from appearing in the user's List of Values. This is supposed to be described in the following Oracle Article but it's not published:
    Oracle Article How To Restrict Absence Type LOV in Oracle Self-Service Human Resources (Doc ID 1122674.1)

  • Integration with MM how the asset transaction type is triggered during MIGO

    Hello everybody,
    Do you know how SAP triggers the asset transaction type during MIGO when Asset is purchase with MM?
    Is there a customizing transaction to set up the link between the movement type used in the MIGO and the asset transaction type during the receipt of the asset?
    Thank you in advance
    Regards

    Hello,
    This is maintained in FI-AA Spro - Financial Accounting - Asset Accounting - Transactions - Specify Default Transaction Types
    For example for GR (MIGO), the accounting transaciton is called "Acquis. from goods receipt w/o affiliated company" and the default FI-AA Transaction type is 120.
    Hope this helps!

  • How to restrict Order types KA  and AB in script output form

    How to restrict KA AND AB order types in script output data is coming from  bkpf-blart .
    program is rfkord10.
    and form is f140_acc_stat_1
    in script output i dont want to  display KA AND AB order types ..
    data is coming from standard report.
    i copied form into zform.
    in output it is displaing all order types ..
    is there any solution to restrict above order types.

    Hi
    Check the data structures used in the script
    Since it is account statement of customer it uses the Tables BSID and BSAD in which the field BLART field is there whose values are KA and AB
    check for the structures which are used in the script and in them search for the field BLART in Se11 and accordingly keep the condition
    It will work
    Regards
    Anji

  • How to restrict document types in hierachy

    Hi
    My scenario is
    For DIR of document type A only DIRs of document type B and C should be attached in the document hierarchy. How to restrict the user from attaching other type of documents?
    What will be the best solution for this scenario?
    Thanks in advance
    Prasad K

    Hi
    Plz
    Any inputs on this?
    Regards
    Prasad

  • How to display Transaction Type & description ?

    Guys,
    I am using CRM 5.0. When I am in CRMD_ORDER Transaction and try to create a new order, I get a pop-up list to choose my transaction types. However it only displays the description of the transaction type and does not give me the transaction ID.
    Is there a way to display both in tow separate columns? For eg TSA  Telesales

    A.R.P,
    see if this helps.
    Click on <b>Customizing of local layout on the standard SAP toolbar. (last icon with green red blue vertical stripes) </b>
    From the context menu that opens, select the first option - <b> options </b>
    Go to the Expert tab and select the check boxes for :
    <b> Show Keys in All Dropdown list </b>
    <b> Sort Items by key </b>
    Then choose the apply push button and then the ok button.
    Julius

  • How to hide transaction types

    Hi,
    We are using CRM 5.0, would like to hide unnecessary transaction types like many standard activity types, opportunity types, leads etc that we donot want the users to see and keep the "Create Business Transaction" window clean and simple.
    Could you throw some light on achieving this.
    thanks
    kumar

    Hi Kumar,
    No need to go by authorization way, its a configuration setting.
    Go to 'Define Transaction Types' in IMG
    Select your transaction type
    Double Click on the transaction type selected
    Selecting value 'X Inactive' for Inactive in General Data.
    Save
    Test if you can see the transaction type in the list.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How does the transaction type use?

    Hi everybody:
        A question often comes out of my mind, it makes me confused.
    When you post a accounting document in Asset module by using f-91.... input a transaction type in it, then the system can post to an G/L account for you. I wanna know how the transaction type links to a general ledger account?
    and I guess there must have some relations between the transaction type (maybe transaction type group) and AO90 configration.
    Any help will be really appreciated

    Hi expert
    I m a newcomer,so my expression may be ambiguous, sorry about that
    As U said that Here u mention the GL accounts against which ur acquistion, depreciation, sale of asset , scrape, loss/gain on sale of asset are maintained.
    I still dont kown How a GL Acc in AO90 i.e acquistion links to a transaction type(or transaction type group). U know there are lots of GL Accounts in AO90 acquistion group. When  I post a doc in fi, which Acc is chosen by the system? and how?
    Regards,
    James

  • How to restrict change type in CC31

    Hi ,
    I have a new requirement in which I need to restrict change types in txn CC31 (Create ECR).onlya set of people should create a ECR with one change type and another set of ppl with another change type, but I am not able to find any auth object with the field CCART(Change types) to provide these restrictions .
    Is creating a new auth object the only way ? please let me know if there is any other possibility  or any other auth objects which can be used for the same ?
    Thanks,
    Nanda

    Fields of such types (e.g. document types, master data accounts, etc) are often not the same field name that you are looking for in an authorization object, but rather grouped in their master records and the authority-check is against the assigned group value.
    More often than not, if no group value is assigned to a record then no check is made.
    So what you can try to look for is a BEGRU type field of an object in the code and look to see where it is gettings its value from.
    Might be worth a try...
    Cheers,
    Julius

  • How to change pricelist type in customer master

    hi gurus,
    plz tel me any bapi or function module is there to chnage new pricelist type in customer master for a perticular sales area.

    Hello Rudi,
    This issue happens usually when the 'Business Area Financial Statement' indicator has been enabled in customizing. Hence, in your case, for changing of business area > use ABUMN to transfer from existing asset to a new asset master with new business area.
    Kind regards,
    John Chin

  • How to differentiate conditon types between customer and vendor?

    Hi Forum,
    We are using RE Classic. 
    I am wondering if there is a way to differentiate a conditon type as customer condition type and vendor conditon type.
    If so where can I check the same?
    Thanks in advance
    Regards,
    Haranadh

    Hi,
    Every Contract type is linked with the Condition group.
    In every condition group, different condition types will be assigned based on lease in / lease out.
    So, whenever you go for contract, based on the contract type of the contract...system gives you the option of selecting the condition types. That means...when you assigned the condition types in the condition group, that time itself you are seperating Customer / Vendor wise.
    hope it is clear..
    if the above solution not works...the only way is to identify through the text of the condition type.
    VVR

  • HOW TO CHANGE ACCOUNT TYPE FROM IMAP TO POP

    HOW TO CHANGE ACCOUNT TYPE IN YOUR EMAIL FROM IMAP TO POP

    You can't.  You need to create a new account in Mail.
    Note, when setting up a new account (after clicking the '+' in the Accounts proeference), enter an invalid email address or option click the Continue button to be given the choice of account type (POP or IMAP).

Maybe you are looking for