Work area field value not getting populated in table control grid.

Hi all,
I am currently facing an issue where I have declared a variable and have fetched the workarea field name in it. To be exact, the variable contains the workarea name whose value I am finally populating to the table control. Now although the workarea name when manually copied and pasted in field name in debugging mode exhibits the value of the it, Im unable to fetch the same value in the variable as I have only the work area name in it. I need the value of the workarea-field to be in the variable.Please provide your valuable suggestions for this issue...
Regards,
Edited by: Vishwanath Sreedharen on Jan 2, 2012 3:25 PM

Hi Nabheet,
Please consider the below example...
DATA: l_var(30) TYPE C.
CONCATENATE 'wa' '-' I_FIELD2-NAME INTO l_var.
The i_field2-name contains the name of a custom table field CP_CUSTOM_GRP. So now the l_var contains wa_cp_custom_grp.
Now consider the wa_cp_custom_grp has a value 'BA'.
Now my issue is the l_var contains wa_cp_custom_grp but not its value(too obvious)... Would like to know whether is there a way through which the value of this wa_cp_custom_grp  'BA' could be populated to the variable l_var...

Similar Messages

  • Assignment field is not getting populated in KSB1 for posting key 50

    Hi All,
    We are uploading entries thru excel in SAP.
    For posting key 50 assignment field is not getting populated in KSB1.
    But for posting key 40 it is getting populated correctly.
    All setting (FSG, posting key details) are same for both the keys.
    No substitution defined in SAP.
    There is no issue for FBL3N for both the posting keys, only issue with KSB1.
    Any idea what could be the reason for this?
    Thank you.
    Akash

    KSB1 is CCtr report..
    if it is revenue normally it will be treated as statistical posting in CCtr accounting- for the cost element when it is defined as revenue element.. - check Cost elements - whether it is Cost and cost reducing or revenue element--
    possibility this can be one of the reason.
    check and confirm

  • 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

  • Currency Field is not getting populated in 0FI_AR_3 Data source

    Hi Friends,
    I have unchecked the currency  fields DMBE2 , DMBE3 and curresponding currency type fields HWAE2
    and HWAE3 in the data source 0FI_AR_3 and activated the DS.
    when i am checkin the data using extract checker rsa3 , the fields DMBE2 and DMBE3 are filled with the amount but the corresponding currency types are not getting populated in HWAE2
    and HWAE3 fields.the currency field are maintened in R/3 side.
    Please suggest.
    Thanks

    I was checking this issue, and all the enhancements with fields need to
    have a customer-exit to be populated.
    If those fields are not delivered by SAP and are not in the original
    datasource(RSA5) from Business content, this is related to an enhancement.
    We can only see these fields in the datasource enhanced through RSA6.
    To have the proper values assigned to those field, you should write an
    User Exit program. This program must be created to fill the enhanced
    fields as they are not filled in the same way as the SAP delivered
    fields.More details about this process you can check note 576886.
    576886-Change to user-defined fields not extracted.
    This SAO Note is an example for some datasources regarding what should be
    done.
    Thanks,
    Walter Oliveira.

  • Field value not getting updated in R/3

    Hello Experts!!
    I am facing a problem while updating a field value back in R/3.
    The Syncbo is of type U01 and the field has data type char 40.
    The meRepMeta.XML file has following description
    Field name="DESCR1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
    <Input type="modify">false</Input>
    1) when i test the function module in R/3. The field value is gets updated.
    2) when i create a record for the sync BO from client , i can see the field value being created on the client.
    3) when i synchronize, i dont get any error or warning and get a successful message.
    S        15.07.2008 12:19:09 All updates for one TOP block were successful (seq. no.=65, TOP cntr.=0000000001)
    15.07.2008 12:19:09 Synchronizer UPLOADER completed successfully (mobile ID=0000002646, SyncBO=ZDBMSERORD)
    I am not able to locate where is the problem
    Please suggest!!
    Regards,
    Priya Ghosh

    Hi,
    please check your maping in the create handler in MEREP_SBUILDER. Perhaps the value is created on the client but not mapped to the field of the function module. Furthermore have a look into MEREP_MON and see if the data gets forwarded in there.
    At last I would dump the information received by the function module into a table without any logic. So you can see what data actually is forwarded into the funct module - if brake point i not possible.
    Hope this helps.
    Regards,
    Oliver

  • SGTXT field is not getting populated in 315 document

    While placing stock in storage location through MIGO (movement 315) with reference to movenet 313 document, TEXT (SGTXT) field which is entered in 313 document is not getting populated from referred document.

    Hi,
    This is Standard SAP functionality.The Text does not get automatically populated from the referred document. You will have to use enhancement for the same. Use BADI - MB_MIGO_ITEM_BAdI

  • 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

  • On Change of Status filed as Rejected, Reason Field does not get populated

    Hi,
    I have issue while setting the Status field on UI.
    I have created WF which gives the user an option to ACCEPT OR REJECT the work item assigned to the user.
    But if the Status is REJECTED, there is another field 'REASON ',that has to be populated based on the status as 'REJECTED'.
    The WF shows the status as IN PROCESS for the Step REASON once the Status is REJECTED.
    The WF is getting stuck for long time and the status of the Step REASON  is not getting changed to Completed.
    Regards,
    Tarmeem.

    Hi,
    Are you using the std. Task TS20000139 to populate the comments?
    Is it a Dialog Task, Is it populated correctly once the Rejection button occurred. Check the binding of that Task
    Regards,
    Surjith

  • Adobe field values not getting displayed in UWL workitem

    Hi,
    We filled a ISR Adobe form and submitted it and generated the corresponding notification number.
    On clickng the 'display and print form', the form is gettin displayed properly.
    But on checking the form at the approvers UWL, the field values are not getting properly filled.
    The form is getting properly displayed at R/3  through IQS22 and also the data values are properly attached to the notification number( checked through ISR_PROCESS_EVENT ).
    Kindly help.
    Thanks and Regards,
    Anto.

    Thanks for publishing your own solution!
    Cheers,
    Noë

  • 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.

  • Segment fields do not get populated from second IDoc onwards.

    This is a xml file to idoc mapping scenario.
    Source XML Structure.                                                                               
    <MT_message type> ( Occurs 1 )                                                     
         <session header> ( Occurs 1)                                                                               
    <session header/>
          < Header >   ( Occurs 1 to unbounded )
                < Document Header > ( Occurs 1 )
                      Currency
                      <Line Item> (occurs 1 ....unbounded)
                      <Line Item/>
                      <Line Item> (occurs 1 ....unbounded)
                       <Line Item/>
                < Document Header/>
          < Header/>
          < Header >   ( Occurs 1 to unbounded)
                < Document Header > ( Occurs 1 )
                      Currency
                      <Line Item> (occurs 1 ....unbounded)
                      <Line Item/>
                      <Line Item> (occurs 1 ....unbounded)
                       <Line Item/>
                < Document Header/>
          < Header/ >
    < MT_messagetype/>
    Each Header tag creates an IDoc of the basic type acc_documnet01.
    This IDoc has a segment E1BPACCR09 which is repeated for every ocurrence of line item in the header.
    Lineitems -
    > E1BPACCR09.
    The currency field in this segment comes from the currency field in the documnet header tag of the source xml structure.All other fields are mapped from Line items tag of XML source structure.
    When i test the mapping,with the exact source structure as above,
    2 IDocs are output, (for two header tags)
    First IDoc -: For two line items in XML source , 2 E1BPACCR09 are created in IDoc and the currncey field is mapped correctly.
    Second IDoc-: For two line items in XML source, 2 E1BPACCR09 are created in IDoc but the currncey field is not mapped at all neither does the currency fieldname appear with null value in the output IDoc.
    Can someone help me with this issue?
    Himani
    Edited by: Himani Pandey on Jul 10, 2008 5:10 PM

    Hey
    You need to use copyValue standard function,to repeat the source side to occur as many times as receiver side.else it will populate only the first occurence not after that
    Thanx
    Aamir

  • Message Attribute value not getting populated

    Hi,
    We are using the WF_NOTIFICATION.send() API to send a notification. We have some attributes in the subject and body. We are setting the values to these attributes using WF_NOTIFICATION.SetAttrText() API. Notification is sent successfully, but the values for the attributes in the subject line is not getting set (returns blank), but if we use the same attribute in the message body, the values are properly set (returns the value). The values are properly getting updated in the table wf_notification_attributes.
    e.g. We have an attribute NAME, in the subject and body we use &NAME, the subject returns null, where as body returns attribute value.
    Please let us know what is the issue?
    Is there any way of sending notification (using some other standard API), but subject attribute should get updated with actual value?
    Thanks in advance.

    Hi,
    See OWF forum message:Re: wfnotificationapi.getsubject() 's return value
    There is a bug related in Metalink: Doc ID = 229566.1
    fact: Oracle Workflow Cartridge
    symptom: Regional settings other than English
    symptom: Statement WFNotificationAPI.getSubject(context, new BigDecimal(125)
    ) always returns null.
    symptom: The method WFNotificationAPI.getSubject returns the subject of the
    message if the regional setting is English (United States)
    cause: Bug 2379277 Oracle Workflow Java Notification API Multilingual
    Problem
    The language is not recognized by WF as an installed language.
    fix:
    1. Follow the instructions for installing an additional language in The Oracle
    Workflow Server Installation Notes
    2. Rerun the test by creating a new message.
    IMPORTANT! The old message will not have a row in the table until they load one
    for that language.
    Reference:
    The Oracle Workflow Server Installation Notes

  • Business Area field should not get translate while doing allocations in co

    Dear All,
    In ecc 6.0 when we will be allocating expenses through assessment and Distribution the system credits sender cost center and debits receiver cost center,the same will be applicable for Business Area also.
    But my client is having plant =business area for which they are making financial statements business area wise.
    The client wants its business area not to get affected by above allocations ,Is there any method of restricting costs to remain in same business area and not getting translated to another business area.
    Example :                    cost center           profit center           business area
    expenses                      1011                   1001                     101
    allocation from cctr to cctr 1012 which is having pctr 1002 and business area 102
    expenses                      1012                   1002                       102
    So my requirement is the system should not update business area 102
    Thanks and regards
    vijay

    Hi Vijay,
    Profit Center is derived basing on Assignments. If you have assigned a Profit Center in the Cost Center Master
    Data, obviously for whatever the postings that take place in that Cost Center, will be posted to Profit Center also
    (Statistical).
    In your case, Cost Center 1011 and 1012 have been assigned to different Profit Centers 1001 and 1002. So,
    conceptually what the system is doing is correct.
    You want to restrict the postings to happen to Business Areas. I suggest you, this is not problem of
    stopping/restricting the transaction postings but You have to restructre your Cost Centers and Profit Centers.
    It's rather a Business Process / Structure change required than technical requirement in the system by restricting
    the postings.
    Pls revert back for further discussion...
    Srikanth Munnaluri

Maybe you are looking for

  • How to create a US account with the same apple ID as my current account

    I received a US itunes card given as a gift and it will not redeem in the itunes store since it says I need to have a US itunes account which I do not. Mine is from another country. I emailed support and they said I could not use the itunes card nor

  • Photoshop CS6 PSD losing layers

    Hi, my Photoshop CS6 PSDs are getting flattened if opened by any previous versions of Photoshop, depsite not being saved just opened.  When I open the original in CS6 again, all layers are merged.  Where there were 12 layers, there is now one.  This

  • Font size when printing from Safari to HP Photosmart 6520 printer

    I just bought a Macbook Pro 13 inch, running OSX 10.9.5.  When I try to print something from within a Safari web page to my HP PhotoSmart 6520 printer, the font is huge. Does anyone know how to adjust the font size for use with Safari. The font size

  • External Superdrive for Mac mini?

    Recently I got a disc stuck in the drive of my mini and for the life of me I can't get it out so...I was wondering if they make an external Superdrive that will work with the mini. I had a look at the website and found one that says its for the macbo

  • Saveas ... yet again

    using Acrobat Pro v9, visual studio 2003 VB.Net I am struggling to find a working solution to use the saveas method to save a file in a different format. In this case, I am trying to export PDF to TIF programatically, but might want to adapt to other