Sap script symbol, how value is getting populated

We have a Delivery Note in which it says Total units = 56. But in debug I saw the symbol &UNIT(Z)& which is getting this value 56 on Devlivery.
   I want to know from where this value is coming on layoutset? can any one please tell me....as this is not table field or custom variable that is coming from print program.
Thanks a lot.

Hi,
I think through debugging only you can find the same.
In your script utilites activate debugger and your include set a break point in the open form and after reaching your include
in the debugging screen press f6 and find where your unit value is coming from.
In your script display check defination select here also you will find in which programs your form is triggered.
Your include is using in many program, if you know program then keep a break also in your program especially in write_form
function modules.
Thanks,
Phani.

Similar Messages

  • If i got incorrect characters in the output of sap script? HOW TO CORRECT I

    If i got incorrect characters in the output of sap script? HOW TO CORRECT IT?

    Hi Sunil,
    Debug the script and check where exactly those are getting populated. Definately you will get it. Check the conversion parts means character to numeric conversion.
    If your version is 4.7E then select unicode check box in the reports attributes. It will display the error message so that we can solve very easily.Hope this helps you, reply for queries, Shall post you the updates.
    Regards. 
    Kumar. .

  • How TVV2 table gets populated????

    How Table TVV2 gets populated in SAP? Please help
    Thanks,
    Sheel

    Moderator message - Please do not add a meaningless comment like "Resolved the issue....." when closing a thread. It only brings old threads to the top of the forum list and pushes current ones down.
    Rob

  • How FEBEP-SDOC2 gets populated?

    Hi Experts,
    Please help me in understanding how FEBEP-SDOC2 gets populated? For a development I need to know working of NBBLN, AKBLN and SDOC2. Please help.
    Thank you

    Hi all,
    From my observation I have noticed that these fields gets populated in following scenarios:
    1) SDOC2 - Partial Payment
    2) AKBLN - Cash on Account
    3) NBBLN - Complete Payment
    Regards
    Pankaj Pareek

  • Values not getting populated in sapscript

    Hi,
    i have written a subroutine pool with ENTRY form . which is configured in NACE. when i run the T-code VT03N. in debugging mode in the subroutine i am getting the values . But the values are not gettng populated in sap script. open_form , write_form close_form and text elements are all used.
         the same code is copied and put in a report without ENTRY form and run directly then we are getting the values in script.
    please let me know for any answers.
    Thanks
    Chetan
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on May 14, 2009 1:06 PM

    H,
        Do as below.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       form                              = 'ZTEST_SCRIPT'
      LANGUAGE                          = SY-LANGU
    EXCEPTIONS
       canceled                          = 1
       device                            = 2
       form                              = 3
       OPTIONS                           = 4
       unclosed                          = 5
       mail_options                      = 6
       archive_error                     = 7
       invalid_fax_number                = 8
       more_params_needed_in_batch       = 9
       spool_error                       = 10
       codepage                          = 11
       OTHERS                            = 12
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Loop at itab .
    call function 'WRITE_FORM'
    exporting
    element = 'LABEL'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    window = 'MAIN'.
    ENDLOOP.
    Call Function 'CLOSE_FORM'.
    In SE71 'ZTEST_SCRIPT' in main window
    add a field like &ITAB-MATNR&.
    ex:-
    /E   LABELS
    P1   &ITAB-MATNR&.
    Regards
    Krishna
    Edited by: Bala Krishna on Aug 11, 2008 12:28 PM
    Edited by: Bala Krishna on Aug 11, 2008 12:29 PM

  • OVS value not getting populated in field

    Hi Experts,
    Kindly suggest me a solution for the below given issue.
    I have added three custom fileds to an already existing WD Coponent.
    And also added OVS help as an input help method to these fields.
    If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
    If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
    Below is the logic I have written.
    method ON_OVS_PAYMENT .
    TYPES:   BEGIN OF ty_payment,
                 payment TYPE char4,
                 desc    TYPE char30,
               END OF ty_payment.
    * declare data structures for the fields to be displayed and
    * for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
    *   add fields for the display of your search input here
          payment type char4,
    *      desc    type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    *   add fields for the selection list here
          payment type char4,
          desc    type char30,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_payment       type string,
            lt_payment       TYPE TABLE OF ty_payment,
            ls_payment       TYPE ty_payment,
            lv_short         TYPE string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    *   in this phase you have the possibility to define the texts,
    *   if you do not want to use the defaults (DDIC-texts)
          ls_text-name = `PAYMENT`.  "must match a field name of search
          ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name = `PAYMENT`.  "must match a field in list structure
          ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `DESC`.  "must match a field in list structure
          ls_text-value = `Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.
          ovs_callback_object->context_element->get_static_attributes(
              importing static_attributes = ls_search_input ).
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
          if ovs_callback_object->query_parameters is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    ******** TODO exception handling
          endif.
    *     call business logic for a table of possible values
    *     lt_select_list = ???
          lv_short = <ls_query_params>-payment.
          CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
          EXPORTING
          i_payment             = lv_short
          TABLES
          ET_PAYMENT            = lt_payment.
        lt_select_list[] = lt_payment[].
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    *   apply result
          if ovs_callback_object->selection is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `PAYMENT`
                                   value = <ls_selection>-payment ).
          endif.
      endcase.
    endmethod.

    Hi Pradeep,
    I don't think it really make any difference to the application run if we run from SE80 or run via application url.
    Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
    Regards,
    Rama

  • Values not getting populated in the o/p

    Hi,
    I have a requirement,where in which I have to add MRP Controller(marc-dispo) and production scheduler(marc-fevor) fields in the selection screen and the same should be added in the o/p.These fields are not getting populated in the o/p,even if I give some values for these fields in the selection-screen.What would be the reason for this?
    Regards,
    Hema

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Values not getting populated in the SMOPCCAPRO

    Hi,
    We had added a new field to CPGProduct in component CPGOE_ABLOCKS. But the extension field was not included to the BOL structure automatically.
    So ,we had used the SAP note 1472567 to add the include structure INCL_EEW_MKTPL_PRD to structure CRMS_MKTPL_CPG_PROD which inturn would rectify our BOL  structure CRMS_MKTPL_IB_CPG_PROD.
    The field which we had added using AET was added in tables CRMD_MKTPL_PROD and SMOPCCAPRO. But we are facing an issue that the values are not getting populated in the SMOPCCAPRO table on save.The values are gettign populated in the CRM table.
    Do we need to implement any other SAP note on the midleware side too to rectify this issue as i infer some interface structure would be missing this field which results in the truncation of value from being passed to the CDB table . Any pointers in this regard would be helpful.
    Thanks
    Swapna.

    Hi Swapna,
    as the CDB table has been extended with the new field I assume that you have enabled the mobile flag for the enhancement.
    Then it will also extend the mobile BDOC and the data should be transfered automatically.
    If this does not happen there's an error somewhere. Either the middleware is not set up properly or the mapping routine does not transfer the fields properly.
    I recommend to raise an OSS message for this.
    Best regards
    Matthias

  • Lookup value not getting populated...

    I am using following xml code (copy.asmx > method CopyIntoItems). Per Microsoft
    http://msdn.microsoft.com/en-us/library/websvccopy.copy.copyintoitems(v=office.14).aspx I should be able to update lookup fields value as well because Lookup list is on the same subsite and both source and target libraries are on the same sub-site as well.
    Any idea? Item gets copies and all the columns get populated except the lookup column. I verified that the ID and value matches for the lookup value.
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="htthttschemas.xmlsoap.org/soap/envelope/" xmlns:m="schemas.microsoft.com/sharepoint/soap/">
    <soap:Header>
    </soap:Header>
    <soap:Body>
    <m:CopyIntoItems>
    <m:SourceUrl>http://internal.col.com/sales/bymonth/Active/0973410.pdf</m:SourceUrl>
    <m:DestinationUrls>
    <m:string>http://internal.col.com/sales/bymonth/NonActive/0973410.pdf</m:string>
    </m:DestinationUrls>
    <m:Fields>
    <m:FieldInformation Type="Text" DisplayName="Sales Code" InternalName="SalesID" Value="99999"></m:FieldInformation>
    <m:FieldInformation Type="Text" DisplayName="Sales Person Name" InternalName="FullName" Value="TEST, John S."></m:FieldInformation>
    <m:FieldInformation Type="Choice" DisplayName="FileSection" InternalName="PersonnelFileSection" Value="1- New Hire Paperwork, ECA, Termination, LOA"></m:FieldInformation>
    <m:FieldInformation Type="Choice" DisplayName="FileCategory" InternalName="PersonnelFileCategory" Value="Termination Paperwork"></m:FieldInformation>
    <m:FieldInformation Type="Text" DisplayName="Year" InternalName="Record_x0020_Year" Value="2014"></m:FieldInformation>
    <m:FieldInformation Type="DateTime" DisplayName="Effective Date" InternalName="Anniversary" Value="04/22/2014 00:00:00"> </m:FieldInformation>
    <m:FieldInformation Type="Choice" DisplayName="Status" InternalName="Current_x0020_Status" Value="Terminated"></m:FieldInformation>
    <m:FieldInformation Type="Lookup" DisplayName="AreaCode" InternalName="AreaCode" Id="cdae6ca0-d49c-4971-a580-2adcd7a282f1" Value="4;#1795004"></m:FieldInformation>
    <m:FieldInformation Type="Text" DisplayName="Title" InternalName="Title" Value="TEST"></m:FieldInformation>
    </m:Fields>
    <m:Stream>base64Binary</m:Stream>
    </m:CopyIntoItems>
    </soap:Body>
    </soap:Envelope>

    How many values are pulled in the lookup column?
    Also thourgh UI are you able to see values for the lookup column.
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • SAP Script Formatting Dec Values

    Hello All,
    I am printing some decimal data in my sap script(10,200.30).However this depends on user specific settings.If the user specific setting is changed (10.200,30) value appears different.Is there any command in Script through which i can control just as date (SET DATE MASK).
    Please let me know.
    Thanks in advcance.
    Regards
    Amruta

    Hello Svetlin,
    Thanks for the reply.
    I have kept my user setting to 1.234,5.I have checked T005X table.The Decimal notation is 1,234.5 for the country which i have selected.
    I have used the command .
    However even after that i am still getting the same output(1.23,5)Is there any thing additional that needs to be done?
    Regards
    Amruta

  • How is RSPCLOGCHAIN getting populated?

    Hi All,
      Due to frequent job failures while scheduling of process chains, we need to
    analyse how the table RSPCLOGCHAIN is getting populated in BW? Can
    anyone please tell me the program which populates this table or any information
    you have which might be helpful in this context ?
    Thanks,
    Krishna

    Hi,
    RSPCLOGCHAIN gets populated when a process chain gets executed. There is one more table RSPCPROCESSLOG, this table is useful when you want to see the status of individual process in the process chain.
    You can create a join on these two tables on LOGID to get the overall status of the process chain.
    The technical content cube 0TCT_MC21 (0TCT_C21 and 0TCT_VC21) on Process Statistics is built on the datasource 0TCT_DS21. This extractor is built on these two tables. The cube comes as part of BI Admin Cockpit. You can install BI Admin Cockpit, for details you can go through the note 934848 and the link:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50f95b21-7fb8-2910-0c81-f6935d4c654b
    Thanks & Best Regards,
    Rajani

  • How BDCPV table gets populated?

    Hi,
    I am trying to implement the change pointers for the message type COACTV.This is for KP26 transaction. I want the changes in variable price get captured.
    I have made the necessary settings and even then I am not getting the changed entry in BDCPV table.
    Please let me know how the entries in BDCP or BDCPV or CDHDR or CDPOS get populated into these tables?

    HI,
    Services How change transfer with change pointers works Material Master Table BDCPV AW339701 .
    pls see the below link they may be usefull.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/82c445c2-0d01-0010-4ab2-fc7e1a25bea2
    reply me for more help.
    thanks'
    karthik

  • I erroneously deleted some background icons, that now have left me with only thumbnail images, what appears when I want to enlarge is a grey circle containing a black exclamation symbol, how can I get back full function and undo my mistake

    I have erroneoulsy deleted icons repetious images from the computer which then affected my iphoto images, leaving me in some cases only with the thembnail image.   When I try to enlarge or perform any other function all that appears is a black field containing a grey circle with a black exclamation symbol( !)
    within it.  How to I get back full function of these affected images and undo my goof up.   I have tried restore, but my attempts have not proved successful. 
    Help !!!
    silvercoho

    What exactly did you do to delete these?
    How did you try to "restore" and what did you try to restore?
    Probably the only solution is to restore your backup of the iPhoto library  from before you did this
    LN

  • Drop down values doesnt get populated in the standard PCRs

    Dear SDN Community,
      I am using Internal Transfer, Promotion and Transfer PCRs. In all the standard PCRs the dropdowns values are not getting populated. Can you please advice me here.
    Thanks!
    Surya.

    The portal patch upgrade has resolved this issue.

  • I accidentally downloaded an adware that I did not want. Every time I shut down a screen pops up and asks if I'd like to abort the script. How do I get rid of this and get the adware off my computer?

    Accidental adware download. How to I get rid of it?

    Helpful Links Regarding Malware Problems
    If you are having an immediate problem with ads popping up see The Safe Mac » Adware Removal Guide, remove adware that displays pop-up ads and graphics on your Mac, and AdwareMedic. If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.) You might consider adding this Safari extensions: Adblock Plus 1.8.9.
    Open Safari, select Preferences from the Safari menu. Click on Extensions icon in the toolbar. Disable all Extensions. If this stops your problem, then re-enable them one by one until the problem returns. Now remove that extension as it is causing the problem.
    The following comes from user stevejobsfan0123. I have made minor changes to adapt to this presentation.
    Fix Some Browser Pop-ups That Take Over Safari.
    Common pop-ups include a message saying the government has seized your computer and you must pay to have it released (often called "Moneypak"), or a phony message saying that your computer has been infected, and you need to call a tech support number (sometimes claiming to be Apple) to get it resolved. First, understand that these pop-ups are not caused by a virus and your computer has not been affected. This "hijack" is limited to your web browser. Also understand that these messages are scams, so do not pay any money, call the listed number, or provide any personal information. This article will outline the solution to dismiss the pop-up.
    Quit Safari
    Usually, these pop-ups will not go away by either clicking "OK" or "Cancel." Furthermore, several menus in the menu bar may become disabled and show in gray, including the option to quit Safari. You will likely have to force quit Safari. To do this, press Command + option + esc, select Safari, and press Force Quit.
    Relaunch Safari
    If you relaunch Safari, the page will reopen. To prevent this from happening, hold down the 'Shift' key while opening Safari. This will prevent windows from the last time Safari was running from reopening.
    This will not work in all cases. The shift key must be held at the right time, and in some cases, even if done correctly, the window reappears. In these circumstances, after force quitting Safari, turn off Wi-Fi or disconnect Ethernet, depending on how you connect to the Internet. Then relaunch Safari normally. It will try to reload the malicious webpage, but without a connection, it won't be able to. Navigate away from that page by entering a different URL, i.e. www.apple.com, and trying to load it. Now you can reconnect to the Internet, and the page you entered will appear rather than the malicious one.

Maybe you are looking for

  • Help with uploading process

    why is th uploading process not working? i am trying to convert a pdf into a word doc

  • Serial Number Problem Solved

    The Problem: When I converted to Leopard, I needed the original serial number of Final Cut Express 1.0 to run the program. I no longer had it but I had 3 updates since, they didn't help. I called Apple Care, they don't keep your serial number when yo

  • EDIFACT INVRPT to SAP IDOC

    Hi to all I am using customer consignment with the standard process KB and KE order type. A customer want to send me the EDI message INVRPT. In this message there will be - the delivery notes he accepted - the consuption he has done - the new stock l

  • Partner Profile Details

    Hi all     In our case we need to send a IDOC to SAP r/3.How can v know the deatils about sender port,partner number and sender address details ?

  • Tabstrip and Frametext

    Hi, I look for Possibility, how we can change the Title of Frametext in a Tabstrip, which is created via screen-exit. In Customizing I can change the texts of tabstrips but not the texts of frames, which are included in tabstrips. with my Best Regard