Two spool getting generated for a single SAP script

Hi ABAPers,
I have a SAPscript development. This is a PO form for India. When I do a "Trial printout" in ME9K I see that two spools are generated. This is my first problem as till last week only one spool was getting generated. Only spool should be generated.
My second problem is that, the second spool which is generated has texts shown in some different language than English (my form only exists in language EN which is the orginal one too). When I debugged this whole thing, on the second run of the debugger (i.e. when the second spool is generated), when the control goes to a text in one of the windows, that text is shown in some other language (in debug mode also). Please note that the standard text is a Global standard text and it exists in around 6 languages.
I guess if only one spool is generated then my second problem would be solved. But then why are 2 spools generated in the first place?
If anyone has came across similar kind of problem please help. Thanks in advance.
regards,
Prakhar

Hi,
   Check this..
1. Go to txn. NACE... select application "EF"... then click on "Condition Records" button
2. Select your Output Types...(ex. NEU)....
3. Go to Change condtion Record Screen. Select ur condtion then click on "communication" button..
4. Under Print Output Check the field "Number of Message" if it is 2 then delete it.
Regards
GK.

Similar Messages

  • Two table maintenance generator for one table

    Can we created two table maintenance generator for one ztable. if yes then what will be the steps.

    Hi Prem,
    Why you need two table maintenance generator for a single table?
    We can generate only single table maintenance  generator for a single table.
    you can add modification event in  inside table maintenance if you need anything to change or validate in insde your table maintenance generator.
    Regards,
    Prasenjit

  • Planned order not getting generated for FG

    Dear Experts,
    Planned orders not getting generated for the Finished Goods - X which is having MRP Type M0 - MPS fixing type strategy group 20 which is copied fron another FG - Y , its a new product and production plan has been updated through MC88 - Rough cut planning but the planned orders are not getting generated.
    And for the material valid production version exists with selection method 3 and individullcollective as 1.
    Please let me know what might be the possibalities and what all the key fields i need to check.
    Thanks & Regards,
    Sampath
    Edited by: sampath s on Jul 13, 2011 11:31 AM

    Dear,
    In general MPS is run for High value items ( if you use like Gold , Platimum or A class items. ).
    Always only single level is used for Explosion and planning. then only you can analyse the requirements at each stage before procurement.
    Otherwise if you run MPS to multi level, Bottom most high value will be procured without any notice to authorities. Even you may cancel the process in mid way. At that time what will happen to the procured high value material.
    So for that purpose only single item single level MPS concept is evolved.
    Fo that you run MPS at single level so that only for the first level MPS will be carried out.
    Check and revert back.\
    Regards,
    Alok Tiwari

  • CRMXIF_ORDER_SAVE IDOC not getting generated for BUS_TRANS_MSG BDOC

    Hello Experts,
    In our project, we have a requirement to send custom fields in the BUS_TRANS_MSG to external system through XIF. The model of BDOC BUS_TRANS_MSG triggering IDOC CRMXIF_ORDER_SAVE_M02 perfectly worked in the development system. We wanted to try the custom field extension in the Sandbox. So as per OSS note 916093, we have extended E101_CRMXIF_CUSTOMER_H segments with custom fields and tried generating the interfaces in BDFG transaction. While generation with IDOC CRMXIF_ORDER_SAVE_M we got an error message "Incompatible change to complex data type
    type E101CRMXIF_ISU_PRA1_X". So went about creating a custom IDOC ZZ_CRMXIF_ORDER_SAVE_M02 for message CRMXIF_ORDER_SAVE. Even for this config, the IDOC is not getting generated for the BDOCs. Lastly, configured the IDOC ZZ_CRMXIF_ORDER_SAVE_M02 to a custom function module ZZ_BDFG_IDOC_TEST_FM. The FM got generated and activated, even then the IDOC is not generated for the BDOC.
    SMOEAC config in Sandbox looks the same as the Development system. We do not the reason why IDOC is not getting generated and also the reason for error in BDFG while generating the interfaces after adding custom fields to CUSTOMER_H segment.
    Any help would be appreciated.
    Thanks,
    Partha

    Hi Partha,
    Kindly check the following thread.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?QuickLink=index&overridelayout=true
    XIF adapter
    Hope it answers your Query
    Regards,
    Srikanth.Naga

  • Invoice getting generated for 103 MT not for 105 during ERS

    Hi Experts,
    I am facing one problem ,our client follows 103- 105 Mvt procedure for GR.
    the requirement is to create automatic invoice through MRRL  for movement type 105 but instead zero value invoice is getting generated for 103 MVT
    Please suggest.
    Regards.

    Hi,
    Does 105 is performed for your PO .
    Before running MRRL.
    Does GR based IV and ERS indicators are ticked in PO?
    Do also check the below KBA it may help you.
    1543167 - Invoice is posted with zero amount in T-code MRRL

  • Proposals are not getting generated for BOM items in MD50

    Hi Gurus,
    I have maintained strategy 50 in MRP for header material , Item category gp as LUMF & maintained consumption parameters in material master .
    For dependent requirements i have maintained BOM for production & sales usage, Strategy is blank as it is customer specific component , Item category gp is NORM , individual requirements i.e 1 in MRP 4 view.
    MRP type is PD in both materials.
    When i run a MRP thru' MD50 after getting customer order.
    it is not planning my dependent requirements i.e. proposals are not getting generated for dependent requirements (BOM materials).
    Please let me know the solution.
    Thanx in advance
    Regards,
    Nagraj Vasmate

    try to use strategy 20

  • SQLloder scripts not getting generated for CLOBs

    I am trying to migrate MYSQL 3.23 database into Oracle 8.1.7 and after creating the Oracle model and after converting the MYSQL text datatype into CLOB of the Oracle model the SQLloader scripts is not getting generated for CLOB datatypes. I mean the scripts are getting created but there is no change in the script for CLOB datatype.
    The script generates the following for the table containing CLOB datatypes:
    mysqldump -h <HOST> -u <USERNAME> -p<PASSWORD> -T <DESTINATION_PATH> fields-terminated-by="<ec>" lines-terminated-by="<er>" test av_wbt_course
    Please let me know how to load data when the datatype is of CLOB ?

    I was able to resolve this issue by using OWM Oracle Migration instead of using offline method by sqlloader scripts.

  • Calling different pages in a single sap script based on conditions?

    Hi All,
             Can anyone please give me an example of how to call different pages in a single sap script based on condition. Eg., i need to call 5 differnet pages from a single sap script based on 5 company codes.
    Please help
    Regards
    Priya

    This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
    SAPscript -
    /: Perform get_date in program z_at_date
    /:    using &p_year&
    /:    changing &new_date&
    /: endperform.
    program z_at_date -
    form get_date TABLES rec_in  STRUCTURE itcsy
                                    rec_out STRUCTURE itcsy..
    DATA:
       v_year type char10.
    sap script and subroutine uses itcsy structure to transmit parameters
    first parameter is incoming while second parameter is out going
    their function is like an internal table with header line
    all data types between SAPscript and subroutine are string.
    so, you might need additional conversion.
    read incoming parameter with exact name from SAPscript
      READ TABLE rec_in WITH KEY name = 'P_YEAR'.
      IF sy-subrc EQ 0.
        v_year = rec_in-value.
      ENDIF.
    to return value, use the exact name on the second structure
        CONCATENATE v_year v_year INTO v_year.
        READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
        IF sy-subrc EQ 0.
          rec_out-value = v_year.
          MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
        ENDIF.
    endform.
    Hope this helps =)

  • Request for Quote IN SAP SCRIPTs

    Request for quote in SAP Scripts
    Do any one was modified MEDRUCK layout??
    Please let me know ,which elements
    do they people used??
    thank you

    Hi Silpa,
       You needn copy the MEDRUCK Script for your specific purpose. You can create your own script for your purpose. Its not necessary that you have to copy the original one and proceed.
    Link:
    http://www.sap-img.com/sapscripts.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0db74a494511d182b70000e829fbfe/frameset.htm
    Reward if helpful.
    Regards,
    Tushar

  • Two TOs got created for a single Posting Change

    Dear All,
    A material document with movement type 309 got posted in a plant where WM is active.Here the material is moving from one batch to another batch.
    The material document has 100 items.For each item when this movement happens a Posting Change will get created in WM and this will get converted to TO immediately through background job.
    For all the materials except one  this is happening fine, ie if for example if the quantity in the material doc is say 100 PC,then posting change will get created for 100 PC  and this gets converted to single TO with 100 pc
    But for one materal , for a Posting change of qty 90, two TOs got created with same qty ie 90 pcs each.
    Please let me know your thoughts on this.What may be the reasons for this
    Regards
    Shyam

    Dear RK and Arakish,
    Thanks for the replies.
    But i think i need to expalin you the issue in detail.
    Problem Description:
    1) Single Posting change getting converted to two TOs with same quantity each
    2) Unable to go into display mode or change mode of Posting Change because of Error   message. u201CPosting change quantity less than quantity already postedu201D
    Message no. L2145
    Sceanrio:
    Material Document is posted with 309 movement,for moving a single material from single batch to different batches. The material document consists of 140 line items for the same material, but movement happening to 140 different batches.
    For example First line item of the material document corresponds to movement of the material
    From batch 1530040 to batch 71656W01 with quantity 105.438 DIE
    Second line item
    From batch 1530040 to batch 71656W02 with quantity 105.374 DIE
    For each line item, once the movement is posted in IM, corresponding Posting Change get posted in WM with the same Quantity. A background job converts Each Posting Change to single TO with same quantity.
    For example: For the first line item , Posting change 713513 got created with quantity 105.438 DIE which got converted to TO 1057743 with same quantity ie 105.438 DIE
    Issue:
    But only for one line item, the Posting Change with Quantity 90.901 DIE got converted to two TO s of quantity 90.901 each. And the posting change status is Partially Processed
    Because of this, we are not able to go inside the Posting Change neither in the Display mode or Change mode due to the above mentioned error message.
    Please let me know your thoughts on this
    Regards
    Shyam

  • How to generate a Spool based on output type in SAP Script

    Hi all,
    Is it possible to generate a spool based on output type for a SAP Script (without explicitly trigger in Tcode VF02 and selecting output type from there )
    Actually a background job will be scheduled to process output types selected in VF01 / VF02
    When output type is ZABC in the background a work flow is called pdf is generated

    Any suggestions please

  • Accounting documents not getting generated for mvt. type 221 Q

    Hi friends,
    When goods are issued for consumption for project accounting documents are not getting generated.
    I have tried with mvt. type 412 Q, 211 Q,
    by mvt type 412 Q, the stock is transfered to project stock, it shows the stock of material in project stock, by movement type 211 Q the project stock gets consumed. So at the time of consumption of consumption account should hit and relevent accounting document should get generated. this is not happenning.
    When i check material document and check for accounting document, message flashses that movement is not rrelevent for accounting.
    Can any one throw more light on this?
    Thanks and regards
    SAP MM

    Hi,
    Please check in PO item details Delivery tab. In that GR Non-valuated checkbox might be checked.Generally for account assignment category asset it is ticked.
    If you tick GR non-valuated check box then at the time of GR accounting document will not be created.Accounting document will be created only at the time of IR.
    or
    Have you mantained Chart of accounts.
    have you mantained Valuation area settings
    Transaction event key
    Valuation class settings.
    Check your material master data in accounting view have mantained Valuation class.
    Check your back ground settings OMWN.

  • Incorrect url getting generated for content server download

    Hi,
    In the MIC(Management for Internal Controls) system, the standard functionality of downloading attachments after they have been uploaded into content server (FOPC_DB) is not working. When this download link is clicked, it opens another webpage and its URL is pointing to wrong  port number.
    Detailed analysis:
    On further analysis, we arrived at the following observations:
    The URL for Start page of MIC is as follows:
    http://hostname.com:8050/sap/bc/bsp/sap/fopc_start/start.htm?s
    Whereas the incorrect url getting generated during down load is
    http://hostname.com:8097/...........
    The sap webdispatcher is running on the system using port 8050. Whereas the ICM engine is running on port 8097. The download url picks up the port number of default ICM which the sap webdispacher does not allow to display.
    We require help in changing the port number so that correct url gets generated. This url should carry the port number of  sap webdispatcher.
    Thanks for the help.

    DEVELOPMENT (WORKING)
    QUALITY (NOT WORKING)

  • Spool is generated for purchase order print

    Hi Experts,
    We created new printer in production system and defined this as default printer in message conditions. Problem we are facing is that spool is not generated for this printer and message become red. In message log, system is not displaying any error
    For other printers system is behaving fine and able to generate spool and print.
    Regards,
    Kamal

    Kamal,
    Please ask your Basis team to configure the new Printer in SAP.
    Regards,
    Manish

  • Spool not generated for background job

    Hi all!
    I have a Zprogram that does some validation and submits the data to transaction ME59 using SUBMIT statement. The program is running fine in foreground.When it is scheduled for background, the spool is not getting generated. I know that if a program contains SUBMIT statement, the spool will not be generated when run in background. But is there a way to make it work? The client requires the exact output that we get in foreground.

    Hi,
      All spool requests will be stored in TSP01 table
    TSP01 - Spool Requests
    field name for Spool request number is RQIDENT
    Hi,
    Take a look at OSS Note 422136 which states:
    "2. You can only store one spool request even if a step generates several spool requests during processing. The application is responsible for a "spool overview" in this case. If a step generates several spool requests during processing, only one request can be stored. In this case, the application report should issue the number with a message when writing a spool request so that it is then displayed in the job log."
    Also take a look at OSS Note 519059 which further supports the case that you must capture the individual spool numbers as they are being created (i.e. within the job step's program). The note contains the following:
    8] Question: How are the spool requests assigned?
    Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview
    <b>Reward points</b>
    Regards

Maybe you are looking for