Silent post to php instead of getURL()

Hi everyone...I'm very new to FLASH and I've created a submit to email with AS1 and AS2...Basically I'm currently using a getURL method in my action below...however when you submit eveything works but I don't want the page to refresh. I wanted to silently send the information to the php file and let it take care of it...I guess I have to use LoadVars() intead....
I just don't know how to do this...anyone can help I greatly appreciate it....Thanks!
on (release) {
    for (i=1; i<_parent.fields_descriptions.length; i++) {
        if (_parent[_parent.fields_descriptions[i][1]]!=undefined) {
            this[_parent.fields_descriptions[i][1]]=_parent[_parent.fields_descriptions[i][1]]+"&777& "+_parent.fields_descriptions[i][2];
    this.recipient=_parent.rec;
    delete(i);
    getURL("contact."+_parent.serv, "_blank", "POST");
    trace ();

try:
on (release) {
sendLV=new LoadVars()
receiveLV=new LoadVars();
receiveLV.onLoad=function(){
//do whatever
    for (i=1; i<_parent.fields_descriptions.length; i++) {
        if (_parent[_parent.fields_descriptions[i][1]]!=undefined) {
            sendLV[_parent.fields_descriptions[i][1]]=_parent[_parent.fields_descriptions[i][ 1]]+"&777&"+_parent.fields_descriptions[i][2];
    sendLV.sendAndLoad("contact."+_parent.serv, receiveLV, "POST");

Similar Messages

  • Excise is getting post to RG23A instead RG23C for capital goods return del

    Hi SAP Guru,
    I have very critical issue to be resolved emmediatly in the area of Excise for CAPITAL GOODS, please help! the things is....
    1. At GR level using mvt 101, system is posting all BEDECSSECess to correct RG23C register, fine
    Quality people has rejected goods,When i'm trying to create vendor return delivery using......
    GR(122)>J1IS>J1IV,, useing this process system is posting BED+ECS to RG23C but SECess to RG23A, i wanted to know why SECess is getting post in RG23A instead RG23C. plz suggest if any config. chages to be done.
    or
    2. when i am trying GR(122) along with all Excise parameter, system is throwing error "RG23C-AT1 amount 1600.00 is greater than the available amount 0.00". when is checked the relevent register i found out enough balance.
    or
    3. After GR (122), when i'm using J1IH(JV) method, system is thowing error like " Balance in transaction currency 'Message no. F5702'.
    Now plz suggest the correct answer!
    Thanks & Regards
    Manoj K Singh
    +91 9940216442

    Hi Datta, thanks for the reply
    according to SAP Note 1062872 (2005B version) it reads as
    "The excise register for excisable items of type raw materials/finished goods is currently set to RG32A Part I. When you create an out going excise invoice with these type of items, the accumulator for RG32A Part I will be increased."
    I thought the same is applicable with SAP Business One 2007B version.  However what you said might be correct.  But the problem with one of my manufacturing client is whenever they raising an Outgoing Excise invoice  they have registered numbers automatically be created on the pre printed invoice paper.  where the invoice will be printed only with the qty, rate , price and register numbers rest of the information on the document is pre-printed.  So they have a column called RG23C Part I / II where register numbers are automatically printed.  But RG23C Part I & II are for "Capital Goods"
    If I consider these manufactured items as "capital goods" then it will raise register numbers automatically.  but this will not acceptable.  correct me if i am wrong.  so all of these items should be cosidered as Finished Goods in the item master data.  if i do that again there is a conflict with their RG23C Part I / II on the pre-printed column and i wont be raising any register numbers. 
    Please update me on how should I deal with this issue
    SV Reddy

  • Depreciation posted as debit instead of credit

    Hello Gurus'
    For few Assets only,  Deprecation in 7th month (Calender year is followed) got posted as debit instead of credit & also amount posted was 6 times than the usual monthly depreciation.
    Please help.
    Thanks,
    VK

    Hi,
    If you posted depreciation for a period, then your FI entry will be like below.
    Depreciation expense GL account         Dr
            To Accum Dep B/S GL account            Cr
    Since your debit entry will be posted to an P&L GL and credit goes to accum dep B/S GL account.
    This is the standard functionality only.
    Please check your accounting entry for depreciation posting.
    Thanks,
    Srinu

  • How send the Silent Post?

    Hi Servlet Profesionals,
    S1,S2,S3 are the different web servers.
    S2 is My server.
    I got a request from S1 and I sent to the S3.
    I got a reply from S3 waiting for response from S2.
    I have to send the data what I get from S3 to S1 and I want a response from S1 then only I can give a response to S3.
    The main problem here,
    How to send the data to S1?
    I cann't forward the request to S1 which is the different server.
    req.getRequestDispature(S1).forward(req,res); will work with in the same sevrver.
    I cann't the redirect the current responce to the S1 because the responce belongs to S3, means if I try to send any response will go to the S3 but not S1
    Ex:
    res.sendRedirect("S1");
    res.sendError("200_OK");
    Here after completing the first statement, the second statement never excute.So I cann't give the response to S3.
    My exact problem is that Once I get requst from S3 server I have to send the to S1 server and I need a conform from S1 server like 200 OK response then only I can give 200 OK response to S3.
    I need a Internal communication between two servlets (Silent Posting) which are running on two different servers
    Mail me to [email protected]

    Hi, could you tell me how you do it ?
    Best regards
    Martin K.

  • Silent Post

    How do I dump or parse a silent post string?  These are silent posts from Authorizenet's Recurring Transactions, so nothing is being sent to their server.  It's simply a receiving of data as transactions are processed.  I don't have a variable name from the silent post.

    try:
    on (release) {
    sendLV=new LoadVars()
    receiveLV=new LoadVars();
    receiveLV.onLoad=function(){
    //do whatever
        for (i=1; i<_parent.fields_descriptions.length; i++) {
            if (_parent[_parent.fields_descriptions[i][1]]!=undefined) {
                sendLV[_parent.fields_descriptions[i][1]]=_parent[_parent.fields_descriptions[i][ 1]]+"&777&"+_parent.fields_descriptions[i][2];
        sendLV.sendAndLoad("contact."+_parent.serv, receiveLV, "POST");

  • Can I edit this code to accept .php instead of .jpg?

    Hi guys,
    Thanks for checking this post out...
    Can I edit the below code so when a link is clicked on, say
    main.php?pagename=news, it will look in a folder for news.php and
    display it where the code is placed in main.php?
    Here is the code:
    <img src="images/<?php echo $_GET['image']; ?>.jpg"
    />
    Thank you very much and I hope to hear from you.
    All the best,
    Mark

    No, not unless you want to use fames.

  • HTTP POST to PHP server problem

    Hi, im trying post a long string to php from a MIDLET, but i have some problems. When i send the whole String, my php server cant receive the request (i have not any response), but, if the string that i send is 1/5 from the original, the process is successful correctly. have somebody any idea?
    thx

    this is my problem, extracted from another topic on this forum:
    "Hi everyone.
    I have a problem, and hope someone may help me.
    My midlet is uploading sizeable data via http POST.
    I'm using WTK104, since i need MIDP1.0
    The code have been tried on DefaultGrayPhone emulator
    and add-on Nokia's Series 60 Emulator.
    Both emulators chunck data, however in different ways.
    Deafult one simply produces wrong chunk length (possibly a bug),
    Nokia's one always chunks by equal offsets of 2016 bytes.
    I'm not using flushing, just close. All the data is being send
    at once by one output stream write call.
    So I believe (after proper investigation) that MIDP will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and there's no way to override this behaviour.
    Here the main problem appears - Apache refuses to accept chunked encoding in request. The corresposnding message is given in error log
    *chunked transfer encoding forbidden*. The returned code is 411 - Content-Length requred. I see no way to override this behaviour of Apache. I was trying to upload my data into Zope web-server, which is my primary goal, but it doesn't handle chunked request either.
    Has anyone faced the same problem? Who has managed to POST sizeable data from midlet? Which web servers did you use for that?
    Any inputs are highly appreciated!
    Anton"
    Another:
    "> So I believe (after proper investigation) that MIDP
    will use chunked Transfer-Encoding method whatever
    on such sizeable a data as mine is (up to 50KB) and
    there's no way to override this behaviour.Is this true? When I try to set the content-length headers and then write a large byte[] to the output stream I got from an HttpConnection, the HttpConnection appears to remove the content-length header altogether and automatically sets the transfer-encoding to chunked.
    Note- I am not calling flush on the outputstream, but I am calling httpconnection.getResponseCode, which I believe calls flush on the outputstream.
    Abraham"
    I have the identical problem.

  • Subsequent debit to post to GL instead of vendor account

    Hi
    We will debit to stock account and credit to vendor account for unplanned charges thru subsequent debit. Due to business requirements to post the unplanned charges to GL account instead of vendor account. The desired entries are debit stock account and credit to GL-prepayment account. Users would like to track the prepayment incurred for the services. Are we able to configure the posting to GL account instead of to vendor account thru subsequent debit? You advice is much appreciated.
    Regards
    Kang Ring

    Hi Kang Ring Toh ,
    You can do..
    In this scnario. you should activate Authorization  G/L account tab in MIRO.
    spro>MM>LIV->incoming invoice>activate direct posting to GL account
    Then in MIRO you You can view the additonal 2 tab will shown.
    after enter the PO number you can chooose the G/L account tab & post it to particular G/L Account.
    SAM

  • J1IH - Entry is posted to PLA instead of RG23A

    Hi,
    From J1IH Entry is posted to PLA as below:-
    Cenvat clearing -DR
    BED - PLA - CR
    EDU - PLA - CR
    SEC - PLA - CR
    But it should go to RG23A instead of PLA. How we can nullify effect in PLA register. Please guide.
    Regards,
    Raj Sir

    Hi Raj,
    Kindly reverse the entry posted in PLA register and Post separate transaction for RG23A.
    Regards
    Murali

  • STO order: GR posted for PO instead of delivery

    Hello,
    We use stock transport orders for intercompany purchasing.  Unfortunately, message M7 352 was not originally set to error.  This allowed users to create an STO and when the goods arrived, post the goods receipt against the PO instead of the outbound delivery.  We found out later that the shipping plant sometimes created a separate sales order and delivery instead of delivering against the STO.
    The quantity issued was never updated.  The result is that STO is not completely closed: the delivery completed or deletion flags cannot be set for the PO item.  We set message M7 352 to Error avoiding this for any future orders, but are now trying to clean up the mess.  It is no longer realistic to fix these old PO's with functional transactions because the serial numbers have been sold, inventories adjusted and posting periods closed.
    I cannot find any solutions in SAP OSS and we wish to avoid writing a hard update program to maintain entries in EKET/EKBE in order to delete these PO items.  Has anyone run into this problem?  How have you addressed it?
    Thank you,
    Alex

    Hi all ;
    This is a regular problem in MM so there is not a link between po quantity and delivery quantity.
    Please look at belowed threads.
    http://scn.sap.com/thread/3422954
    http://scn.sap.com/thread/3515977
    Regards.
    M.Ozgur Unal

  • Can anyone post a PHP/MySQL version of VideophoneLabs?

    My server doesn' host Sqlite3 database. Can someone post a modified version of VideophoneLabs replacing reg.cgi by reg.php and the sql tables ?

    Hi,
    could you or someone tell me if ADDT supports protection against these methods you mention:
    Protection from dictionary attacks, rainbow table attacks, brute force attacks, SQL injection attacks and much more??
    And can this system work alongside ADDT?
    thanks again

  • Applet POST to PHP file

    How would I go about POSTing to a php file, or passing arguments in some other way, from an applet?
    (Make the java applet interact with the php file, in other words.)

    An Applet can fire URLs at the server it was downloaded from, so you could use a POST method like the one in this post (in this case, using HTTPS, basic authentication and cert sidestepping) :
    http://forum.java.sun.com/thread.jsp?thread=567526&forum=33&message=2811438
    to send a POST to a URL. As far as I understand PHP, it's interpreted on the server-side as the page is served and the parameters from the POST sent to the script via some standard variable, $_VAR or something.
    Your embedded PHP script would read the data from this variable and use it to do whatever.
    Make sense?

  • Wrongly posted to asset instead of GL

    Hi All
    I have a asset which was wrongly  posted as an asset in the last year and now users want to transfer that to a Balance sheet GL account .Depreciation has been run on the same for the last year and the current year  .Any ideas? Can I scrap the same and then reclass this as a GL or can anyone suggest  some other method

    Hi,
    We need to classify this between last year posting and this year posting..
    Last year: Depreciation in already posted and the books are closed..so if you touch the last year balances.. it will call for Audit Query as the books are closed.. Do write back if you also want to adjust the last year figures..
    Current Year : You can change the depreciation key for this Asset to 00 Depreciation key and run a repeat run of the Depreciation. This will reverse the depreciation posted in this year in the current month and then you can execute transaction ABSO to transfer the balance of the Asset to a GL Account.
    Regards,
    SAPFICO

  • Restrict Access to Page Using a password.php Instead of Server Behavior

    I previously used "log in" and "restrict access to page" server behaviors for my client portal when I only had one client. I had my username and password stored in mySQL database. I recently have gained more clients that all needed to be redirected to their own customized landing page when logged in. Because of this, I used a password.php to store the usernames and passwords and to redirect to different pages. Now, I am wondering how I can restrict access to these pages (i.e. someone won't be able to access the pages by typing the url) since I will not be connecting to a database anymore.

    I'm also confused by your statements.
    >Now, I am wondering how I can restrict access to these pages
    >(i.e.  someone won't be able to access the pages by typing the url)
    >since I  will not be connecting to a database anymore.
    It doesn't matter where you store the credentials - database or php file - the techniques for restricting access will be similar. I really don't understand why you moved away from the database when you got more clients. The more data you need to manage, the more reason to store it in a database.
    After logging in, most sites direct users to the same page, yet pull user specific data from the database. If for some reason you can't do this and need to built individual pages for each client, then store the 'landing' page for the client in the php file or database. Restrict access to each page by comparing the logged in name with an allowed login name. Or a more dynamic approach would be to dynamically pass the page name to a database query that validates that it's ok for the logged in user to access.
    Also, these questions are more appropriate for the app dev forum.

  • Gl posting for order instead of contract FTR_CREATE

    Hello
    My client wants a posting in GL to off balance accounts if an order (not a contract) is created/fixed in transaction TS01 (or FTR_CREATE).
    I only am able to get a GL Posting from a contract.
    Is it possible to set up GL posting for an order or is this not foreseen in TRM?
    kr
    Arjan

    Hi Arjan,
    As per the deal status 'order' means, you are only bided for a deal with your counterparty and the deal is not yet confirmed. Therefore, in SAP order transactions are not being considered for position as well as for accounting. The accounting will only happen once the contract is confirmed in system as per standard business functions.
    But, always there is an exception for this view, as in Indian market we need to pay Application money payment in Primary Market. The logical solution to address this will be as:
    a. Create an order with requisite transaction details with FTR_CREATE.
    b. Generate a manual invoice by using FI transactions like FB50, FB70 etc with ref to order created.
    c. On execution of order post entries to nullify the accounting. (You need to define Accounting accordingly)
    We have already implemented this solution to multiple clients in India which working with good customer satisfaction.
    Regards
    Prasad AV

Maybe you are looking for

  • Apple TV 2 Status Light

    Can anyone tell me if the status light is supposed to come on every couple of minutes, it stays on for about 5 secs then goes out. I can't find anything in the manual about it, I just wondered if this was normal, any ideas would be welcome.

  • Two F4 helps for a field in a standard screen

    Hi, In an standard transaction, two fields are there and I need to populate one field according to the value of the other. For few values of first field, the second field should populate with values other than from table.  This field is already have

  • Regardding CAll Transaction  where i will get return value

    Dear Expert , My Requirment is  i  am Passing parameter to call  transaction it is working fine , but i want to get data which is displayed  after calling that transation  . Such as sel_data-program = 'gp3umn8b57fzlorwxdm2y9lqq7e'.     sel_data-dynpr

  • Developing a report from data in CMC

    Hi, I do a daily monitoring task that is monitoring all the servers of Web Intelligence in production environment whose status is 'Success'. Source of the data is a BI system. After monitoring I have to manually calculate(using calculator) the time t

  • Adapter engine work

    What is the actual function of adapter engine in process integraton