OCI Punchout - Standard Call Structure - Creates new session each request
Hello all,
I am having trouble with a customer attempting to do OCI Punchout with the Standard Call Structure. I have other customers successfully punching out in this same system. Here is a breakdown of what is happening. Our catalog is a combination of classic ASP with VB6 Com objects
1 - The user POSTs their call structure to our /ocilogin.asp page and we set a session variable after successfully log in
2 - The user is then redirected to our /MainFrameLoad.asp page which houses our catalog.
3 - The problem occurs here because the Session_OnStart method in the global.asa file is called again, which should not happen because session has already been established. The logic in this method checks for the session variable created in /ocilogin.asp but it does not exist.
4 - It looks for a username/password via querystring and does another login, which then redirects them again to /MainFrameLoad.asp and the infinite loop begins.
I'm convinced that their system is creating new unique requests each time which is causing the session variable to disappear. I've tested their ability to accept cookies, which would also effect session variables, but that seems to be fine on their end.
My question is how can I tell if their system is properly handling cookies/requests? I have plenty of example of people punching out with the exact same call structure, but its just their system that seems to have the issue.
Hi,
SRM 7.0 catalog integration differs from previous releases, the reliance on OCI 4.0 compliance is much stricter, please see the note [1287412 |https://service.sap.com/sap/support/notes/1287412]for more details on the required settings in the SRM system, perhaps let your customer also know about this note.
Regards,
Jason
Similar Messages
-
What is the function code of create new session?
what is the function code of create new session?
thanks...Hi
Please put a "/n" (to open a new session after killing the current session)
or "/o" (to open a new session without killing the current session)
or "/i" (to end the current session) before the below T Codes as per your requirement...
<u><b>For more Tcodes check the following</b></u>
=>smartforms - Smartforms (SAP Form Builder to Create and Adjust Forms)
=>cmod - Enhancements, User Exits (Project Tool to coordinate changes into projects for the purpose of activating all user exits for a particular project)
=>sale - ALE Customizing
=>bale - Distribution Administration (ALE)
=>wedi - IDOC Type and EDI Basis
=>shdb - BDC (Transaction Recorder)
=>lsmw - LSMW
=>bapi - BAPI
=>spau - Display Modified DE Objects
=>spdd - Display Modified DDIC Objects
=>sara - central idoc archiving
=>stms - Transport Management System
=>wedi - IDOC Type and EDI Basis (IDOC Configuration)
=>bd21 - Analyze change pointers - create IDOC from change pointer
=>bd10 - Send Material Master
=>bd12 - Send Customer Master
=>bd14 - Send Vendor Master
=>bd50 - Activate Change Pointer for Message Type
=>bd55 - Conversion rule user exit (Link conversion rule user exit to the different system \ partner combinations)
=>bd54 - Maintain Logical Systems
=>bd71 - Distribute Customer Model
=>bd87 - Process Inbound IDOCs
=>bd88 - Process Outbound IDOCs
=>bdm2 - Cross-system IDOC Reporting
=>bdm7 - ALE Audit - statistical analyses
=>bdm8 - ALE Audit - sending confirmations
=>bd61 - Activate Change Pointer generally
=>bmv0 - Direct Input Data Transfer Administration
=>rz04 - Operation Mode
=>rz12 - RFC Server Group Maintenance
=>sar3 - Archiving object customizing
=>s001 - SAPoffice Inbox
=>s010 - Standards Texts (SAP Script)
=>se01 - Transport Organizer (Extended View - Performing and managing the transport of development object across different systems)
=>se09 - Transport (Workbench) Organizer (Controlling and keeping track of Development work and Development Objects)
=>se24 - Class Builder (BAPI)
=>se30 - Runtime Analysis
=>se36 - LDB
=>se37 - Function Builder
=>se38 - ABAP Editor (to modify ABAP programs)
=>se39 - Split-Screen-Editor
=>se11 - ABAP Dictionary
=>se16 - Data Browser (Table contents display)
=>se41 - Menu Painter
=>se51 - Screen Painter
=>se71 - SAPScript Forms
=>se73 - SAPScript Font Maintenance
=>se75 - Graphic Objects and Graphic IDs Sapscript Settings
=>se78 - Administration of Form Graphics (Import Graphics into SAP System)
=>se80 - Object Navigator
=>se84 - ABAP Repository Information (search for SAP objects)
=>se91 - Message Maintenance
=>se93 - Maintain T codes
=>su01 - User Maintenance (Security)
=>su02 - Maintain Authorization Profiles
=>su03 - Maintain Authorizations
=>slg1 - Evaluate Application Log
=>sm12 - Lock Entries
=>sm21 - System Logs
=>sm36 - Background Job Scheduling
=>sm37 - Background Job Monitoring (display batch jobs)
=>sm31 - Table Maintenance
=>sm30 - Calling View Maintenance
=>sm35 - Batch Input Monitoring (Error Logs)
=>sm50 - Process Overview
=>sm58 - Transactional RFC Monitoring
=>sm59 - Maintain RFC Destinations (Define RFC Configuration)
=>snro - Number Range Objects (for IDOCs)
=>scc4 - Client Overview (Create, Quick Delete, Modify)
=>spro - Customizing, Execute Project
=>sp01 - Spool Administration
=>sq01 - Maintain SAP Queries
=>st02 - Buffer Analysis (Status Overview)
=>st03 - Workflow Analysis
=>st05 - Performance SQL trace (Tracking the Database calls from the System Transaction and Programs)
=>st22 - ABAP Dump Analysis, check logical runtime errors
=>/h - ABAP Debugger
=>we02 - Display IDOC
=>we05 - IDOC lists
=>we07 - IDOC statistics
=>we12 - Inbound processing of outbound file - convert outbound to inbound file
=>we14 - Process (dispatch) IDOCs through Port - RSEOUT00
=>we15 - Outbound IDOC from NAST - message control
=>we16 - Inbound File
=>we18 - Generate status file
=>we19 - Test tool
=>we20 - Add new Message Type to Partner Profile
=>we21 - Maintain Port Definition
=>we30 - IDOC Type development
=>we31 - IDOC Segment development
=>we41 - Process Code Outbound
=>we42 - Process Code Inbound
=>we46 - IDoc Administration
=>we47 - Status Code Maintenance
=>we57 - Assign function module to logical message and IDoc type
=>we63 - IDOC Type for Parser Output
=>we82 - Assign IDOC to Message Type
=>we60 - IDOC Documentation - IDOC Types
=>we61 - IDOC Documentation - IDOC Record Types
=>we81 - Create new IDOC Message Types
=>we82 - Assign IDOC to Message Type
=>pa20 - Display HR Master Data
=>pa30 - Maintain HR Master Data
=>bd59 - Create and assign Filter Object Type for Message Type
=>bd64 - Maintenance of ALE or any other Distribution Model
=>db02 - Storage Management and Database Performance
=>db14 - Database monitor
=>se18 - BADI definitions
=>se19 - BADI implementations
=>fd03 - Accounts Receivable Master Data (Display Customer in Accounting)
=>me22 - Change Purchase Order
=>me21 - Create Purchase Order
=>me51 - Create Purchase Requisition
<u><b>Official source of SAP T Codes -</b></u>Go to se11 or se16 and view table entries for
TSTC and TSTCT. This will give you the Transaction List.
Reward all helpfull answers
Regards
Pavan -
Create new session for each window opening
From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
How can i create new sessions for each page thru the servlet or is there any other alternativesI actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
Each browser window (Except in one case with IE) will use the same session in each window.
However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
Best of Luck,
Nate -
SAPGUI iview from SAP Portal = create new session results in empty screen
we use ep700 sp10 and sapgui 6.40 compilation 5 . we have a sapgui iview which starts the login to the R/3 system and shows the user menu with some transactions.
if the user now creates a new session with the buttom "create new session" in the sapgui screen he gets a new but empty session ==> i expected , that he gets the normal sap entry screen with the user and sap menu.
does anybody now how to get that ?
many thanks hannes toefferlHi,
Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
Restart the portal for the change to take effect.
Hope this helps.
Cheers,
Sunil
PS: Reward points for helpful answers. -
HOW CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION
<b>HOW</b> CAN I KNOW THE FUNCTION CODE OF CREATE NEW SESSION?
THANKS...Hi
Please put a "/n" (to open a new session after killing the current session)
or "/o" (to open a new session without killing the current session)
or "/i" (to end the current session) before the below T Codes as per your requirement...
Try thistoo <b>O0</b>
<u><b>demo-like programs</b></u>
RSIMC000
RSIMC001
RSIMC002
RSIMC003
RSIMCTRX
RSIMCTST
Reward all helpfull answers
Regards
Pavan -
This is the scenario:
I'm using ie6. If I open a new window by clicking File-->New-->Window, it will open a new window with the same session as the opener window.
Now in my new window, I go to my login page, and in my login code, I set some value to the session, which will overwrite the value of the session in both window.
But what I actually intend to do is when the new window do the login, I want it to have a new session, so it won't overwrite the session in the first window.
I'm sorry if my explanation is a bit confusing. In short, what I want to do is create new session manually using java code. Is that possible?No it is not possible.
The server can only issue a new session if it can distinguish between browser windows.
The internet browser treats the windows as being the same session, and that's what it tells the server.
If you start a new instance of IE using the shortcut from the desktop, that creates a seperate session, but any 'child' windows opened by javascript, or by file:new window are part of the same process. -
Security Network Layer (SNC) error when creating new session
in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions. Also, its only some users.
Where would I find log information resulting from the error? Or any suggestions on steps to troubleshoot?
Thanks!Hello Erik,
Issue actually belongs to BC-SEC-SNC, not SAPGUI.
The attached note advises how to run a trace to get more information about the issue
150104 collecting dev_trace of user session via SM04
If you recreate the issue again with the active trace, you might have more sucess with a reply.
Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
Kind Regards,
Jude -
Create New Session with SAPShortcut Logon
Hello
Following Problem:
We start a SAPLogon for Windows with Shortcut File from our Portal. There we want to create a new Session , we get a blank SapGui screen without favorites an menu????
Portal Version EP7 SP10I found the solution in the following Thread . Answer posted from Sunil Nair
SAPGUI iview from SAP Portal => create new session results in empty screen
Posted: Apr 25, 2007 6:00 PM in response to: HANNES TOEFFERL E-mail this message Reply
Hi,
Go to the file .../irj/root/WEB-INF/portal/portalapps/com.sap.portal.appintegrator.sap/property/Transaction/WinGuiRenderLayer.properties
In this file, change -wp=true to -wp=false and also Workplace=true to Workplace=false.
Restart the portal for the change to take effect.
Hope this helps.
Cheers,
Sunil
PS: Reward points for helpful answers.
.... This works great!!!! -
Stop to Create New Session.
Hi Expert.
Please help me, We have create some Z module , For security Purchase we are create Z Logon Screen for Our Module.
Now Problem : Here Some Time End user direct work without to Logon. There are create new session.
Required Solution : Stop to Create New Session Till User not Logon Successfully.
Please refer below screen.....
thanks.
Pradip Patel.You said for security reasons you provided your users the possibility with another logon inside the SAP Logon? So there is another part of the applications that are accessed only when the user has the rights to work there? If so, shouldn't in-built roles assigned to the user be all that is necessary?
You should not be trying to disallow the user to create another session - as the session itself does not grant to him / her any privilegues. It is just another place where the user can work. And it should be held like that.
But maybe I did not catch your requirement - please provide more information about the Z-logon screen. What is it? -
Call transaction in new session (but only one)
Dear all,
as a hotspot functionality I would like to open a new transaction in a new session. For that reason, I use the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK.
However I would like to restrict the new tasks in a way that only one session is used (no matter how often the user clicks the hotspot. Kind of like the ABAP Help in the workbench.
I checked the class CL_IMC_MODE to see if it could work as a new internal session but the new mode dumped when I pressed the back button and according to the dump Statements that closes the internal mode unexpectedly like LEAVE are not allowed. Since I call standard transactions (like VA03) I can hardly prevent that. Did I miss something or do you have any other idea how I could solve my problem?
Thank you for any input.
ChristianHi Christian,
Here is a sample code that takes in a sales order number, displays the document number as hotspot and when the user clicks on the hotspot, it opens a new window for displaying the order. No matter how many times the user clicks on the hotspot, it will only display one window for VA03. I hope this solves your problem.
REPORT ztest.
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: ls_vbak LIKE vbak.
DATA: BEGIN OF i_rfc_spagpa OCCURS 0.
INCLUDE STRUCTURE rfc_spagpa.
DATA: END OF i_rfc_spagpa.
DATA: v_mode LIKE sy-index.
START-OF-SELECTION.
SELECT SINGLE * FROM vbak
INTO ls_vbak
WHERE vbeln = p_vbeln.
IF sy-subrc <> 0.
*-- error.
ENDIF.
WRITE:/ ls_vbak-vbeln HOTSPOT,
ls_vbak-vkorg.
AT LINE-SELECTION.
CASE sy-ucomm.
WHEN 'PICK'.
*-- Delete the previous session and then call VA03 in a new session
CALL FUNCTION 'TH_DELETE_MODE'
EXPORTING
mode = v_mode.
CLEAR: i_rfc_spagpa, i_rfc_spagpa[].
i_rfc_spagpa-parid = 'AUN'.
i_rfc_spagpa-parval = p_vbeln.
APPEND i_rfc_spagpa.
CLEAR i_rfc_spagpa.
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'
EXPORTING
tcode = 'VA03'
skip_screen = 'X'
mode_val = 'A'
update_val = 'A'
* IMPORTING
* SUBRC =
TABLES
* USING_TAB =
spagpa_tab = i_rfc_spagpa
* MESS_TAB =
EXCEPTIONS
call_transaction_denied = 1
tcode_invalid = 2
OTHERS = 3 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
WHEN OTHERS.
ENDCASE. -
Call transaction in new session not working inside CRM Interaction Center
Hi Experts,
I have developed a report which contains a screen with push button. When user clicks on button a transaction (FPL9) is being called and opened in new session or window. But when the report is being called in CRM Interaction Center using transaction launcher and button is clicked no new session or new window is being opened. Our requirement is FPL9 transaction will be opened in new session / window inside Interaction Center also.
Please help me how to open a new session or window in interaction center on push botton click.
Thanks in advance.
Regards,
ArnabHi Anil..
This is the Solution for ur Requirement. try this program and change as per ur need.
REPORT ZSEL_CALL_TCODE.
data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
LOOP AT IT_KNA1 .
WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
HIDE IT_KNA1-KUNNR .
ENDLOOP.
CLEAR IT_KNA1-KUNNR.
AT LINE-SELECTION.
CASE SY-LSIND.
WHEN 1.
IF IT_KNA1-KUNNR IS NOT INITIAL.
REFRESH IT_SPA.
IT_SPA-PARID = 'KUN'.
IT_SPA-PARVAL = IT_KNA1-KUNNR.
APPEND IT_SPA.
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
EXPORTING
TCODE = 'XD02'
SKIP_SCREEN = ' '
MODE_VAL = 'A'
UPDATE_VAL = 'A'
IMPORTING
SUBRC =
TABLES
USING_TAB =
SPAGPA_TAB = IT_SPA
MESS_TAB =
EXCEPTIONS
CALL_TRANSACTION_DENIED = 1
TCODE_INVALID = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDCASE.
<b>Reward if Helpful.</b> -
Call transaction in new session with the value at hotspot
Hi all,
As a hotspot functionality I would like to open a new transaction in a new session with the value at hotspot. For that reason, I am using the FM ABAP4_CALL_TRANSACTION with the option STARTING NEW TASK.
This FM is not working because Parameter ID is not Maintained for the field (Hotspoted). So no value is passing to new transaction.
Please suggest any other way to implement this.
ThanksHi Anil..
This is the Solution for ur Requirement. try this program and change as per ur need.
REPORT ZSEL_CALL_TCODE.
data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
LOOP AT IT_KNA1 .
WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
HIDE IT_KNA1-KUNNR .
ENDLOOP.
CLEAR IT_KNA1-KUNNR.
AT LINE-SELECTION.
CASE SY-LSIND.
WHEN 1.
IF IT_KNA1-KUNNR IS NOT INITIAL.
REFRESH IT_SPA.
IT_SPA-PARID = 'KUN'.
IT_SPA-PARVAL = IT_KNA1-KUNNR.
APPEND IT_SPA.
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
EXPORTING
TCODE = 'XD02'
SKIP_SCREEN = ' '
MODE_VAL = 'A'
UPDATE_VAL = 'A'
IMPORTING
SUBRC =
TABLES
USING_TAB =
SPAGPA_TAB = IT_SPA
MESS_TAB =
EXCEPTIONS
CALL_TRANSACTION_DENIED = 1
TCODE_INVALID = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDCASE.
<b>Reward if Helpful.</b> -
Hi, From our integrated desktop application,We launch web applications .On using firefox to navigate to the webpage which is depending upon the context of the user's page opened,new session has to be created for each user.However I could not find the support parameters in about:config. FF version being used is FF 3.6 .No possibility to include external addons to support this feature.Is there a way to create multiple new sessions ?
What do you mean by "multiple new sessions"?
Firefox 31 is the current release version, Firefox 3.6 is over 2 years beyond being supported by Mozilla. -
Hi All,
When I open one window in javascript using window.open it has the same session as the parent window.
Is there any option I can make the new session for the new window.
Thanks
Vineet BhattIf your app. server is set up to accept session id's to be carried in the URL, then supply an empty or incorrect value as the session id and the application server will react by issuing you a new session.
-
What more details do you need? I want to open a new session when I use your product rather than have the product go through the slow tedious process of trying to recreate the previous session.
Please see this support article on [[Session Restore]]. Follow the instructions under the "Configuring session restore" header. When you get to the step where it says "Show my windows and tabs from last time" you can choose from showing your homepage or showing a blank page instead.
Maybe you are looking for
-
3GS phone is stuck on "connect to iTunes" graphic, iTunes doesn't recognize it
During IOS 5 upgade process, after iTunes performed backup and wipe, screen went to "connect to iTunes" graphic, however, iTunes will not recognize it. I can't perform a restore until I can get iTunes to recognize it. Can someone give me detailed d
-
Iphoto 11 thumbnails partly blacked out after importing
My existing library of approximately 12K photos in iPhoto 11 appears fine with no problems. However, now I find that when I try to import new photos into it, the thumbnails as well as the imported photos are partly blacked out. The import process
-
I purchase an ipad in Germany, how do I get the apps store to display in english?
I purchased an ipad in Germany. I set it up as an english machine but the apps store still diplays in germa. How do I access an english version of the apps store?
-
We are having the following setup : WebLogic 5.1 Microsoft SQL Server 7.0 JDK 1.2.2 Weblogic MSSQLJDriver for SQL 7.0 We are facing the following problem: We have installed Chinese Language pack in the client as well as in the machine where sql serve
-
Lacie hard drive, how do I view the files in Finder so I can delete some backups?
My LaCie hard drive is full so I need to delete some backups but although the disk is mounted in Finder I cannot see the backup files to delete any. How do I do this please? Thanks Brian