How to validate Compnay Codes entered through PFCG Transaction

Hi friends,
              I am uploading EXCEL File containing company codes for different combinations of Role and Organization elements.Now I have to validate these compnay codes with those entered into System through the PFCG Transaction .Gor Eg.In file AA01 - AA10 is the Range of Company code while in System
AA01- AA08,
AA09,
AA11,
AA22
        These can be different Low and High values of company codes.How can i validate file with the System .In this case I can't use T001 Table as these codes are enterd into system which can later be Implemented and all other Org.Level settings will done later.If anyone have any idea,plz let me know.

Hello Helena Marková-
Thanks for the reply.
Can you explain in detail what does your steps will do.
Creating when-validate-item trigger on item adj_flag will work as it is at the item level trigger and it will fire whenever the user changes that item. But, I want to do the validations after user entered/changed all the values, I mean do the validations when user is trying to save at the very end.
Reason being that, by having trigger at item level will work fine, but, validations include to compare the data over the db_link, so for every change in adj_flag the trigger will fire and validation will happen using db_link which could be slow process.
I want to do the validations at the very end so if user changes that particular item many times, and see the test case I mentioned, where it validates even when there is no change in the focused item.
Thanks,
r2b.

Similar Messages

  • Validate Company code entered against object F_BKPF_BUKu0096BUKRS in useru0092s rol

    Validate Company code entered in the selection-screen against the object F_BKPF_BUK–BUKRS in user’s roles.
    If value entered in selection is not found in authorisation object, display error message “Company code access is prohibited”
    can anyone explain How to write the code for this
    Thank you.

    Hi,
    there are lots of FM to get User details by just passing sy-uname.
    Just search BAPI_USER* and you will get one suitable to you.
    Regards,
    Atish

  • How to get the form printed through the transaction ME42

    hi,
    How to get the form printed through the transaction ME42.
    For example :
    In t.code vf03 . In the main menu there is an option billing document , when we click on that we get a drop down menu which shows issue output to. If a print program call has the code to get the value from the t.code , immdiately when we click issue output to it call the form.

    Here go to ME42 put in your RFC no, in the menu Header -- Messages, go there and see if a message has been inserted, else you can insert one.
    when you save this, it will call the form.
    Regards,
    Ravi

  • How to Validate a Expression dynamically through javascript or code behind?

    Hi
    I have a requirement like, when i enter value in textbox it should calculate whether it is a valid experssion or not.
    For Ex if i give expression like ((2*3+(5*2)-240  In this statement i have missed a {(} close bracket.  On textbox change event i have to alert a user like Your expresion is not valid..Because user will give this expression dynamically.
    Please do needful.Thanx in advance.
    Regards
    Manikandan

    Problem solved.
    For validation type, I still specify it as
    Item in Expression 1 is contained in Expression 2
    Validation Expression 1:
    P5_PORTABLE
    Validation Expression 2
    No
    but in condition type, I can only use
    Value of Item in Expression 1= Expression 2
    Expression 1:
    P5_FUNDING_TYPE
    Expression 2
    Capital
    A bit confusing, but it works. There is no needs to loop through array for radio group here. APEX does it for you. Thanks Shutt for your hint

  • How to Validate XML against XSD through PL/SQL?

    Hi friends,
    I m new to this forum. This is my first query.
    In our project, we are trying to generate output XML using PL/SQL procedure. I have done that successfully. Now my problem is I have to validate this against our XSD. How will I do that? Can you provide me with a sample example.
    Thanks to all in advance.
    Regards,
    apk

    Have you looked at the XML DB FAQ thread (second post) in this forum? It has some examples for validating XML against schemas.

  • Releasing the blocked invoices entered through the FB60

    Hi all,
    The invoices that are entered through the transaction code FB60 are manually blocked for payment while entering the invoice. Is there a standard SAP transaction code to list these invoices and release similar to transaction MRBR for the invoices entered through the MIRO. Please advice how to achieve this, as this is a critical business requirement. Many thanks in advance
    Regards

    Hi,
    When you post invoice through fb60 which vendor you chossing for making invoicego to  that vendor master record and check if it is block for payment or not if it block for payment than remove block.
    warm regards,

  • How to check time is entered

    Dear sir
    I have column sales_date with forms data type - datetime and
    I set format mask -dd-mon-yyyy hh24:mi
    How to validate whether user entered both date and time. How to check this in
    oracle forms
    Rgds
    Dev

    Hey User504310 ,
    U can keep ur format mask and split the date and time like that..for example:
    SELECT MAX(to_char(ATT_DATE,'MM/DD/YYYY HH12:MI')),MAX(to_char(ATT_time,'MM/DD/YYYY HH12:MI AM'))
    INTO V_DATE,V_TIME
    FROM ATTENDANCE
    WHERE ATT_EMP_NO = V_ATT_EMP_NO;
    -- MESSAGE(V_DATE);
    -- MESSAGE(V_TIME);
    V_MAX_DATE := substr(V_DATE,1,10);
    --MESSAGE(V_MAX_DATE);
    V_MAX_TIME := substr(V_TIME,12,2);
    -- MESSAGE(V_MAX_TIME);
    ELSIF( (V_MAX_DATE = TO_CHAR(V_ATT_DATE,'MM/DD/YYYY'))      AND (V_MAX_TIME > TO_CHAR (V_ATT_TIME,'HH12:MI'))) THEN
              MESSAGE(' Not a Valid Time');
    Regards,
    Abdetu.

  • How to update FSCM Credit Management through SD in R3.

    Hi,
        I have a follwowing requirement.
        When SD documents such as Sales orders, Delivery Documents, Billing Documents are created, the commitment of that new transaction goes through the same PI interface to update FSCM Credit Management.
       I guess, SAP has already provided standard interfaces in PI for this. Please let know how can I trigger those interface through SD transactions like VA01, VL01N.
    Thanks in advance.
    Punit

    Punit,
    I know about Tcode ukm_bp to check credit eligibility of business partner. Likewise there can be different T codes. Please post in respective FSCM forum with details requirement to get more info on that...
    Coming to developement, you could use SAP pre defined content from SAP FINBASIS and APPL and develop scenarios.
    If your ERP and FSCM are on the same box, use the same business systems else use seperate one for each.
    Venkat.

  • Authorization Object (pfcg transaction) versus Funds center group

    Hi,
    I would like to know how i can by u201Cauthorization objectu201D in PFCG transaction to allow that some user can access the funds center group (created in FM_SETS_FICTR1 transaction). Is there u201Cauthorization objectu201D to funds center group ?
    On the other hand, I need that one user access just all Funds Centers of the especific funds center group using u201Cauthorization objectu201D.
    Kind regards in advance.
    Claudio

    Hi Alex,
    Your ideia is good, but unfortunaly my Funds center doesn´t have its code starting with the same character. Ex..._BQ000020 is a Funds center group_ of Funds center  ET000030, BF000043 and CJ000031.
    thanks a lot
    Claudio

  • Authorization object (pfcg transaction) x funds center group

    Hi,
    I would like to know how i can by u201Cauthorization objectu201D in PFCG transaction to allow that some user can access the funds center group (created in FM_SETS_FICTR1 transaction). Is there u201Cauthorization objectu201D to funds center group ?
    On the other hand, I need that one user access just all Funds Centers of the especific funds center group using u201Cauthorization objectu201D.
    Kind regards in advance.
    Claudio

    Hi Mauri,
    the transaction SU24 for  FM_SETS_FICTR1 transaction just show the object F_FICA_FCG and this object only open the fields: FM_AUTHACT and FM_FIKRS for this object.
    I solved the this problem applying the Alex´s idea bellow:
    Hi, if Fund centers from FC groups doesn't across (i mean that one FC can include just to one FC group), then you can       upload FC from groups and maintain Auth group via LSMW.
    Ex. maintain for all FC from FC group BQ000020 auth. group=BQ02 etc
    thanks a lot
    Claudio

  • How to avoid invalid data entering in LOV through code

    hi
    1)i have developed lov in table region, but user easily can enter invalid data and saved into the database tables.
    2)i created one formvalue and mapping into that return item , still its not working in table region LOV.
    3)how to avoid invalid data entering in LOV through code. i have tried this below code in EOimpl set value method. but some how its not wokring.
    if (value!=null)
    throw new OAAttrValException(OAAttrValException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(),
    getPrimaryKey(),
    "ProcurementCategory",
    getProcurementCategory(),
    "FND",
    "FND_LOV_SELECT_VALUE");
    Thanks.
    krish.

    Thanks reetesh and gourav for your help.
    i followed below mapping details
    LOV Item Properties
    ID -PurcCommodity
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    map1 properties
    LOV Region Item - segment1
    Return Item -PurcCommodity
    CriteriaItem -PurcCommodity
    Usefor Validation -Default
    map2 properties
    LOV Region Item - segment1
    Return Item -validation(formvalue)
    CriteriaItem -
    Usefor Validation -yes
    form value properties
    ID -validation
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    Gourav- i double checked multiple rows it is not working, some times it is not working for single row too.
    Thanks
    krish.

  • How do I enter codes purchased through the Volume purchase plan into Configurator?, How do I enter codes purchased through the Volume purchase plan into Configurator?, How do I enter codes purchased through the Volume purchase plan into Configurator?

    How do I enter codes purchased through the Volume Purchas site into Configurator so I may load them onto ipads on a cart?

    There is no short answer.
    I've created a 10 page tip sheet. See the link a the bottom
    I have to guess how many steps you've done, so this advice may be starting in the wrong spot. 
    =============================
    a) I assume you used appleid of the faciltator who buys VPP apps on the VPP portal and then downloads the XLS file of codes (done)
    b) I assume you have an appleid of another user. That appleid must be setup in itunes on the laptop/desktop with Osx10.8.  You then launch itunes and use itunes redeem link to get one copy of the paid app.  The code for that redeem link comes from your your spreadsheet from step A. Copy and paste from excel or use googlge docs to copy/paste the code.
    ==========================
    itunes now has downloaded on copy of the paid app (stored in your documents folder, deep in your itunes folder of  your laptop/desktop)  Open configurator and hit the plus icon in configurator and that app is added to your list of apps with the licence count set to 1.
    Now comes one more not so obvious step, LOgon to the VPP portal and download the XLS file again with all the codes.  
    In configurator click the mouse on the number 1 in your count of licenses.   That will bring up a set of dialogs to import the 2nd version of your XLS codes.  When that is done your count goes from 1 to x, where x might be 50 codes.  
    All of what I've posted here is documented by apple in several KB articles and their 80 page guide, or you can just read my 10 page tip sheet below...
    https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?userstoinvite=[email protected]

  • Do u know how to prompt user to enter password and validate the password?

    hi all,anyone knows how to prompt user to enter password and validate the password as well?I do not need the GUI.Can someone post the codes here?Thanks!

    hi all,anyone knows how to prompt user to enter
    password and validate the password as well?I do not
    need the GUI.Can someone post the codes here?Thanks!Codes are
    BufferedReader
    System.in
    if
    else
    System.out.

  • How many times can you enter the wrong pin code on an iphone before it resets?

    How many times can you enter the wrong pin code on an iphone before it resets itself?

    Hey Robin.T,
    Thanks for the question. The following article provides the answer to your question:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212
    If you enter the wrong passcode six or more times, you'll see a message that says one of the following:
    iPhone is disabled
    iPad is disabled
    iPod touch is disabled
    You can also set your passcode lock to wipe the device after 10 unsuccessful attempts (Settings > General > Passcode Lock > Erase Data)
    Thanks,
    Matt M.

  • How to display BAR-CODE through ABAP report

    Hi,
    Could you please help me, how to display BAR-CODE through the ABAP report.
    I am writing below code, but BAR-CODE is not displaying on report.
               PRINT-CONTROL FUNCTION 'SBP01'.
                WRITE: 20  BAR_CODE1 NO-GAP.
               PRINT-CONTROL FUNCTION 'SBS01'.
    Regards,
    SSRAJU.

    Hi RAJU,
    you can see this forum link and its sub-links, here it is clear about it.
    Re: Barcode printing on report
    Thanks & Regards,
    Dileep .C

Maybe you are looking for

  • Production Order Report with Cost

    Hi, I am trying to create a report using query to show the production order details, including the components item code (can be inventory or non-inventory), issued qty, component cost of each component and product cost. Can anyone help? Thanks.

  • Query works in sqldeveloper but not apex

    In my APEX application, have a textfield on a page in which user enters a code in the format 111-000-461. The textfield item is called p1_searchmergecode My query in a report region is this select * from t3_mail_piece where :P1_searchmergecode BETWEE

  • Java Webstart not working on Lion

    Hi, I bought Lion yesterday, and then did a clean install (by copying the InstallESD file on a DVD and partitioning the whole drive again) on my iMac. Everything seemed to be working fine, except Java. I Installed Java, from the Mac update menu (by g

  • Why doesn't Firefox's setup module have a digital signature?

    I did not notice any secure connection indicator when downloading Firefox 3.6.13 from a Denmark mirror site. This was after restarting the download step multiple times and seeing only East European sites. I'm in the Western part of USA and I didn't s

  • Can i use siri by typing commands not voice?

    I'm hearing-impaired and considering purchasing an iPhone 4s. Would I be able to ask Siri questions via typing instead of voice (which is useless to me)? Also, either now or in the near future, would we be able to use Siri or the voice-recognition te