MRS: fm to get assignment and change status

Hello all,
I have a requirement for MRS to get all assigned MRS tasks for a specific user (PERNR) and then change the MRS status of a task from an external system. Therefor, I need 2 remote enables FM's.
1) collect all assigned MRS tasks based on PERNR and start/end date.
2) change status of a chosen MRS task.
I have the pernr and orderid's. But to be able to change the status of a MRS task, I need the assignment key (OBJECT_GUID) .
So first, I need to find the assignment key based on the pernr/resource_key and orderid => is there a functionmodule / method for this? Or does anyone know in which table(s) I can find this assigment?
Next, I have to change the MRS status of this task. I found class /MRSS/CL_SGD_DEM_STATUS with method MAINTAIN where I can change the status => but is there also a functionmodule that also does the SAVE?
Kind regards!
Robert

Allright, so I have requirement nr 2 working. But I have not yet found the collection of the assignment value based on pernr / orderid / startdate / enddate. If anyone can help me that would be great!

Similar Messages

  • "Get Info" and change permissions

    Since I installed Leopard – when I create a file in PhotoShop and save it. When I go to reopen it – it will not let me. I have to go to “Get Info” and change permissions to “read and write” to everybody each time. I also have to from time to time have to go to “Get Info” in application and change permissions to get them to boot. Is there a fix?

    Where are you saving these files? When you open an Info Window to the file you just created in Photoshop, what names are listed? The top entry should be your username with Read&Write privs. The middle entry should be either staff, (unknown) or your username with Read Only privs. The last entry should be everyone with Read Only privs.
    Also, save a file to your Desktop (name it foo) and see if the problem still happens. If it does, launch Terminal and type:
    ls -lde ~/Desktop
    ls -le ~/Deskop/foo
    paste the spew from that into a reply and we'll try to see whats going on.

  • FM which get component and order status & return prod. orders

    Hi all
    does any one know a FM which get component and order status & return prod. orders?
    thanks

    see the transcation COOIS , i think it will be the details required by you
    in the selection at component level block
    enter the material no(component) , if required plant and storage location and then execute
    hope it will solve ur purpose
    so u can suggest for this TCode still u need a custom program u can submit these details from your z program
    and get the output
    table i am not sure see all these tables AUFK,AFKO,AFPO
    cheers
    s.janagar
    Edited by: janagar sundaramoorthy Nadar on Jul 13, 2009 12:18 PM

  • I have a macbook 2011 and its booting to the apple with a loading bar. it gets halfway and changes to a screen with the apple and a spinning circle. It spins untill it dies. will not boot to safe mode. Do not have orriginal osx disk either.... HELP :(

    i have a macbook 2011 and its booting to the apple with a loading bar. it gets halfway and changes to a screen with the apple and a spinning circle. It spins untill it dies. will not boot to safe mode. Do not have orriginal osx disk either.... HELP

    It happened after an update

  • I have to select a file – get Info – and change – open with and change from preview to another program and CHANGE ALL everytime I boot up

    Why do I have to select a file – get Info – select – open with – and change from Preview to another program and click CHANGE ALL with every file extention everytime I boot up.

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    The first step should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    resetpassword
    That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • How to get user and system status for a trade promotion

    Hi,
    I have to develop a batch program to change user status and system status of all trade promotions which satisfy some criteria. This criteria checks some dates related to trade promotion(like Changed on,Pallett buying, buying horizon dates) also.
    I thought of first extracting all external ids from CGPL_PROJECTS table and then run trade promotion query. But how can I get current user & system status and all dates as these can be taken from relations "TPMStatusActiveRel" and "TPMDateRel". I don't know to take data from relations. Please help me with a piece of code.
    Thanks.

    Hello Shikha,
    You can use these relations here, as you are not in the Business Object layer anymore. As far as my understanding is, all the batch programs or reports should be done at the API layer. Try this code, to read the status of the Trade Promotion object.
    data: lr_appl_base type ref to CL_CRM_MKTPL_APPL_BASE,
            lt_sys_status type CGPL_ISTATUS_TEXT_T.
    lr_appl_base ?= CL_CRM_MKTPL_APPL_BASE=>GET_INSTANCE().
    " To read system status
    call method lr_appl_base->STATUS_READ
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status.
    " To read user status
    call method lr_appl_base->STATUS_READ_EXTERN
    exporting
    IM_MKTELEMENT_GUID = "your Trade promotion guid
    ET_TJ02T  = lt_sys_status1.
    To change the user status, use the method STATUS_CHANGE_EXTERN of the same class
    To set the system status, use the method STATUS_SET of the same class.
    Hope this helps.
    Regards,
    Vinay

  • Project roles To Assign and Transferred statuses

    Hello,
    I'm using the bapi BAPI_BUS2172_COPY to create a new project from a template. In that template I have some roles with statuses Staffing in Preparation. After I copy the template, in the new project I get all the roles, and they're in status as in the template, but also have the system statuses To Assign and Transferred.
    Could someone explain what are those statuses, what they mean, and do they have any impact later, e.g. block some functionalities, or unlock other? Can I turn them off somehow, or do I have to programatically remove them with another bapi call.
    Regards,
    Michal

    Do this :
    1)  In SPRO-->  settlement --> Specify the default settlement profile for your project definition
    2)Define settlement rule for network --> Define strategy --> Enter the priority as 4 (Copy settlement rule from project definition )
    3) Assign this strategy to your network type
    Hope this solves your problem
    Edited by: Renjith VY on Apr 18, 2008 12:41 PM

  • A better way to get current and previous status?

    I'm working on a system where status messages are read into a table for items of equipment. My requirement is to find all the messages arriving within a particular time window, together with the status value and the status value for the previous message sent for that equipment item, if any. This previous message can (and probably will) have a date outside the window I'm looking at, or might not exist at all for a brand new equipment item.
    The table looks something like this:
    create table eq_state
    (eq_id      NUMBER,   -- ID of the equipment
    event_date DATE,     -- Date/Time of the message
    status     NUMBER)   -- Status passed in the messageThere are indexes on (event_date,eq_id) and on eq_id. It'll get very big, so it's important that indexes are used wherever possible.
    Here's what I have so far:
    WITH eq_state AS
    SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
    SELECT eq_id,TO_CHAR(event_date,'DD/MM/YYYY HH:MI:SS') event_date,curr_state,prev_state
    FROM  (SELECT Es.Eq_Id,
                  Es.Event_Date,
                  Es.Status AS Curr_State,
                  Es2.Status AS Prev_State,
                  RANK() OVER (PARTITION BY es.eq_id,es.event_date ORDER BY es2.event_date DESC) the_rank
           FROM   Eq_State Es
           LEFT OUTER JOIN Eq_State Es2
           ON     Es2.Eq_Id = Es.Eq_Id
           AND    Es2.Event_Date < Es.Event_Date
           WHERE  Es.Event_Date BETWEEN TO_DATE('01/05/2013 12:00:00','DD/MM/YYYY HH:MI:SS')
                                    AND TO_DATE('01/05/2013 12:05:00','DD/MM/YYYY HH:MI:SS')) x
    WHERE  the_rank = 1
    ORDER BY 1,2This gives me the desired results and seems to use sensible indexes (I'll spare you the explain plan):
         EQ_ID      EVENT_DATE          CURR_STATE PREV_STATE
             1 01/05/2013 12:01:00          1          
             2 01/05/2013 12:02:00          3          2
             3 01/05/2013 12:03:00          5          4
             3 01/05/2013 12:04:00          6          5So what's the problem? Just curiosity really - the technique of finding the RANK() in the inline view, and then selecting rows where it's equal to 1 seems like a bit of a kludge. Is there a more elegant way to do it? Maybe something using LAG() or KEEP DENSE_RANK LAST?
    I'm still not really up-to-speed with analytic functions, so I'm hoping to learn something from those of you that are!
    ORACLE 11.2.0.1.0 by the way

    I would use another way, firstly sorting by any unique criteria and using joins
    WITH eq_state AS
    SELECT 1 eq_id, TO_DATE('01/05/2013 12:01:00','DD/MM/YYYY HH:MI:SS') event_date, 1 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 01:01:00','DD/MM/YYYY HH:MI:SS') event_date, 2 status FROM DUAL
    UNION ALL
    SELECT 2 eq_id, TO_DATE('01/05/2013 12:02:00','DD/MM/YYYY HH:MI:SS') event_date, 3 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 10:00:00','DD/MM/YYYY HH:MI:SS') event_date, 4 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:03:00','DD/MM/YYYY HH:MI:SS') event_date, 5 status FROM DUAL
    UNION ALL
    SELECT 3 eq_id, TO_DATE('01/05/2013 12:04:00','DD/MM/YYYY HH:MI:SS') event_date, 6 status FROM DUAL
    ), sorted as (
      select row_number() over (order by a.event_date) as rn, a.* from eq_state a
    select * from sorted s1
    left join sorted s2 on (s2.rn = s1.rn -1)
    order by s1.rn
            RN      EQ_ID EVENT_DATE                STATUS         RN      EQ_ID EVENT_DATE                STATUS
             1          2 01.05.2013 01:01:00            2                                                       
             2          3 01.05.2013 10:00:00            4          1          2 01.05.2013 01:01:00            2
             3          1 01.05.2013 12:01:00            1          2          3 01.05.2013 10:00:00            4
             4          2 01.05.2013 12:02:00            3          3          1 01.05.2013 12:01:00            1
             5          3 01.05.2013 12:03:00            5          4          2 01.05.2013 12:02:00            3
             6          3 01.05.2013 12:04:00            6          5          3 01.05.2013 12:03:00            5

  • LWAPP error and change status to Discovery

    Hello,
    I have a LWAPP AP keep on up and down.
    The following is error message I got from the log.
    %LWAPP-3-CLIENTERRORLOG: Retransmission count for packet exceeded max(ECHO_REQUE
    ST, 1)
    %LWAPP-3-CLIENTERRORLOG: GOING BACK TO DISCOVER MODE
    %WIDS-6-DISABLED: IDS Signature is removed and disabled.
    %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
    COW1242-05#

    The regulatory domain is correct the time and date is synced with NTP and is correct this is a new LAP.
    These are the errors I'm getting
    %LWAPP-5-CHANGED: LWAPP changed state to CFG
    %LWAPP-3-CLIENTERRORLOG: Process Secure Msg: decrypting with CCM returned failure
    %LWAPP-3-CLIENTERRORLOG: Config Command: error processing secure message
    %LWAPP-5-CHANGED: LWAPP changed state to DOWN
    %LWAPP-3-CLIENTEVENTLOG: AP has joined controller WiSM-D5-B
    %LWAPP-3-CLIENTERRORLOG: Retransmission count for packet exceeded max(ECHO_REQUEST
    , 1)
    %LWAPP-3-CLIENTERRORLOG: GOING BACK TO DISCOVER MODE
    %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
    %LWAPP-5-CHANGED: LWAPP changed state to DISCOVERY
    %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    %CDP_PD-4-POWER_OK: Full power - NEGOTIATED inline power source

  • Parse comma separated value and map with other table to get Name and change it back to comma separate.

    Hi,
    I have one existing view(with around 15 fields), in which I have to add few more fields from table called PI.
    Now these fields have values like (55C4444F-D83B-4F96-A011-367A3755BA6C , F52388E2-485B-49DF-8534-FDF46D23F59E , 722432E1-F063-4CBD-B83D-1B97836E82953) 3 values comma separated.(Sometimes only one value and sometimes 4 or 5 or 7-8 depend on user has entered
    on web page)
    Also I have another table called PHA and this tables has 2 fields Values and Name so I have to map this two tables based on VALUES fields and get Name from this PHA table and show in view and that also Comma separated.
    So basically I have to Parse the PI table's Values field 1st, map it with PHA table to get Name and then Make it comma separated in that existing view.
    To make fields comma separate I used below query,
    (SELECT DISTINCT SUBSTRING
                SELECT ','+ PI.[Name]  AS [text()]
                FROM [DB].[dbo].[Table] PHA1
    Inner Join  [DB].[dbo].[Table] PI
    ON PHA.[Value] = PI.[VALUE]
                WHERE PHA1.PId =PHA2.PId and PHA1.CId = PHA2.CId
                ORDER BY PHA1.PId
                For XML PATH ('')
            ), 2, 1000) 
    FROM [DB].[dbo].[Table] PHA2
    Inner Join [cSharpSite_profiles].[dbo].[PetAllergies] PA
    Inner Join  [DB].[dbo].[Table] PI
    ON PHA.[Value] = PI.[VALUE]
    ) [Name]
    Vicky

    Wait, this sounds wrong. You have a view where you group values into a comma-separated list. While that surely will make some purists cringe, I can see that it makes sense from a presentation perspective.
    But if you want to use these concatenated values as atomic values again, you should go back to the base tables and them from there. Building views on views may sometimes be a good idea, but if you are too keen on reuse you can cause a performance disaster.
    So do it right from the beginning.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • I want to assign and change bookmark icons on my bookmark toolbar

    Some websites automatically assign an icon when I add them to my bookmark bar. For brevity sake, I delete the description so I can have more bookmarks lined up across the top of the browser page. Other websites do not generate an icon (its an icon of a blank page, a generic default setting I suppose). I want to be able to assign an icon for my bookmarks that do not have a unique icon.

    If you want to have a less crowded Bookmarks Toolbar then I don't think that you can assign icons.
    However you can create folders to put bookmarks in. That way, you can still put in a description if you want to, without having to give up Toolbar space. To create a folder:
    1. Right-click the Toolbar
    2. Select the 'New Folder...' option (near the top)
    3. Fill in the name (and description if you wish)
    4. Click 'Add'
    * You can now add bookmarks to that folder by draging and droping them onto it
    * You can edit a folder by right-clicking on it and selecting 'Properties...', changing it to how you want it and clicking 'Save'
    '''If this was the answer you were looking for, please click 'Solved' -- Thanks.'''

  • Using AS2 to get time and change based on result

    I need to make an edit to a flash projector that was built some time ago that changes what is playing based on the time of day. It is used to advertise breakfast or lunch/dinner for a restaurant. Previously we had set it up so that the time change happened at 5 in the morning and 10 in the morning. The code is below. The restaurant wants to change the time switch to be on the half hour now. I know how to pull the hours and minutes to do this.
    This is the code I have been using
    var currentHours:Date = new Date();
    var currentMin:Date = new Date();
    timeInHours = currentHours.getHours();
    timeInMin = currentMin.getMinutes();
    var now:Date = new Date();
    shownow = now.setMilliseconds;
    if (timeInHours > 4 && timeInHours < 11 ){
    breakfast_mc._visible = true;
    breakfast_mc.play();
    dinner_mc._visible = false;
    dinner_mc.stop();
    //trace(timeInHours);
    } else {
    breakfast_mc._visible = false;
    breakfast_mc.stop();
    dinner_mc._visible = true;
    dinner_mc.play();
    //trace(timeInHours);
    trace(timeInHours);
    trace(timeInMin);
    stop();
    The breakfast and dinner movie clips have this code in them as well, so than at the end of each cycle, it checks the time and will switch.
    I found this code on Flash Kit and wanted to try and modify it, My hope was to get it to generate a 24hr time 1604 or 1029 that I could then do a < / > comparison with, but this function adds the numbers together so 4:15 PM = 31 and 12:19 = 31 also. Does anyone have any suggestions about how I can do this? I need the time to change at 5 AM and 10:30 AM.  There is a possibility that they may want to extend it out to include day of the week as well. RIght now I just need fractional hours to work though.
    function checkTime()
    var dat = new Date();
    var hr = dat.getHours(); // this is 24-hour format already...
    var mn = dat.getMinutes();
    // round to most recent 15 minute boundary
    //mn = Math.floor(mn/15) * 15;
    // OPTIONAL - add leading zeros to hr and minute
    if (hr < 10)
    hr = "0" + hr;
    if (mn < 10)
    mn = "0" + mn; // remove these last 4 lines if leading zeros not wanted
    return hr + mn;
    // example usage:
    time = checkTime();
    trace( time );
    Any and all suggestions are welcome. Thanks in advance!

    Hi Kglad,
    Thanks for your response, I am trying the code now and I am having some difficulty with it. This is probably so simple, but I can't see it.
    var d:Date=new Date();
    if ((d.getHours()>=5 && d.getHours()<10) || (d.getHours()==10 && d.getMinutes<=30)){
    breakfast_mc._visible = true;
    breakfast_mc.play();
    dinner_mc._visible = false;
    dinner_mc.stop();
    trace("it is breakfast time");
    } else {
    breakfast_mc._visible = false;
    breakfast_mc.stop();
    dinner_mc._visible = true;
    dinner_mc.play();
    trace("it is lunch time");
    stop();
    Once it is past 10:30 I want the dinner movie clip to play and the breakfast clip to stop and disappear. After 5 in the morning, I want the dinner clip to stop and the breakfast one to start.
    I've tried < and > with minutes and neither seems to work. The hours work, I set up a test clip with this script in it and when I change my computer clock, I can make this switch back and forth with hours but the minutes still do not factor in.
    Thanks

  • How do I get events and changes created on my IOS Calendar to show up on iCal using iCloud?

    Using iCloud I can sync my events from iCal right to my IPod Touch. This is great except for the fact that I rarely create events on iCal. I usually create events using the Calendar app on my IPod Touch because I always have it handy and I feel that has a much more intuitive UI. I was really excited about iCloud being able to sync my events from my IPod to iCal but it doesn't seem to be working. When I create events on iCal they sync to my Calendar right away, but when I create an event on my IPod it doesn't show up on iCal. The same is true for changes made on my IPod to events synced from iCal. the changes don't show up in iCal at all. HELP PLEASE!

    The operating system should read 10.8 - sorry...

  • Non technie 70 yrs of age and written a book on my macbook 2009, how to I send it in microsoft plain format by email to editors without the text etc getting garbled and changed. As imple as possible plz-I did not grow up with computers. Help.k on my

    A non techie senior, I have written a book in Pages. To email to a literary editor, I have to use a format that is compatible to Microsoft word and does not garble all the indents and formatting.
    Help. Could you answer in simple steps as I can write a book OK but oh the challenge of emailing it.
    Gratful thanks
    zimbogal

    Ok...with your document, go to file, then go to save as (if this is not on your options then hold the ALT key and select Save As.)
    Next, Select where you want to save it .. e.g DESKTOP. Your menu should look like this.
    Then Click the box that says "save copy as word document" so it now should look like this"
    Press SAVE then you're done, make sure when you email the document, create the new email, then open finder, go to desktop and find the file with the last bit saying .doc then drag this into the email. Hope this helps.

  • How does a Purchase Order get into 'Approved, Reserved' status?

    How does a Purchase Order get into 'Approved, Reserved' status?

    Hi,
    When an approved purchase order is unreserved and the GL date is modified and re-submitted for approval, the document (PO) gets reserved and approved status.
    I believe you put this question in a wrong thread (Financial), next time onwards, please put your question in correct thread and I am sure you will get the solution faster :).
    Regards,
    S.P DASH

Maybe you are looking for

  • Windows 8.1 something happened and windows 8.1 Pro couldn't be installed.

    After the release of windows 8.1 preview I attempted the installation of 8.1 preview which failed. I decided it wasn't worth the bother until it was officially released so I left it uninstalled. After the official release of 8.1 yesterday I opened th

  • ICal Sync Functionality

    Testing my setup with Snow Leopard MBP at home, iPhone at home and Snow Leopard Server on Xserve at the office. I have iCal server setup up on my xserve at my office. I have push notifications enabled for iCal. I created a test calendar on my MBP at

  • Wi-Fi authentication issues since update to android 5.0.2

    Hi Everyone, after updating my Xperia Z3 Compact to Android 5.0.2 version I can no longer connect to my wi-fi domestic network. Does anybody know how to help me, please? I must admit that Xperia customer care is not working properly.. Thanks in advan

  • Multi-Tab Canvas Navigational Controls

    I want to control navigation out of a block displayed on a "tab" canvas to other "tabs" in a form containing multiple tab canvases. Are ther any "events triggers" associated with the "tab" level similar to the "WHEN_BUTTON_PRESSED" trigger such as "W

  • Authorization check using FM /SAPAPO/MCP_PERMISSION_CHECK2

    Hi All,       I have to perform the Authorization check using FM /SAPAPO/MCP_PERMISSION_CHECK2 based on 2 characteristics. What will be the inputs to the FM. Please tell with an example as in SE37 it is giving permission check parameter as 'X' even i