Wrong Expiration Value of GBlink Token

Hello,
We added 7 days (604800 sec) in distributor link expiration values by admin console, now when we open URLLink.acsm file in notpad as xml file. It shows wrong <expiration> value. Expiration value should be after seven days but it before the GBlink generation date.
Please help us how to extent the link expiration time.
With Regards,
Mangal Varshney

sn72 wrote:
Do you mean that the last line in my code above should be removed? Meaning, that you get a cookie from the request and set its expiration age, then that will automatically update it (and no need to add to response)? No, I didn't mean that. A cookie will also also be set with a domain and a path. If you didn't set them manually, then the container will do it for you. If either the domain of the path differs in the another request, then you will get duplicate cookies with the same name, but on the different path. To update exact the same cookie, you should also make sure that the domain and the path are the same. With other words: obtain that cookie with the same name from the request and add it as cookie to the response, or set the domain and the path manually with a fixed value.
In my testing I found that the cookie expiration date on the browser did not get updated. Maybe my testing was wrong -- for example I should close the cookie window and open it again in order to refresh it. BTW, I was using Mozilla Firefox 2. I just upgraded to Firefox 3 and will try again.That shouldn't make any difference.

Similar Messages

  • SXPG_COMMAND_EXECUTE  return wrong parameter value

    Dear all.
    We have an Abap program that pulls an encrypted FTP file and saves it to our network.
    After that we activate an external command via transaction SM69 by calling FM SXPG_COMMAND_EXECUTE.
    This command is an execution of a batch file that executes a decryption method via PGP decryption software.
    The problem is that we get an output parameter of this FM (STATUS) as u201CEu201D (error) although the decryption is being executed successfully.
    We have the same process being activated same way successfully with another folders (rest is exactly the same).
    Why does SXPG_COMMAND_EXECUTE return wrong status value ?
    Regards,
    Rebeka

    SXPG_COMMAND_EXECUTE runs under certain operating system user account. Looks like that account does not have enough privileges to do what you want it to do. Look at the operating system for privileges (read,write,execute) of the user account SAPServiceuser or equivalent.
    /Simo

  • SOA Expire value. Where do I adjust this? Is it on my server, or domain host?

    Who is hosting your external DNS for that domain?
    That's who you talk to.

    Hello all, I ran MXtoolbox's domain health against one of my domains and the only thing I got was a warning saying "SOA Expire Value out of recommended range". After many google searches, I can only seem to find what the recommended settings are, but not where to edit this. Is this something on my sever itself, or is this a domain adjustment with my DNS host? I called them, and they were not sure what it was, and even asked a higher level, and still did not know where or how to adjust this.
    Thanks!
    This topic first appeared in the Spiceworks Community

  • Invoice created with wrong net values at header & item

    Hi Guys
    Due to a wrong user exit, system created few invoices with wrong net values at header & item.
    Now system does not allow to cancel those billing documents, showing error message - inconsistency in data.
    Eg:  Billing Header net value is 10000
           Billing Item net value is 5000
    when I try to cancel this billing document, cancellation document created with header net value as 5000 & item net value also 5000.  So, it says original invoice & cancellation invoice having different values.  It is not possible to cancel.
    Please suggest me how to correct wrong values at original invoice, which are already released to Accounting.  Or else, how to cancel those kind of invoices.
    Thanks in Advance
    Regards
    Uma

    Hi,
    In the original invoice and cancellation invoie is created there is a difference in 5000. It will not allow further cancellation of the invoice because it is already cancelled. I don't know whether there is anyway to reverse the cancellation invoice document.
    If it is there then reverse the cancel invoice document and create an invoice correction request document (RK)
    Try to replicate the scenario in your test system.
    Prase

  • Passing the values for the tokens in oaf

    Hello,
    I have an application message with the text as "Employee &ENAME belong to the organization &ORGANIZATION".
    In framework, i have assigned this application message to a messagestyledtext and i want to pass the &ENAME and &ORGANIZATION values at runtime. Can anyone please guide me on this? I did as follows but didn't figure out how to assign this token to an application message.
    MessageToken[] msgtoken = {new MessageToken("EMPLOYEENAME",s_employeename),new MessageToken("ORGANIZATIONNAME",s_organizationname) }
    Thanks
    PK

    PK,
    A simple example to explain you more on this. Let say we want to pass two parameter to Token.
    String employeeName = (String)vo.getCurrentRow().getAttribute("EmployeeName");
    Number **employeeNumber** = (Number)vo.getCurrentRow().getAttribute("EmployeeId");
    String employeeNum = String.valueOf( employeeNumber.intValue());
    MessageToken[] tokens = { new MessageToken("EMP_NAME",  *employeeName* ),                 //1
    new MessageToken("EMP_NUMBER", employeeNum ) }; //2
    //And finally we pass there token value to below exception.
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    Thanks
    -Anil

  • Error in using ABAP OLE wrong cell value

    Dear All..
    I'm facing a problem while using ABAP OLE..
    the problem is the ABAP OLE writes the wrong value in Excel file
    the value is 121.000 but it written in Excel file : 121
    the weird thing is .. other value of  9.000.000 written correctly in Excel File .. and also lots of other values..
    i've trace the value until it goes to the method of :
    CALL METHOD OF h_excel 'Cells' = h_zl
         EXPORTING
           #1 = i_row
           #2 = i_col.
       SET PROPERTY OF h_zl 'Value' = i_value.
       GET PROPERTY OF h_zl 'Font' = h_f.
       IF i_bold = 'X'.
         SET PROPERTY OF h_f 'Bold' = 1.
       ENDIF.
       and the values of variable i_value is still correct which is : 121.000 but after writing in excel it becomes 121
       i believe it will become faulty at the specific amount with format of XXX.000  because if I changed the value to 121.001 it displays correctly in Excel file..
    i_value is a pass value from variable ld_val with data type of is --> ld_val(20) type n.
    is this are originally bugs from the OLE ? how to solved it ?
    please advice ..

    yes it is clear, but how excel manage the passed data is unclear.
    However, to solve you can try this:
    DATA : ld_val(20).
    WRITE value1 TO ld_val CURRENCY CURR.
    REPLACE ALL OCCURRENCES OF '.' IN ld_val WITH space.
    CALL METHOD OF h_excel 'Cells' = h_zl
         EXPORTING
         #1 = i_row
         #2 = i_col.
       SET PROPERTY OF h_zl 'Value' = ld_val.
       GET PROPERTY OF h_zl 'Font' = h_f.
       IF i_bold = 'X'.
         SET PROPERTY OF h_f 'Bold' = 1.
       ENDIF.
    Regards,
    Angelo.

  • DI API: Wrong PriceAfterVAT value in credit note based on A/R invoice

    Hi all,
    I have serious problem with creating Credit Note based on existing A/R Invoice in Sales module.
    I use SBO 2004A patch level 32. With SDK I've created A/R Invoice with 2 items. First item has discount percent 0% and price after VAT 1. Second item has 100% discount, this means, doctotal is 1. Document VAT is 7,6% and VAT is calculated correctly in invoice. Then I've created credit note only with 1 item and this row is bounded with 1 row in invoice. After calling oCreditNote.Add, in Business One this credit note has all prices (price, price after VAT, row total) with the same value -> there is no vat calculated although in invoice the vat calculated is.
    Is it bug in DI API or do I something wrong?
    I use the standard ways to create new invoice and credit note through DI API.
    Many thanks for your answers.
    Best regards
    Libor.

    Hi Libor,
    To create a Credit note for a Invoice you should use the Invoice as the base document for the Credit note. Here is an example of how I create a GRPO from a draft GRPO. Try this (for your Invoice - Credit Note) and see if it does not work for you (SAP suggests this way of doing it).
    (Draft will be your invoice - GRPO will be your credit note)
    Dim oDraft As SAPbobsCOM.Documents
    Dim oGRPO As SAPbobsCOM.Documents
    If oDraft.GetByKey(YourInvoiceNumber) Then
                            'Build the GRPO (new GRPO Obj for each GRPO Doc)
                            oGRPO = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
                            oGRPO.DocDate = oDraft.DocDate
                            oGRPO.DocDueDate = oDraft.DocDueDate
                            oGRPO.DiscountPercent = oDraft.DiscountPercent
                            oGRPO.CardCode = oDraft.CardCode
                            For i = 0 To oDraft.Lines.Count - 1
                                oDraft.Lines.SetCurrentLine(i)
                                oGRPO.Lines.BaseType = oDraft.Lines.BaseType
                                oGRPO.Lines.BaseEntry = oDraft.Lines.BaseEntry
                                oGRPO.Lines.BaseLine = oDraft.Lines.BaseLine
                                If i < oDraft.Lines.Count - 1 Then
                                    oGRPO.Lines.Add()
                                End If
                            Next i
                            'Add the GRPO
                            iRetCode = oGRPO.Add
                            If iRetCode <> 0 Then
                                oComp.GetLastError(iRetCode, sErrMsg)
                                Log.WriteLog("Error Adding GRPO : " & sErrMsg, EventLogEntryType.Warning)
                                Return False
                            End If
                        End If

  • Wrong excise value is calculated in billing doc. = VF01.

    Dear All ,
    I have created a billing doc for a STO , now my price of 1 ton is Rs 57328.94 & in billing the Con for exc is JEXP it is for,14 % but the exc cal culating as Rs 8329.61 , instead of Rs 8026.05 here the wrong calculated Rs 8329.61 is 14.529 % of Rs 57328.94 .so i m in VF03 now selected the cond type & clicked on detail icon here what i see that the a screen opens for header cond. details , here in cond details tab the amount coming as 14 % , Cond base value is Zero & Cond value is Rs 57328.94 , After this on the same scren i had clikced on Go to -
    > cond record --> here also 14 % is given then how the system is calculating 14.529 % instead of 14 % .
    Rgds
    sap12

    in the STO under cond tab at item level i had clicked on analysis tab then the con appearing are as under --->
    Condition type     Message     Description
    P101     213     Amount copied from material valuation data
    FRB1     207     Condition has been found (without condition record)
    FRC1     207     Condition has been found (without condition record)
    FRA1     207     Condition has been found (without condition record)
    Y017     207     Condition has been found (without condition record)
    Y018     207     Condition has been found (without condition record)
    Y019     207     Condition has been found (without condition record)
    Y020     207     Condition has been found (without condition record)
    Y015     207     Condition has been found (without condition record)
    Total Cost     200     Subtotal
    Here there is no JEXP , now as u wrote thjat to check the excise rate in J1ID -
    > there is no excise rate made for this material , after this ---> in exceptional exc rate there are no entries., now pl guide that what to check .
    Rgds
    sap12

  • SharePoint Provider-hosted Apps - Expired OAuth Client Secret - Token Request failed

    Hi everyone,
    in the past days, we have encountered authentication problems with our provider-hosted SharePoint apps.
    The apps are not deployed through the Office Store, but through the specific organizational app-catalog of the SharePoint tenant of our customers.
    Because the apps are provider-hosted, we had to register the OAuth client id and client secret properties of the app for accessing SharePoint resources from our app through the /_layouts/15/appregnew.aspx page.
    Now, the OAuth client secret of our app seems to be expired and this causes the app to stop working.
    The exception stacktrace is:
    "Token request failed. at Microsoft.IdentityModel.S2S.Protocols.OAuth2.OAuth2S2SClient.Issue(String securityTokenServiceUrl, OAuth2AccessTokenRequest oauth2Request) at OurProjectName.TokenHelper.GetAccessToken(String refreshToken, String targetPrincipalName,
    String targetHost, String targetRealm) at OurProjectName.TokenHelper.GetAccessToken(SharePointContextToken contextToken, String targetHost) at OurProjectName.TokenHelper.GetClientContextWithContextToken(String targetUrl, String contextTokenString, String appHostUrl)"
    We have already found this article regarding replacing expired client secret in SharePoint apps: http://msdn.microsoft.com/en-us/library/office/dn726681(v=office.15).aspx
    We have followed the provided steps, generated a new client secret and added it to the web.config file. The old client secret still stays in the file as "SecondaryClientSecret". Then, we executed the PowerShell script in order to register the new
    client secret in our SharePoint tenant. Afterwards, the authentication works as expected. 
    The question is, whether we really have to do the steps for ALL of our customers if the client secret expires again? If the client secret is expired, do we have to execute the PowerShell script on all of our customers' tenants?
    Maybe there is something we failed to notice...
    Thanks for your help. Feel free to ask for further information if something is missing.
    Best regards,
    Dustin

    Hi Utilitas,
    There is no easy way to batch updating Client Secret for each tenant. You may need to execute
    the PowerShell script to update it as the above you post.
    Best Regards,
    Zhengyu Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark
    them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Zhengyu Guo
    TechNet Community Support

  • Wrong Excise values posted in MIGO

    Hi all,
    This is Depot scenario.
    User has posted wrong values in Excise tab in MIGO & posted GR. Excise values are updated in Table RG23D.
    The same material is already disptached to the customer end.
    Currently there is No stock of material in the system.
    Now User wants to reverse all this wrong duties.
    How to resolve this issue?
    Pls suggest solution
    Sameer

    Hi,
    Please reverse the material document in MIGO.
    Regards,
    Smitha

  • MIGO HEADER WRONG EXCISE VALUE

    Hi,
    While doing Migo with excise option, in the header excice tab, BED is calculating wrongly ..
    Basic - Rs 1000
    BED - 14% - Rs 1400  instead of Rs 140
    where in item column, the exicse values are flowed correcly.
    pls suggest, where is the mistake..

    I am also facing the same problem any answers

  • CIN--MIGO--Wrong excise value

    Hi Buddies,
    We created STO from Plant to Plant and taken SD side to the delivery and profoma and then excise invoice.
    In this case, we created one STO- with four deliveries(with partial quantity) -one proforma(combining all deliveries in one proforma invoice) and one excise invoice with refercencing the proforma in SD. While doing MIGO(goods receipt in MM), if we give delivery number and excise invoice number, automatically it is picking the last line item of excise invoice. All BED,ECESS,SCESS is calculating wrongly in MIGO.
    We noted that, system is always picking that last delivery excise value for each and every delivery in MIGO.
    Regards,
    G.Rajesh.

    hi
    we also faced similar problem and we done the corrections in the userexit
    Can you please go through the SAP note mentioned below and apply.
    1042035
    1035545
    1003634
    If you mark the Condition category as 'H' for the Price condition
    which has the assesable value then the Excise base value will flow but the price condition should be non statistical, if it is statistical in
    your pricing procedure then you will have use the user exit
    J_1I7_USEREXIT_CALC_EXC_BASE which has the KONV structure , you will
    have to pass the value to the parameter EXCITM_BASE
    hope it will help you in resolve the issue.
    with regards
    baalakrushnan.da

  • Wrong data values displayed for YTD in reports

    Hi,
    In my reports when i try to select measures as YTD, eg. March 2010 YTD, i get wrong values for entities. But, apart from YTD, i get absolutely correct values if i select measures as anually, quarterly or monthly.
    I have checked ISBEGINNING property in time dimension and assigned values as 0 and 1 for the respective values. I have also checked if i have any wrong statements in dbo.measureformula in SQL server Management studio which might give wrong calculations but could not find any.
    Please guide me through.
    Many thanks in advance.
    Regards,
    Poonam

    HI Nilanjan,
    Thanks for your suggestions but i do not have any data in Apshell to test if it is being displayed correct or not.
    Please advice me further.
    Regards,

  • Wrong payer value while creating PRO FORMA invoice for multiple delivery

    Hi experts,
    I am trying to create PRO FORMA Invoice for multiple deliveries thru VF01.
    The problem here is the payer value is copied as the value of payer for the first delivery to all invoices. All other fields are picked up properly.
    Please help me to idenify the problem. Also if I create the invoices thru VF04 the invoices the created with correct payer.
    Thanks in advance.

    Hi Ankur,
    Thanx for the input.
    Right now we have customized routine 909 for header level and std. routine 004 for item level.
    Code for routine 909 is
    FORM BEDINGUNG_PRUEFEN_909.
    SY-SUBRC = 0.
    Fakturasperre
    IF LIKP-FAKSK NE SPACE.
    SELECT SINGLE * FROM TVFSP WHERE FAKSP = LIKP-FAKSK
    AND FKART = TVFK-FKART.
    IF SY-SUBRC = 0.
    PERFORM VBFS_HINZUFUEGEN USING '000000' '014' SPACE SPACE SPACE.
    SY-SUBRC = 4.
    EXIT.
    ENDIF.
    SY-SUBRC = 0.
    ENDIF.
    break-point.
    SELECT * FROM VBFA WHERE VBELV = LIKP-VBELN.
    IF VBFA-VBTYP_N = 'U' .
    PERFORM VBFS_HINZUFUEGEN USING '000000' '148' LIKP-VBELN
    SPACE SPACE.
    SY-SUBRC = 4.
    Insert + Unicode/Upgrade Project
    STOP.
    LEAVE SCREEN.
    Insert - Unicode/Upgrade Project
    ENDIF.
    ENDSELECT.
    ENDFORM.
    can u please check n confirm if the wrong value is coming due to this code?
    Thank in advance.

  • SPListItemCollection.GetDataTable() delivers wrong Double Values

    Hi there,
    i have a Problem with the .getDataTable() Method of a SPListItemCollection Object. Within the SPListItemCollection all Double Values are displayed correct. But the DataTable Edition puts the decimal point to the End of the number. And i have no idea why,
    and how to get rid of this. Any hints?
    DataTable dt = new DataTable("ChargeData");
    listItems[0]["PRICE"] -> 107.10 | object {double}
    dt = listItems.GetDataTable();
    dt[0]["PRICE"] -> 10071.0 | object {double}
    P.s.: If this is realted in some way, the initial List for the SPListItemCollection is a External List with a MSSQL Connection. The 'Price' Column within the SQL Server is a "float".
    My Best Regards
    THO
    EDIT #1
    I've try to figure out when this problem appears. Always or only on BCS lists, so i tried (with Powershell), and found out, this seems to be a Problem with the Autogenerated BCS List.
    $nonbcslist.Items[0]["PRICE"] -> 107,10 | double
    $dt = $nonbcslist.Items.GetDataTable()
    $dt.Rows[0]["PRICE"] -> 107,10 | double
    $bcslist.Items[0]["PRICE"] -> 107,10 | double
    $bcsdt = $bcslist.Items.GetDataTable()
    $bcsdt.Rows[0]["PRICE"] -> 10710 | double

    I noticed that in one example you are using a period to segment the double and in the other a comma. I wonder if that is somehow tied into the wrong conversion when returning a data table.
    I have seen GetDataTable() break some other formatting in the past, specifically when working with multi-select user fields. Your best bet may be to iterate through the collection and manually populate a blank table.
    Dimitri Ayrapetov (MCSE: SharePoint)

Maybe you are looking for

  • 500 Internal Server Error when including a JSP  withing a Report JSP

    Hello, Please help me. Thanks in advance. My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc) When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error. Am attaching the

  • Indoor repeater for cisco 1300

    Hello, We have an outdoor wireless network working with two cisco 1300. One acts as a access point and the other one as a bridge. We would like to extend the coverage of the bridge... Is that possible? There's one spot inside where signal quality is

  • IDCS4 Mac - Change/Find command says it has made changes but it hasn't!

    I just had to check a document for 'iPod' spelt 'IPod' so I did a find/change command and got the report that 3 instances had been changed when I told it to 'change all'. When I checked it had not made the requested change. Is there a preference I ha

  • Keep Oracle Spatial data in Coherence Caches?

    Can I keep Oracle Spatial data in Coherence Caches?

  • Programatically delete Photoshop Temp##### files

    XP Pro CS3 1GB Ram Scripting with JavaScipt We run photoshop doing batch processes all week long. Is there anyway to include in the javascript batch process a command to delete the temp file that gets built up. I realize they are normally deleted upo