Output blank for some of fields in SAP script

Hi All,
I am working for an issue in which a ZFORM is configured with VA22(Change Quotation) and ZDRIVER Program.Now my
Concern is when user make some change and save the Quotation and pick the option from menu to show print preview:
Menu -> Sales Document -> issue Output to -> Message type
Now using this option he pick the appropriate message type for ZFORM and he get some of fileds black of some
of windows of FORM. Now if he reopen the transaction VA22 or open VA22 in another session and pick the same
option to show the output of form then all those missing value appear properly, I checked in DRIVER program that
every field having value Properly and is passing to F.M "TEXT_SYMBOL_SETVALUE" with their corresponding
TEXT SYMBOL names properly in both of the case..........
It seems that there might be a problem of buffer memory but I am not sure, could someone help me out.

Hi,
Check if SAP note 1243485 resolves this problem.
Regards,
Aidan

Similar Messages

  • MacBook pro doesnt start. When I start my lap top, it shows the apple and the line uploading but it only goes like to 1/3 and then it goes blank for some seconds, then it turns off by itself and turn on again and happen the same, apple logo, etc

    MacBook Pro doesnt start. When I start my lap top, it shows the apple and the line uploading but it only goes like to 1/3 and then it goes blank for some seconds, then it turns off by itself and turn on again and happen the same, apple logo, line .. the noise like-fan going on, then turn off and turn on again. Tried starting holding option command P and R key and didnt work either. Starting to think I have lost all my data inside

    Try a SMC reset.
    http://support.apple.com/kb/ht3964
    It might be helpful if you indicated the exact model/year of your MBP.  Are you running Lion OSX?
    Ciao.

  • Field Headinds for some Z fields does not appear in SE16n

    For some custom defined fields, headings does not appear if we use transaction SE16n. But that appears if SE16.
    Please reply if you got similar issue.
    Thanks
    Manish

    Hello Manish,
                            This is because all the the custom fields those are not created with reference to a data element won't display the filed names in Se16n.
    So if you want you can make your custom field of the append structue to refer a data element.
    Thanks,
    Greetson

  • Batch is blank for some production order number

    Hi Experts,
    For some cases planned order does not converting into production order,i mean batch(CHARG) is not updating.it seems production order link is missing,In CO03 transaction i'm not finding relative batch number for production order.
    Let me know If you have any solutuion

    Without further information on what information you need to extract from the Batch table and when, I have the following suggestion
    The Batch Rows table IBT1 should be linked to the Production Transaction. 
    IBT1.BaseType = 60

  • How can i update regup-sgtxt field in sap script

    Hi experts,
    I have created sap script for payment print prog. In that one field is amount discription "REGUP-SGTXT". i want to use field "REGUP-SGTXT" as a discription. for sap script payment print i use T-Code f-43, fb03,f-58... now in whic T-code i fiiled the value of "REGUP-SGTXT"?? how can i update value in my sap script?? cause i ceateed so many doc no but "REGUP-SGTXT" its blank... so how can i fill this fiels???
    Give me suggetion
    Zenithi

    Hi
    Most of the times this text won't get populated
    So better write an external PERFORM subroutine in the SCRIPT and fetch it from BSEG/BKPF tables using BELNR field and use in the cheque printing.
    see the sample code for subroutines
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    /: PERFORM
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Deleting zeros in Quantity field in Sap Script

    Hi,
    I have a Quantity(FKIMG) field in Invoice (Sap Script), It is showing as 1.000 ,I want to show this as 1 ,By removing all zeros and point.
    how can i do this in Script?
    Thanks in advance,
    fractal

    Hi,
    Use <b>TRUNC</b>    "Interger part of x
    ex:
      TRUNC(FKIMG) to get integer part of the quantity.
    or
    declare an integer variable and pass quantity to this variable , use the same variable for print.
    Regards
    Appana

  • Using Sum field in Sap script

    Hi all,
    I am trying to add content of field (Tax VAT) in sap script and put into another symbol using following command
    /:SUMMING program symbol INTO sum symbol
    but after running me22n tcode to display the PO error occured
    <b>Overwriting a protected field</b>Error analysis
        The program tried to assign a new value to the field "<SM_SUM>" even though
        it is protected against changes.
    I am modifying medruck std PO script and using standard prog. for it i.e. SAPFM06P.
    Please tell me wheather it is necessary to make sum symbol dynamically define in SAPFM06P and how to do this.
    with regards
    Rajvinder Sahni

    Hi...
    If you need to summ numbers or do any operation, in your SAP Script you can call subritunes and do all the operations you need.
    On your SAP script write:
    /: PERFORM subrutine IN PROGRAM Zprogram
    /: USING &PAR1&
    /: CHANGING &PAR2&
    /: ENDPERFORM
    PS: You can use as many USING AND CHANGING as you need.
    And the zprogram goes;
    FORM subrutine TABLES t_in STRUCTURE itcsy
    t_out STRUCTURE itcsy.
    data: par1 type n.
    Read the value on PAR1
    READ TABLE t_in WITH KEY 'PAR1'.
    CHECK sy-subrc = 0.
    PAR1 = t_IN-value.
    DO WHATEVER YOU NEED TO DO
    ADD 1 TO PAR1.
    SEND THE VALUES BACK
    READ TABLE t_OUT WITH KEY 'PAR2'.
    t_sal-value = PAR1 .
    MODIFY t_OUT INDEX sy-tabix.
    ENDFORM.
    Hope this helps,
    Gabriel

  • How to go for some customize change in SAP Std.

    Hi all,
    I have to hide some in F-47 and other operation in some fields.
    My question is how to go for enhancing a SAP std. and how to identify the exits in which the code is to be return and how to activate that exit. Pls help me with the steps.
    Thanks in advance,
    Vivek

    To know what are the exits present in that t-code,
    steps are:
    1) go to se-93.: write the t-code of that transaction where u want to see the exits.: ex: va01.
    display : copy the package name.
    2) cmod : create the project name.
    3) under enhancements press f4 key, now paste the package name..n enter.
    4) it will give all the existing user-exits for that va01.
    try 4 this..

  • Importing data file back into blank PDF - some data fields don't populate

    I have created a writable PDF in Adobe LiveCycle 8. Once the form is completed the person filling out the form submits by email. The email is successfully received and the data file is complete (opening it in a browser verifies this). However, when I use try to import the data back into the PDF file (by opening Adobe Pro | blank form | managage form data | import data - only some of the fields are populated. I need this data to repopulate the form so I can print it and I also need to export it to Excel for other purposes. What am I doing wrong?

    Check the binding on the fields that don't populate and see that it is set to something other than None.

  • Need PP Functional help for some legacy fields

    Hi all,
    I am a BW consultant. I need to replicate in SAP-BW some reports that are currently in a legacy system (non SAP). I have identified the functional area for those reports as PP. I need a little functional help from you guys to find out what some fields in the legacy system mean in SAP. Once I know the R/3 fields (and source tables if someone can tell me), I can move forward with mapping those fields into BW objects and the rest of the process.
    The reason why I am seeking help from here is, unfortunately our functional team is not available right now and their availability is indefinite. So I just want to keep myself busy till they are back.
    Well, here are the fields that I need help for (for now)
    The report is for Daily summary of activities at a plant
    Work order process
    Work order type
    Daily Created Bags
    Daily Capacity Bags (Bags per Hour Rate* Available Hours)
    Daily Count of Work Order Number
    Goods issued for work order completion
    Goods finished
    Please help me identify what R/3 fields (and their tables) correspond to the above legacy fields
    Points WILL be assigned for helpful answers
    Thank you

    Hi,
    Work order process - I assume this is the set of operations for the order - AFVC (table)
    Work order type      - AUFK - (Field) AUART data needs to be fetched for AUFNR(Work order number)
    Daily Created Bags - MSEG - data needs to be fetched for BWART = 101 or 102 and AUFNR(Work order number)
    Goods issued for work order completion - MSEG- data needs to be fetched for  BWART = 261 and AUFNR(Work order number)
    Goods finished - MSEG - data needs to be fetched for BWART = 101 or 102 and AUFNR(Work order number)
    Regards,
    Prasobh

  • Explain for some really email about SAP BW

    Hello Gurus,
            I have following info from a email:
            subject :  'Data Push from BW Successful'
    ZBPUR_DNC_DATA_PUSH ended without errors.
    Audit Table:
    Table name               Start time           End time              # of rows  Incr Start time     Incr End time
    AcctDocType              2010-04-24 11:05:06  2010-04-24 11:26:33         110
    CPGCreate                2010-04-24 11:05:06  2010-04-24 11:26:33          16
    CompanyCode              2010-04-24 11:05:06  2010-04-24 11:26:33         773
    CostCenter               2010-04-24 11:05:06  2010-04-24 11:26:33       65415
      will you please idendify what that ZBPUR_DNC_DATA_PUSH is? and what Audit Table means?
    Many thanks

    Hi,
    Pls check in the T-Code SOST..
    Guru

  • How to add new fields in sap scripts using itcsy structure

    hi guys,
               could u provide the screen-shots for adding field in scripts. copied standard forms .
    thanks& regards
    eswar.

    Hi,
    you cannot add new fields using ITCSY. It is the interface structure between a SAPscript an a value-changing form-routine.
    Need example anyway?
    Good luck!
    Jo

  • Format for hiding the text in sap script

    Hello gurus,
    I waanted to know if there is any tag column to hide a text in corresponding line. My detail requirement is that I need to add GUID as a indicator at the beginning of the formatting text but that should not be visible to the user. currently you can protect the text i.e not allowing the user to make changes to the text by using tag '>X'. Like that is there any tag for hiding. I am not able to get it.
    thanks and regards.

    Hi,
    Try it using
    Hidden - Standard Attribute for Character Formats
    The character string is not printed. The text is only visible in the text editor.
    Also, check
    http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
    Regards,
    Edited by: Neenu Jose on Nov 5, 2008 5:04 AM
    Edited by: Neenu Jose on Nov 5, 2008 5:06 AM

  • How can i use page break for every 5 records in sap scripts

    on every 5 lines of records i have go for a new page so what is procedure to do this .if possible send me with coding .

    Hi John..
    this is the way..
    IN THE PRINT PROGRAM...
    DATA : V_MOD TYPE I.
    loop at Itab.
       V_MOD  = SY-TABIX / 5.
       IF V_MOD  = 0.
           CALL FUNCTION 'CONTROL_FORM'
           EXPORTING'
              COMMAND = 'NEW-PAGE' .
      ENDIF.
             CALL FUNCTION 'WRITE_FORM'
    ENDLOOP.
    <b>reward if Helpful.</b>

  • SAP SCript (FINANCE)(MR90) Help and Procedure for creating Invoices

    Hi,
       I have configured an new output type for ( Finance ) Redemption Claim Invoice SAP Script in SPRO.
       But in the MR90.  for executing the new layout with output type i am not able to create the data.
       In MIRO I tried creating the INVOICE but i could not create the invoice to the new output message type.
       Can anyone please guide me how to proceed with.
    THANKS IN ADVANCE.
    GUHAPRIYAN SUBRAHMANYAM.

    hi Hari,
    there are user exits for extraction, reporting, ...
    check the links in
    https://wiki.sdn.sap.com/wiki/display/BI/ABAPinBW
    Customer Enhancements and Userexits in BW
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    extraction exit steps can be found
    'How to ... Extend Master Data to incl. Social Security Number ' ?
    https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004516062001E
    for reporting example
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    hope this helps.

Maybe you are looking for

  • Your firmware can not be updated because the hard drive...SMC 1.3

    Hi all ! I have a problem. I'm have a macbook pro Santa Rosa = Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 3 MB Memory: 4

  • Discount not calculatig on Purchase order

    hi, maintained discount condition ZABC when maintained in purchase order, it doesnt give effect anywhre? Pls suggest Alex

  • CDATA element mapping in Biztalk Mapper

    Hi, we have a input message which has an element called ParticleName. an example is:  <ns:ParticleName><![CDATA[TestingName]]></ns:ParticleName> There is a biztalk map which takes this message and transforms it into another. When i try test map, it d

  • Error code 1450 - memory mapped file

    Hello, in my application I am using memory mapped files. I have three of it, the maximum size of the biggest one is 5MB. I store 64 Waveforms from a DAQ card in it.  The application runs fine, but sometimes comes an error, when I try to access the MM

  • BOUTON DANS MUSE

    Bonjour, a part dans photoshop pour utiliser les calques,  comment créer un bouton dans muse avec 2 textes l'un sur l'autre apparaissant ou pas selon l'état du bouton ?