How to catch the userid and use it in a query?

Hi,
I have the table
users
===========
userid
password
user_name
nationality
order table
==============
order_no number
order_date date
notes varchar2(50)
deptname varchar2(50)
userid varchar2(20) it references users.userid
every portal user has an account on the oid and is mapped and synchronized in the users table
i have the form
order form
==========
orderp_no number
order_date date
notes varchar2(50)
status varchar2(50)
form_user_name lookup on users.userid
form_nationality lookup on users.nationality
================
I want for every authenticated user when the user access the order form from the portal page
1- the user data user_name , nationality is to be fetched (selected)
from the users table where userid = the userid of the user by which
he is authenticated against the OID
2 - the user_name is to be assigned to the form field form_user_name
and the nationality is to be assigned to form_nationality
3 - once the user sumbit the request the request_no is to be generated as
max (order_no) + 1 and is assigned to the field order_no
How can i implement 1 , 2 , 3?
Best Regards
Mohamed Hammed

Hi i
from the form i set the default value of the field form_user_name PORTAL.WWCTX_API.GET_USER and the default fomat type to expression return varchar
Now
=======
the authenticated user id appears in the field form_user_name and is inserted properly in the oirder table
Question
========
i want every authenticated user can query only his orders which means when he prss the query button , he will get his orders only
How can i force the where clause of the query to have
form_user_name = PORTAL.WWCTX_API.GET_USER
Regards
Mohamed Hammed

Similar Messages

  • How to Increase the Rows and Columns Size of Bex Query in Enterprise Portal  of SAP  7.3

    Dear All,
    Please let me know the process how to Increase the Rows and Columns  Size of Bex Query in Enterprise Portal  of SAP  7.3 .
    Currently I am getting Only  4 columns and 10 rows in One Page .And I am getting 1,2 etc tabs for both row and column. So i want to increase the column length more than 100  and row length more than 10000.
    Please suggest me a suitable solution to over come this issue.
    Please find the Below screen shot.
    Thanks
    Regards,
    Sai

    Dear All,
    Please find the attached screen shot.
    The report be open with 4 or 5 columns and 5 or 6 rows.
    So, please  let me know how to increase the length of the table.
    Do the needful for me to over come this issue.
    Thanks
    Regards,
    Sai.

  • How do pass the UserID and Password in the SOAP header for web services

    I am encountering issues trying to pass the userid and password in the SOAP header when consuming a 3rd party web service.  Rostewitz posted something similiar but I don't know how to type iv_xml.  Any help would be greatly appreciated.
    Thank you,
    jpina

    It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

  • How to embed the UserID and Password in WSDL

    Hi
    is there any way to embed the UserID and Password in the WSDL file that is generated by XI.
    Thank You,
    Madhav

    Hi,
    It is not possible by using SOAP adapter. But you can use http adapter with user and password instead of SOAP adapter.
    Follow Stefan Grube's postings in thread how to add the username and password into the WSDL
    Regards,

  • How to recover the userid and password with out losing data in c drive

    Hi, i have ibm server and installed windows server 2008 r2 standard. i forgot the userid and password for login so i used the password crack tool after that try to login but it shows " The login credentials are in correct" so how to login to
    system and get the c drive data safely with out loose.

    Hi,
    According to your description, I assume you have forgotten the administrator’s password. If you have another administrator account, you can use it to reset the password.
    If you don’t have another administrator account, then there is no Microsoft recommended way to reset passwords due to security considerations.
    Here are some similar threads below I suggest you refer to:
    Forgot Password for Windows Server 2008 R2
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/cc3a6a12-66e9-4a06-97fd-2a5c89d627bc/forgot-password-for-windows-server-2008-r2?forum=winservergen
    forgot windows server 2008 r2 admin password
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ab435f7e-3927-4fda-a991-80f42e18089b/forgot-windows-server-2008-r2-admin-password?forum=winservergen
    Best Regards,
    Amy Wang

  • How to increase the row and Column length of Bex query in EP Portal 7.3

    Dear All,
    Please let me know the process  to Increase the Rows and Columns  Size of Bex Query in Enterprise Portal  of SAP  7.3 .
    Please  let settings to increase rows up 10000 and column 100 in one page.
    Thanks
    Regards,
    Sai

    Dear All,
    Please find the attached screen shot.
    The report be open with 4 or 5 columns and 5 or 6 rows.
    So, please  let me know how to increase the length of the table.
    Do the needful for me to over come this issue.
    Thanks
    Regards,
    Sai.

  • How to unlock the safari and use it if there is a server and you blocked.

    Dear Friends,
    I have a difficulty with the use of internet, the problem is that in my university it is blocked to go to some web pages and download files.
    It has been told that we can use the internet only with academic purposes, but still there are some students who are able to access everything.
    In my case I am using a mac osx lion and don`t know such hints. And I thought the best way is to ask people who might know it better.
    Hope you understand the circumstances and help me!
    I shall be looking forward to hearing from you soon!
    Best regards
    Azizbek Musaev

    There is no other way to locate it.
    Sorry

  • How to disable the phone and use the camera on a p...

    Hello
    im off on holiday soon and really want to travel with my n95 8gb.
    does anyone know of a way to actually tuen the phone bit off and just use the camera and video camera as to not interfere with the planes instruments i.e. no mobile phones allowed.
    no idea if there is a way to do this but it would be useful if i could
    many thanks

    Briefly press power and then select the OFFLINE profile.
    This will turn off all radios.
    Just be aware that on some flights some flight attendants may not allow phone usage even in OFFLINE mode.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • How to catch SSO userid and store it in deployment database?

    Hi,
    Environment: OID,Portal,forms,reports 9.0.2.3
    How do I do if I have a SSO user, lets say DAVE, and he has a resource pointing to a Deployment database un/pw@ORAC? When he has made his SSO login and choose a form I want store his real userid in the database ORAC. For example in v$session and in a history table. I want to be able to trace a blocking session back to the real user.

    Hi i
    from the form i set the default value of the field form_user_name PORTAL.WWCTX_API.GET_USER and the default fomat type to expression return varchar
    Now
    =======
    the authenticated user id appears in the field form_user_name and is inserted properly in the oirder table
    Question
    ========
    i want every authenticated user can query only his orders which means when he prss the query button , he will get his orders only
    How can i force the where clause of the query to have
    form_user_name = PORTAL.WWCTX_API.GET_USER
    Regards
    Mohamed Hammed

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

  • How to catch the error occurred in Integration Process, and then save it?

    1. how to catch the error occurred in Integration Process, and then save the detailed error message to the file?
    2. there are fault message type for inbound message interface, how to use the fault message type in IR?
    Thanks,
    Michael
    Message was edited by: Spring Tang
    inital
    Message was edited by: Spring Tang
    detailed message output
    Message was edited by: Spring Tang
    fault message type

    Hi Spring,
    If u give an exception step along with your Transformation Step, whenever some error occurs in your message mapping, this exception block wil be triggered.
    You can configure your exception block to do all exception processing that you want. This exception handling is like any other java Exceptio n Handler. You can do anything that you want in your exception handler block on the basis of your requirements.
    <i>If an exception is triggered at runtime, the system first searches for the relevant exception handler in surrounding blocks. If it does not find the correct exception handler, it continues the search in the next block in the block hierarchy.
    When the system finds the correct system handler, it stops all active steps in the block in which the exception handler is defined and then continues processing in the exception handler branch. Once the exception handler has finished processing, the process is continued after the block.
    If the system fails to find an exception handler, it terminates the integration process with an error.</i>
    Regards,
    Bhavesh

  • How to get the values and attributes of Longlived processes by using ProcessID.

    Hi Experts,
    For  every process we creates, LC ES2 creates processID.
    we know that if you creates  a long lived process, all  the  values which are in proces will be stored some where  in DB.
    Here my requirement is by using  processID I need to get all/some values/variables stored in database.
    I am not able to get values using processID. Here I don't have clue on  how to get the values.
    Please tell me  how to get the same by using  Process Management. Link/guide would be helpful
    Thanks
    Praveen.

    Searchable means you can put a filter criteria on it (e.g. where amount > 50000)
    Visible means you can add have this column returned as an output (and therefore you can add it as column in listview and see it in Task Details).
    These two attributes were provided so that queries could be done against the process variables, but the exact contents of the variables are not allowed to be seen.

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • How to change the name and description of a wim using DISM

    With Imagex we could update the name and description of the wim with on easy command:
    imagex /info img_file [img_number or
    img_name] [new_name] [new_desc]
    e.g.
    imagex /info Win7Combined.WIM 1 "Win7(x86)" "Windows 7 x86"
    Since the ImageX tool is deprecated in Windows 8 and has been replaced with DISM, can someone explain how to update the name and description with one easy command using DISM like we could with Imagex?

    It looks like this person had the same issue. Have you seen this
    link
    It talks about exporting an Index into a new WIM. Which, in a way, would be renaming it. It's really recreating it and you have to give it a name. But it seems to work.
    Dustin Estes - MCP | www.dustinestes.com

  • How to restart base station from airport utility? I used to be able to do it remotely  I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose t

    How to restart base station from airport utility? I used to be able to do it remotely
    I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
    With my prior macbook and same time capsule, etc  if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
    Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
    Thanks in advance

    You are likely forgetting a step.
    Open AirPort Utility
    Click on the Time Capsule icon
    Click Edit in the small window that appears
    Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
    Click Restart

Maybe you are looking for