SAPscript getting printed multiple times.

Hi Folks,
      I got a strange problem , when we are try to print a SAPscript it is getting printed 5 times.
We cant understand why it is happening because I checked everywhere and I found everything to be fine. This script is absolutely working fine in the quality server but in the production it is getting printed 5 times.
Regards.

Hi santosh,
Please check out FM OPEN_FORM & CLOSE_FORM .
Degug script once again.
Did you try to copy your first-page to one named 'next' and set this next-page as follow-up of first .
Cheers,
Pravin s

Similar Messages

  • Customer is getting created multiple tims when it has multiple sites

    Hi,
    I developed customer conversion.
    when I load data through conversion in R12 Customer is getting created multiple tims when it has multiple sites.
    what are the things I have to take care to prevent this.
    Please suggest me If any one has Idea.
    Thanks & Regards,
    Narendra.

    Hi Gabriel,
    Thanks for taking time to reply to my post.
    When one of my collegue giving the print, there is only one spool which is getting created, but when I run the program there are multiple spools are getting created.
    -Pradeep

  • Php include file getting called multiple times

    I have created a form in file career.php. To carry out the validation user_registration.php is called at the beginning of the file.
    user_registration.php in turn calls library.php. Issue is that library.php is getting called multiple times.
    I have attached phperror.log which confirms the same.
    career.php
    <?php
    session_start();
    require_once('phpScript/user_registration.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    user_registration.php
    <?php // This file is used for validating user form data. It calls process_upload.php to validate file uploaded by user
    $errors = array();  
    $messages = array();
    $testing = TRUE;
    error_log("Enter- user_registration.php. Testing mode $testing", 0);
    try {
              error_log("user_registration.php: Entered try catch block",0);
    require_once('library.php');
              error_log("Successfully called library.php",0);
              $public_key = '6LeDsNUSAAAAAIoaYuNhGm2zx_qgBECiybUWUkt6';
              $private_key = '6LeDsNUSAAAAACuvmJrec-_5seLdmhqUMngt8AiU';
              $recaptcha = new Zend_Service_ReCaptcha($public_key, $private_key);
              if(isset($_POST['submit'])) {          // Only execute if form is submitted by user
                error_log("user_registration.php. Submit button pressed by user", 0);
                require_once('Zend/Mail.php');
                $mail = new Zend_Mail('UTF-8');
                if (isset($_POST['name'])) {
                        $val = new Zend_Validate_Regex('/^\p{L}+[-\'\p{L} ]+$/u');
                        if (!$val->isValid($_POST['name'])) {
                          $errors['name'] = "Please enter your name, no numbers permitted";
    error_log("Exit- user_registration.php.", 0);
    library.php
    <?php
    error_log("Enter- library.php. Testing mode $testing", 0);
    if ($testing)  // If true then go to testing mode
              $library = '/Applications/MAMP/htdocs/mgtools-india/ZendFramework/library';
              set_include_path(get_include_path() . PATH_SEPARATOR . $library);
    require_once('Zend/Loader/Autoloader.php');
    try {
    Zend_Loader_Autoloader::getInstance();
    error_log("Exit- library.php. Testing mode $testing", 0);
    phperror.log
    Marker - 12-Oct-2012 10:27:26 AM
    [12-Oct-2012 04:57:33 UTC] Enter- user_registration.php. Testing mode 1
    [12-Oct-2012 04:57:33 UTC] user_registration.php: Entered try catch block
    [12-Oct-2012 04:57:33 UTC] Enter- library.php. Testing mode 1
    [12-Oct-2012 04:57:33 UTC] Exit- library.php. Testing mode 1
    [12-Oct-2012 04:57:33 UTC] Successfully called library.php
    [12-Oct-2012 04:57:36 UTC] Enter- user_registration.php. Testing mode 1
    [12-Oct-2012 04:57:36 UTC] Entered try catch block
    [12-Oct-2012 04:57:36 UTC] Enter- library.php. Testing mode 1
    [12-Oct-2012 04:57:36 UTC] Exit- library.php. Testing mode 1
    [12-Oct-2012 04:57:36 UTC] Successfully called library.php
    [12-Oct-2012 04:58:38 UTC] Enter- user_registration.php. Testing mode 1
    [12-Oct-2012 04:58:38 UTC] Entered try catch block
    [12-Oct-2012 04:58:38 UTC] Enter- library.php. Testing mode 1
    [12-Oct-2012 04:58:38 UTC] Exit- library.php. Testing mode 1
    [12-Oct-2012 04:58:38 UTC] Successfully called library.php
    [12-Oct-2012 04:58:38 UTC] user_registration.php. Submit button pressed by user
    [12-Oct-2012 04:58:39 UTC] user_registration.php, Processing enquiry form
    [12-Oct-2012 04:58:39 UTC] Enter- process_upload.php. Testing mode 1
    [12-Oct-2012 04:59:01 UTC] Exit- user_registration.php.
    I am not able to understand why user_registration.php and library.php are executing again and again.
    I ran this test on local testing server MAMP.
    The results are the same on remote server also.
    Please guide.

    I'm not sure what's happening there. The important question is whether the code is executed successfully.
    Since you're using the Zend Framework, it might be better to ask in a dedicated ZF forum.

  • Backing  Bean constructor getting called multiple times

    I have a List of records in the Table with a link Add.
    When i click Add i show a popup dialog which is attached to the dialogListener.
    On clicking OK on the dialog i want to add a record in the List in the backing Bean, but the Bean constructor is getting called multiple times.
    and the list to which the table is attached is also getting called multiple times.
    is there a way in which the method gets called only once?
    Message was edited by:
    user607056

    Hi!
    af:table have property ContentDelivery. When <default> (lazy), the table "frame" iz rendered in first page cycle, and content (rows in table) are fetched lazy i.e. in second cycle. Thus, your backing bean is constructed twice.
    If you set ContentDelivery to immediate, the table including data rows is generated in single page cycle thus your backing bean is constructed only once.
    Hope this helps,
    PaKo

  • Validation Event getting called multiple times

    I am saving an eform after entering a wrong percentage in it.On opening the same eform it gives the validate message "Percentage not valid" pop up .This popup should come only once but its coming around 25-26 times.I checked and find that the validate event is getting called multiple times for the same field.Can someone tell why this is happening and how to resolve this

    Hi rupali Sri,
    Our forum here is for questions related to the LiveCycle Collaboration Service product.
    You might want to post your question to the Livecycle Forms forum:
    http://forums.adobe.com/community/livecycle/livecycle_es/forms_es
    If that's not the correct forum, start from here:
    http://forums.adobe.com/index.jspa?view=overview
    Hope this helps.
    Good luck,
    Julien
    LCCS Quality Engineering

  • ValidateEntity getting called multiple times

    Hi,
    There is a parent EO and a child EO. There is a composite association between the parent and child.Association accessors are generated for both source and destination. In the ChildEO's doDML method , the following code is added.
    Long abc = getPArentEO().getAttr1();
    Long xyz = getPArentEO().getAttr2();
    setAttr3(abc);
    setAttr4(xyz);
    super.doDML();
    getParentEO() is the association accessor .
    After the addition of this code, all the method validators of the parent are getting fired more than once. The validateEntity of the parentEO is getting called more than once if I set some attribute of the childEO in childEO's doDML . Is this the expected behaviour?
    Thanks.

    Even on adding the setter in prepareForDML (either in parent or child) , the validateEntity is getting called multiple times. In fact ,validateEntity is getting called once before prepareForDML and again after. One of my method validators fail on the subsequent call giving an error ..Please help.

  • Same network device gets discovered multiple times in scom

    Hi All,
    In SCOM 2012 , Same network device gets discovered multiple times.
    For example, if we have an ip address 10.91.180.43 added to Network discovery rule.
    When Discovery is run few times.
    its gets discovered multiple times and shows 3 or 4 times under Network Devices.
    Please help me to fix this issue.
    Thank you
    Siva

    Hi dktoa,
    Thank you for the quick reply. i would like to explain my issue in clear.  
    For example, if we have an ip address 10.91.180.43 added to Network discovery rule.
    When Discovery is run few times. its gets discovered multiple times and shows 3 or 4 times under Network Devices. And it gets listed multiple times with same ipaddress not with different ip.
    it will look like this
    10.91.180.43
    10.91.180.43
    10.91.180.43
    ----  I read both articles, they are were interesting.
    Do you mean to say that my issue will get fixed , if i change the AccessAddressFormat = "AUTOADDRESS" as
    AccessAddressFormat = "LOOPBACKADDRESS"
    Please guide me if i am wrong.
    Thank you once again.
    Regards
    Siva

  • Error file in cferror gets executed multiple times

    The error cfm page included in <cferror> tag in Application.cfm gets called multiple times, so email notification is sent more than once. Any thoughts how this can be handled?

    Could we see the code of the tag? In any case, does it help when you place <cfabort> at the end of the error page?

  • Can logger stmts belonging to one class alone not not get printed at times?

    Hello,
    My application has run into an issue where some log statements in "one particular class" do not get printed at times. The issue is not reproduced in a consistent manner ie. it may happen on some days/may not on some other days.
    Here is the structure of the two classes which has reported the issue. I have a class A and another class B which has extended the class A. I am printing 2 log statements in class B(one statement using the logger object of class A (logA object), and the other statement with the logger object of class B (logB object)). But the logger statement using the logA object does not get printed on some days. After a server restart, it starts working fine. Is there some thread which gets killed?
    public class A{
    protected static Logger logA = Logger.getLogger(A.class);
    public static void myLog(String s) {
    logA.info("in myLog, " + s);
    public class B extends A{
    protected static Logger logB = Logger.getLogger(B.class);
    myLog("Log Statement Number 1"); //This statement does not get printed all the time
    logB.info("Log Statment Number 2"); //This statement always get printed
    Any help is appreciated. Thanks
    Anoop

    Anoop.Isaac wrote:
    The issue is not reproduced in a consistent manner Since you cannot reproduce the problem you have not narrowed down what the possible cause might be. So now you expect someone here to diagnose your problem and provide a solution just by reading some vague and incomplete lines of code with no other information.
    Good luck with that.

  • How to Print Multiples time the same psf on one sheet

    Hi,
    I'm looking for the equivalent of rectangular array tool in Autocad, to print recto/verso buisness cards so I could print multiple cards per pages.
    With the multiple tool I just get one card, it doesn't seem to work.
    Thx for your help,
    Matt.

    Thx !
    The Ctrl technique worked fined,
    I wished there was a better tool to do this, but it worked !

  • Action method getting called multiple times.

    Hi All,
    The problem that I am facing is pretty weird.
    The issue is the i have an input field that takes date as input field.
    This field is inside a data taable
    FYI: I tried converter still same problem.
    So when ever I enter wrong data as "asda" inside this date field I get a validation error. which is good. So assume it took me 3 submit clicks to fix all my errors on the page.
    So now when I click the submit for the 4th time.
    The action method gets trigerred 4 times.
    Desperately waiting for a fix.
    Thank you in advance.
                                            <h:dataTable id="disbursementTable"
                                                 value="#{certTemplateBean.disbursements}" var="disbursement"
                                                 binding="#{certTemplateBean.disbursementTable}"
                                                 columnClasses="disburseDate,disburseAmt,disburseAction"
                                                 styleClass="disbursementTable" cellspacing="0" cellpadding="1">
                                                 <h:column >
                                                      <h:inputText id="disburseDate" styleClass="#{certTemplatesListBean.errorHolder.disburseDate} ms" size="10"
                                                                value="#{disbursement.date}">
                                                           <f:validator validatorId="RegExp" />
                                                           <f:attribute name="regexp" value="[0-9]{2}/[0-9]{2}/[0-9]{4}" />                                             
                                                           <f:attribute name="fieldRef" value="Disbursement Date :" />
                                                           <f:attribute name="message" value="Invalid Date" />
                                                           <f:attribute name="bean" value="certTemplatesListBean" />
                                                      </h:inputText>
                                                 </h:column>
                                            </h:dataTable>
                                            <h:commandLink id="addPro"
                                                 action="#{certTemplatesListBean.doAddUpdateCertTemplate}">
                                                 <h:outputText value="Add Profile direct"/>
                                            </h:commandLink>

    Probably got to do with the JSF jar files. I am not sure though. Can you check if the below link is useful?
    http://jira.jboss.com/jira/browse/AJSF-127

  • SAPSCRIPT : Line Printing Three Times?

    Here is the code: Anybody see why this would print three times?
    /E   HEADER_TEXT                                                              
    L    <H>   </>                                                                
    /:   INCLUDE &EKKO-EBELN& OBJECT 'EKKO' ID 'F01' LANGUAGE &EKKO-SPRAS& PARAGR >
                             Thank-You.

    Hi Tom
    look at ur program where it calls the FUNCTION 'WRITE_FORM' when
    EXPORTING
       ELEMENT                        = 'HEADER_TEXT'
    maybe it's doing a loop, do times, etc...
    Regards
    Allan Cristian

  • Firefox making same GET call multiple times

    Firefox is making the same AJAX call multiple times for a single event when it should really do it once. Actually, with each single click the number of calls multiplies. I have tested the application using Chromium and Eclipse's internal browser and I have no problems.
    I removed all add-ons and started Firefox in safe-mode, but the problem persists.
    Please advise,
    Arthur Nobrega

    Hi Arthur, do you have a page available that demonstrates this problem? If so, please post a link. Perhaps your test doesn't actually need to make a network request: for example, perhaps it could add a message to the page indicating that the relevant section of code was triggered.
    Since this site focuses on end user support, you might also consider taking this question to a more developer-oriented forum such as the unofficial [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board], or to StackExchange.

  • Workstations get registered multiple times

    Right now I'm working on ZLM7.2 and I'm running into a problem where workstations get registered each time the workstations are re-installed. I use an AutoYast preboot bundle for this which installs SLED10 in this case. The workstations add the guid to the new object.
    Ex.
    ws1
    ws1-xxxxxxxxxxxxxxxxxx
    ws1-yyyyyyyyyyyyyyyy
    ws1-zzzzzzzzzzzzzzzzzz
    What it really should do is update the existing object.
    Anyone?
    Kind regards,
    Robin Meeuwsen

    Robin,
    in case you do a autoyast installation, this is how it works.
    The device registration is working based on a device id that is generated at the device the first time zmd is started. You will find that file in /etc/zmd/deviceid. As SLED 10 has a zmd package in the distribution, the deviceid will be generated the first time the system starts up. In case you update to the zlm client afterwards, that deviceid file will be kept for the new client. Once you register the system against the zlm client it will recognize that there is already a device with the same name (not the same deviceid) and it will create another one with the device id as extension of the name.
    Are you running the autoyast installations just for a test or is this a common task in your company ?
    Rainer

  • MM Sapscript Medruck - print two times in different way

    Hi,
    I have to use the form medruck to print orders and deliveries. Only if ekpo-pstyp & ekpo-knttp = F, it should be printed one order form and one delivery form. The delivery form is like the order form, only a few text-differences and so on...
    So I also want to use medruck, if it´s possible.
    My problem now is, how can I print the order form and also the delivery form, if the mentioned fields have the specific content? How do I have to make the changes in the print program SAPFM06P? Is it possible to loop the print process two times and set a flag to decide in the sapscript, if the order or the delivery should be printed, or only the order?
    I hope, You have got my problem!
    Thank You very much for our help!
    Cheers Arne

    First copy the function group MEDRUCK to ZMEDRUCK, including all function modules.
    Copy the SAPFM06P to SAPFZM06P.
    In the SAPFZM06P program, copy the include FM06PE02 to ZFM06PE02 and comment out the FM06PE02.
    In the FM06PE02 include program, there is a FORM called ENTRY_NEU, change the call to ME_PRINT_PO to ZME_PRINT_PO.  Now you will be making all of your modifications to the ZME_PRINT_PO function module which is in charge of printing the PO. 
    The main program for the function group will be SAPLZMEDRUCK.  There will be a lot of includes.    Check the include LZMEDRUCKF02.  There are alot of includes there also.  To change something, just copy the include into a "Z" version, include it here, and comment out the standard include.  Then you can make your changes accordingly.    We have done modifications to many includes in the LZMEDRUCKF02.
    Also, you have to make sure to change the configuration to point to the SAPF<b>Z</b>M06P.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Itunes 10.5.3.3 stops Working

    Hello, after updating to the before mentioned version of itunes, it stopped working. Meaning it froze while playing music. After i tried to remove an reinstall it ( with all my music an playlists removed ) i reinstalled it. and now it always freezes

  • RGB, CMYK, rotated pages, and PDF error

    This is a weird one. I have a FM 9 file. It's a chapter within a book. It has both portrait and landscaped pages. If I "Save as PDF" from FM 9, and do not check "Convert CMYK colors to RGB," the landscaped pages do not rotate to landscape in the PDF

  • HT203167 Can't find my purchased. Ringtones

    Can't seem to find none of my purchased ringtones to put them on my phone???? They are not under purchased!!! But are in my Purchase History

  • OS X Server and Active Directory

    Hi I'm trying to use OS X Server 10.5 with Active Directory and have got to the stage where I can view AD users and groups in Workgroup Manager and have authenticated on the domain. However, if I try and change a user's password I get "The password c

  • AppleMobileDevice using upto 100% of CPU, pls help

    I have recently downloaded itunes 10.5.0.142 and since then I'm having major problems. When i start up the computer the AppleMobileDevice is using 100% of the CPU and won't allow me to do anything until the process is stopped.  When i do finally get