Urgent Doubt - Custom AccessGate way

I am creating a custom access gateway using Oracle Access server SDK 10.1.4.
Our OAM policy is configured to return the couple of variables after successful authentication and authorization.
eg:
ObUserSession session = new ObUserSession(obssoCookie);
session.getAction("HeaderVar", "attribute1");
// we are getting null.
but when we pass full credentials we are getting all the attributes set in Actions section in OAM policies.
eg:
Hashtable creds = new Hashtable();
creds.put("userid", ms_login);
creds.put("password", ms_passwd);
ObUserSession session = new ObUserSession(rrq, creds);
session.getAction("HeaderVar", "attribute1");
// It works
And the documentation says API cant build the Action types from the obsso cookie.
Anybody know any workaround for this issue? How do I make the custom accessGate work like webgate?
Thanks,
Prasanna

You're deleting the entire input package.  You only want to delete the one row.
DATA: g_tabix TYPE sy-tabix.
SELECT * FROM zscp
INTO CORRESPONDING FIELDS OF TABLE itab_t
WHERE zbusinessunit = 'BC'.
SORT itab_t BY zcategory.
LOOP AT source_package INTO ls_source_package WHERE /bic/dpregion = 'XE'.
  g_tabix = sy-tabix.
  READ TABLE itab_t WITH KEY zcategory = ls_source_package-/bic/dpmat/bic/dpcat TRANSPORTING NO FIELDS BINARY SEARCH.
  IF sy-subrc NE 0.
    DELETE source_package INDEX g_tabix.
  ENDIF.
ENDLOOP.

Similar Messages

  • Custom AccessGate not support Multi-domain SSO

    Hi,
    I have a requirement to implement the Multi-domain Single Sign-On with custom built SSO plugin (i.e Webgate/AccessGate/WebAgent), we have proposed OAM to implement Multi-domain SSO with custom built accessGate, now we are facing issue is, as per Oracle Access Manager documentation, Multi-domain SSO will not work if we use Custom Built webgate/AccessGate. Do you know whether OAM 11g or CA or Tivoli will support Multi-domain single sign-on with custom WebAgents?? Your quick response is highly appreciated.
    Regards
    Som

    Since you have MDSSO implemented you need to figure out a way for multidomain logout as well.
    In the step 3 since you logged out of abc.com, the obSSOCookie for that domain is deleted but the cookie in the domain def.com still remains so you are able to login again in def.com. If the central domain was completely different from the other domain than you would have got the SSO even after logout.
    Seems like you have a configuration where you will never be able to logout of def.com because the cookie in the central domain will always be there until it times out.
    Here's what you need to do..
    -During logout call logout for all the domains configured

  • Very urgent: Doubts regarding CRM WORKFLOW OF BUSINESS PARTNER CREATION

    HI ,
    I HAVE DOUBTS REGARDING CRM WORKFLOW OF BUSINESS PARTNER CREATION, WHILE I AM CREATING BUSINESS PARTNER THROUGH R/3 , IT REFLECT IT INTO MYSAP CRM ALSO, AT THAT TIME IT SENDING THE MAIL TWICE TO THE RECEIPIENT. IS THERE ANY WAY THROUGH  WHICH I CAN RESTRICT IT TO SEND THE MAIL ONLY ONCE,
    PLZ SEND ME THE REPLY AS SOON AS POSSIBLE,
    THANKS  ADVANCED,

    HI
    WORKFLOW SEETING. SAP MAIL
    MULTIPLE MAILS AND
    ONLY ONCE CHOOSE
    ONLY ONCE OPTION ON WHICH VERSION U R WORKING?
    REWARD IF HELPFUL
    VENKAT

  • Urgent  Doubt in 3rd party

    Hi,
    In 3rd party, the customer sales information How to track the Vendor. And
    how to find the vendor delivery qty
    how to settled the Accounts
    How to settled the return materials to vendor
    Thanks for advace
    pls urgent
    Regards
    Rao

    Hello,
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    Now Z supplies the material to Y and acknowledges the same to X.
    Z  will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X  is to create an invoice and submit to Y
    Only after the invoice verification document is posted  then only X can create an invoice for Y.
    Third Party Return Process
    If the vendor grants you a credit memo on a quantity or a value basis, you can then send this credit memo directly to your customer.
    The billing type Third-party credit memo (G2S) is available for this. The billing type Third-party credit memo works with the item category TASG (third-party credit memo item). The Billing-relevance indicator F is set in Customizing for Sales for this item category. This means that the cost is not created. In Customizing for Sales, the item category TASG is set at item level in copying control for the billing type G2S (copying control sales document by billing document) as the target item category (source: TAS-> Target:> TASG.)
    Process Flow
    Create a billing document with billing type Third-party credit memo (for further information, see the section Creating a billing document in the Billing document). Enter the third-party order as a document still to be processed. The quantities are automatically removed from the invoice.
    The above is the process for giving a credit memo which can be adapted for return goods.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • Urgent : Doubt in writing a code in start routine

    Hi all ,
                 I am BI 7.0 system , I have doubt in writing a code in start routine .
    1) i have to extract the data first from a custom table based on one condition and then placing it into internal table .
    2) Now i have to loop at source_package for a particular region field say "ASIA". with this result i have to check for the correponding entries in custoom table .
       if condition is not true (i.e ) with entries or not matching then delete that particular record from source_package.
    i have written a small logic for this . but this is producing any ouput , Please check it and also let me know for modifications .
    thanks in advance.
    select * from zcsp
        into corresponding fields of TABLE itab_T
        where
        ZBUSINESSUNIT = 'BC'.
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE where /BIC/DPREGION = 'XE'.
                 loop at itab_t into itab_w where zcategory =
                   ls_source_package-/BIC/DPMAT/BIC/DPCAT.
                       if sy-subrc ne 0.
                         delete SOURCE_PACKAGE.
                       endif.
               endloop.
           endloop.

    You're deleting the entire input package.  You only want to delete the one row.
    DATA: g_tabix TYPE sy-tabix.
    SELECT * FROM zscp
    INTO CORRESPONDING FIELDS OF TABLE itab_t
    WHERE zbusinessunit = 'BC'.
    SORT itab_t BY zcategory.
    LOOP AT source_package INTO ls_source_package WHERE /bic/dpregion = 'XE'.
      g_tabix = sy-tabix.
      READ TABLE itab_t WITH KEY zcategory = ls_source_package-/bic/dpmat/bic/dpcat TRANSPORTING NO FIELDS BINARY SEARCH.
      IF sy-subrc NE 0.
        DELETE source_package INDEX g_tabix.
      ENDIF.
    ENDLOOP.

  • Urgent: Doubt in coding a logic

    Hi Experts,
    I have a doubt in coding a logic . The bussiness requirement is that i have to capture a string of alphabets and check for particular alphabet in particular position and then process the rest of the logic.
    the logic is given below , can anyone suggest me coding for this logic .Its very urgent . points will be rewarded.
    Logic:
    If 1st letter is D then
        If 3rd letter of DPVERSION is:
            A --> Asia (like DPA0202)
            C --> EMEA (like DPC0111)
            L --> Latin America LA (like DPL0502)
            N --> North America NA (like DPN0408)
            W --> EMEA (like DPW0207)
            D then
                if 4th letter is:
                    A --> Asia (no example yet)
                    C --> EMEA (no example yet)
                    L --> Latin America LA (no example yet)
                    N --> North America NA (like DPDN01TH)
                    W --> EMEA (like DPDW09TH)
                End If
          End If
    Else if 1st letter is X then:
         If 2nd letter of DPVERSION is:
            A --> Asia (no example yet)
            C --> EMEA (XEHC_RTF)
            L --> Latin America LA (no example yet)
            N --> North America NA (XNFAB_RTF)
            W --> EMEA (no example yet)
        End If
    End If
    Thanks in advance
    Kumaran

    Hi, I think you can adopt offset logic.
    assign character value to a variable  like string+2(3) = char
    then use case statement
    case char
    when 'A'
    write ASIA
    when--
    End case.
    Like this u can approach . 
    Hope this helps
    Regards
    Pavan

  • Urgent : Doubt on creating joins

    Hi friends,
    I have two tables , ekes and eine
    my requirement is if Ekes-ebtyp = 'X1'.
    then Ekes-ebtyp = EKES-EINDT + Eine-j_3alitra.
    the doubt is there is no primary key common between this table . actually in my whole program for purchase order i used EBELN for extracting details when two tables are involved . in this two tables no two primary keys are common to extract data ...is there any ways please suggest..
    the code i wrote is
    loop at li_ekes assigning <fl_ekes>.
    read table li_eine assigning <fl_eine> with table key (here i need to give some unique fields to join these two fields please guide me which field i can use.).
    <fl_ekes>-ebtyp = <fl_ekes>-EINDT + <fl_eine>-j_3alitra.

    Hi Gokul try this one,
    ekes-ebeln = eine-anfnr
    ebes-ebelp = eine-anfps
    Make join on this condition it will work.
    Reward if it is useful.

  • URGENT: Doubts in SRM5.0

    hi sir,
             i have some doubts in srm5.0 back end settings as shown below...
    1) what is VMC& how to activate VMC in SM52?
    2) what happend if i change the LOGICAL System for my naming convention in RFC destination?
    3) why should we maintain the local RFC within the SRM OWN server for what purpose? EVEN i having a SRM server.
    4) is it RFC user is a dialog user?
    5) I want to know the T.CODES for each &every menupath. pls tell me the path for that.
    my kind request to all can anyone send me solutions as written above questions URGENTLY.my id is      <b> [email protected]</b>
    WITH REGARDS TO ALL

    Hi
    1. For VMC check the link http://help.sap.com/saphelp_nw04s/helpdata/en/a9/26ae3c95164695accbf2483a14281e/frameset.htm
    2. Logical system name should be same as RFC destination (recommended by SAP), one reason may be, because for posting of IDocs in the system which will require same naming convention for LS name and RFC destination.
    3. I think, The local RFC is for creating the follow-on documents for SC in SRM system.
    4. RFC user may be a dialog or a system/communication user. For search helps you can RFC as dialog uer and for other data transfers thru RFC, it should be made as communication/system user.
    5. For Tcodes you can look at TSTC table. One alternative to find T-codes for an activity is (only some will work): SPRO - Menu options - Additional Information - Additional Information - Display Key - attributes.
    Rgds
    Reddy

  • Urgent problem: customizing collaboration room annoucement page

    Hi all,
    I am creating a project room template by modifying the Standard Project Room template delivered by SAP.
    Here is what I want to do:
    For the Announcement page that contains the Date Announcements (roomNews) iView and the Milestones iView, I want to make it such that only someone in the projectLead room role can edit them.  Regular project members can only view the Date Annoucements and the Milestones but cannot create new news or milestones.
    1) I guess the best way is to create copies of the iViews and remove the 'new' link from them.  Any hints about how to go about doing this?  I realize that the layout sets of the two iViews (called AppMilestoneExplorer and AppAnnouncementExplorer respectively) do not have any command groups in their Resource Renderers.  The 'edit' link from the option tray of these iViews will open up to a new page containing either the AppAnnouncementExplorerEdit or the AppMilestoneExplorerEdit iViews (this is by default, from SAP).  How can I see the connection between these two sets of iViews (the ones appended with 'Edit' and the ones without)?  The Annoucement page only contains the iViews with the AppMilestoneExplorer and AppAnnouncementExplorer layout sets...
    2) In order to remove the 'new' link, do I just go into the Link Command Group and remove the command from the command list itself?  What are the difference between Resource, Folder, and Link Command groups?
    3) I am to create two iViews (one with the corresponding command in the layout intact and one modified), assign each of them to different pages and then furthermore assign the projectLead role to one page and the regular member role to the other.  However, how is it possible to make the two pages in 'sync' to one and other.  For instance, if the projectLead creates a new annoucement in his own annoucement page, then the regular members should be able to see this annoucement updated on theirs.  Does this has something to do with setting up an extension in the template, relating to the two iViews together (ie. by having the two iViews pointing to the same extension)?  Anyone can elaborate on this? (I am just making an eduated guess)
    Thanks, urgent problems, points will be awarded generously
    Charles

    Hi sweta,
    It is known issue and recently I have the same problem ;). You must add suitable permission for end user to the iView: portal_content/com.sap.pct/Collaboration/iViews/com.sap.netweaver.coll.CMSearch. It is placed here: Portal Content->Content Provided by SAP->Collaboration->iViews->CM Search. For me it seems to be a bug, because template worksets which you are using for your room doesn't contain this iView. I've opened OSS request and they suggested changing permissions. I've also asked for some explanation why wrong search iView is used inside room worksets but I am still waiting for replay.
    Best Regards,
    Michal M.

  • Nokia 5610 CUSTOM 5 way navigation key

    can i custom the 5 way navigation key of my n5610 XpresMusic???
    like putting the 5 way navigation key of the 7610 supernova to the 5610 if the size is the same or the 5way navi key of the Nokia X3?? so i can easily pressed the navi keys of the 5610.
    >D-A-N-I-C-O-L-E
    XpressMusic User, Iphone and Blackberry Lover
    Phones: Nokia 5610 XpressMusic(v10.00), Nokia 5130 XpressMusic(V7.91), Nokia 5800 XpressMusic

    If what you mean is about doing somethng yourself to the Hardware of the phone by dismentalling...then this is not the place..as anything that voids the Warrranty can not be discussed here...
    --------------------------------------------------​--------------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

  • Urgent : Doubt in SVM Model

    Hi ,
    I ma using ODM10.2.3 version .I am running SVM model on a dataset , which contains roughly 50,000 records . But when i am running the model it is taking huge time , before it didn't happen to me , but now it is taking very huge time comparitively , and it is getting strucked . I don't know the reason why it is happenning ( Taking huge time and model getting strucked) . could you explain me:
    1. what are the requirements for running SVM Model (space or any other settings internally ..... )
    2. Is there any solution for this problem ?
    Note :_ Atlast i can't see whether the model has been ran or not .
    Edited by: user618907 on Oct 10, 2008 3:11 AM

    Hi,
    There is not enough information in your posting to offer much in the way of suggestions.
    Are you using Data Miner to build the model or are you using the api?
    Do the input columns contain any nested columns?
    Are you properly transforming the input columns?
    If you are using Data Miner this is done for you but if you are using the api you must accomplish this on your own or generate pl/sql code from Data Miner.
    Thanks, Mark

  • Urgent doubt in validating numbers

    Hi Experts,
    i have a doubt that how can we checking and validating all numbers; mind you: the US uses different decimal notation so it would have to format into SAP's internal, catching conversion exceptions and notifying the user if such occurs?
    Thanks

    Hi
         Here iam giving 1 example .
    The Excel sheet provides:-template to fill out by user-control fields to verify what data format is used by userThe sheet must be protectedWe use control fields in the spreadsheet (protected, cannot be changed by user) to store a predefined date (i.e. 12/31/2005) and number (i.e. -12345.67). The upload program will read these values and confirms the user’s settings for date and number formatting.
    wa2_datatab-col020(4) = wa_datatab-col026(4).
    wa2_datatab-col024(2) = wa_datatab-col023(2).
    wa2_datatab-col026(2) = wa_datatab-col020(2).
    data: l_month(8) type c,
          l_mnr(2) type c.
    l_month = WA_DATATAB-COL02+3(8).
    perform sub_get_month using l_month
                          changing l_mnr.
    wa2_datatab-col02+3(2) = l_mnr.
    form sub_get_month  using    p_l_month
                        changing p_l_mnr.
    select mnr
           from t247
           into p_l_mnr
           where spras = sy-langu
           and ltx = p_l_month.
    endselect.
    how can do this?plz give the code DATE can be formeted as above logic but how can format number?
    Thanks
    Message was edited by:
            bhanu

  • Urgent-doubt in servlets

    hi to all,
    i am using tomcat server.i have a doubt in executing packaged servlet and it shows error 404 cannot resolve symbol when i tried to access thru browser
    i have attached below the mapping content of web.xml.Actually the servlet file got executed for packageless servlet and there is a
    problem in executing the packaged servlet.
    Any help would be highly appreciable because i have tried few methods
    and it didn't work out.help me
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <* mapping content for packageless servlet */
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/servlet/HelloServlet</url-pattern>
    </servlet-mapping>
    <* mapping content for packaged servlet */
    <servlet>
    <servlet-name>HelloServlet2</servlet-name>
    <servlet-class>moreservlets.HelloServlet2</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet2</servlet-name>
    <url-pattern>/HelloServlet2</url-pattern>
    </servlet-mapping>
    </web-app>
    reg,
    arv

    Hi aarvindk,
    I remember <servlet-mapping> tags must appear after any <servlet> tags in web-app document.

  • Urgent : Doubt in Chart of accounts & Report generating

    Hi Gurus,
    Hope all are doing well !!
    I have a doubt in generating Balance sheet & Financial statement report for country specific COA.
    The Scenario is like this:
    We have 3 Company codes and all company codes are assigned with single operating chart of acconts.
    In one company code there is an addtional requirement of maintaining country specific COA.
    All three company codes are maintaining same Group (consolidated) chart of accounts.
    Now my question is :
    How to generate FS report for Country specific COA for the Company code along with the operating COA? And also would be helpful if you can explain me how it can also be for Group chart of account.
    As per my understanding once you assign an operating COA to a co code and account determination is done, the table SKB1 (GL master co code segment)will get linked to the respective co code and you may not be able to creat data in co code segment of GL master record for another COA (Viz.Country specific COA). There is no such customisation has given to adopt this. Probably there should be some report or program need to be executed to copy the relevant table and country templates.
    It would be helpful if you can provide some documentation on this please forward it to me.
    Thanks in advance for your valuable suggestions.
    Best regards,
    Sudheer
    Message was edited by:
            sudheer Raja Gubba

    In IMG, under 'Global parameters for company code', you need to mention the country chart of Accounts in one of the fields.
    In the GL master, you need to fill in the Alternate Account number field with the Account from the country COA.
    As for reporting,COA is one of the selection criteria for any standard report anyway.
    Hope this helps
    Thanks
    Raja

  • b Urgent.Doubt in Scripts regarding itcsy.

    Hi All, I have the requirement to modify the Standard Script (F140_ACC_STAT_01) and Print Program name is (RFKORD10) to add three fields  at item level to display to print <b>Due Date ,Past Due and PO# number </b>.for these fields i am using <b>RF140-VSTID ,RF140-VZTAS and BSID-SGTXT</b>. In the Print Program i am able to see those fields also. but when i execute program i am not getting the values for those fields . For this Can i call the External Subroutine to display those values. if so what conditions should i have to follow and which table i have to use . At item level Can we use the external subroutines. Otherwise i need to modify the Standard Print Program.Please suggest me. it will be greatful if you help me.

    There are two things -
    1. Did you attach ur custome program to driver program?
    2. The important thing, even the fields are there in driver program, but is it sending it to Script during WRITE_FORM. Try to search for that.And check out the structure in Script, what fields it has and is any of them is useful for you.Otherwise write a routine before calling any Text Element in the main window
    or in secondary window.
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for

  • Itunes not coming up when I click on the icon???

    Please help! I have had itunes for months and have had no problems until now. All of the sudden when I click on the itunes icon nothing happens. I double click as usual, the hour glass appears for a mimute and then nothing. Does anybody have any idea

  • What would make my iMac start to smoke?

    While working on,my computer tonight it shut down.  t had been working fine but just simply lost power.  When I turned it on, it was smoking!  I turned it off immediately but there was quite a lot of smoke...scared me to death.  What would cause that

  • Save Hierarchy step in process chain

    Hi All, I have a process chain which include the following steps. Z* program([for loading multiple hierarchies   |http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0d5c74a-8a39-2d10-2d8b-9e1971cb053a]) --> Save hierarchy --> Change run In the a

  • How can i get a beat box in garage band

    How can I get a beat box(drums) in garage band?

  • Best way to save every night a project and  one more

    I have a typical raid setup. E= 2   0 striped drives and F= 2   0 striped drives. At the end of a day, what is the best way to offload then bring back in the next morning to keep working? I have been just offloading via project manager collect files