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

Similar Messages

  • Baseline date not getting populated from SRM invoices posted to ECC 6.0

    Hi,
    We are currently in ECC 6.0. The SRM system is in 4.0. We have this particular problem that the baseline date is not getting populated from the Invoices posted from the SRM. The baseline date is blank and the document is saved.
    Did anyone face the same problem??? Can you please refer SAP note 541934 and expand........
    Thanks
    Aravind
    Edited by: Aitipamula Aravind on Aug 10, 2009 5:13 AM

    Hello,
    Yes, you could check the attached note 541934 and regard the implementation of the field ZFBDT in the invoicing document.
    Note 541934 provides a solution how to achieve the MM-customizing for payment baseline dates getting effective for invoices with SRM-origin. This note needs to be applied at your ERP-MM-side in the former plug-in-layer. As described in the note, this is a modification. It's recommended to apply in non-productive system first.
    Hope the above infor.are helps for you!
    Best Regards,
    Gladys xing

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

  • 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

  • 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

  • Error field is not getting populated into corresponding str. in Zrfc

    hi,
    In case of error in PO creation i am not getting all the data i nto correponding structure..
    *data it_head type standard table of bapimepoheader.
      DATA ls_head TYPE bapimepoheader.
      DATA it_headx TYPE STANDARD TABLE OF bapimepoheaderx.
      DATA ls_headx TYPE bapimepoheaderx.
      data : it_temp_ekpo type zpo_item_60 occurs 0 with header line.
      DATA it_item TYPE STANDARD TABLE OF bapimepoitem.
      DATA ls_item TYPE bapimepoitem.
      DATA it_itemx TYPE STANDARD TABLE OF bapimepoitemx.
      DATA ls_itemx TYPE bapimepoitemx.
      DATA it_sch TYPE STANDARD TABLE OF bapimeposchedule  .
      DATA ls_sch TYPE bapimeposchedule.
      DATA it_schx TYPE STANDARD TABLE OF bapimeposchedulx.
      DATA ls_schx TYPE bapimeposchedulx.
      DATA it_poact TYPE STANDARD TABLE OF bapimepoaccount.
      DATA ls_poact TYPE bapimepoaccount.
      DATA it_poactx TYPE STANDARD TABLE OF bapimepoaccountx.
      DATA ls_poactx TYPE bapimepoaccountx.
      DATA it_cond TYPE STANDARD TABLE OF bapimepocond.
      DATA ls_cond TYPE bapimepocond.
      DATA it_adrc TYPE STANDARD TABLE OF bapimepoaddrdelivery.
      DATA st_adrc TYPE bapimepoaddrdelivery.
      DATA it_condx TYPE STANDARD TABLE OF bapimepocondx.
      DATA ls_condx TYPE bapimepocondx.
      DATA it_popart TYPE STANDARD TABLE OF bapiekkop.
      DATA ls_popart TYPE bapiekkop.
      data : ret2 type bapiret2 occurs 0 with header line.
      DATA ls_ekko TYPE zpo_data_60.
      DATA st_ekko TYPE zpo_data_60.
      DATA ls_ekpo TYPE zpo_item_60.
      DATA st_ekpo TYPE zpo_item_60.
      DATA:     ls_adrc TYPE zpo_adrc_60,
              ls_ekkn TYPE zpo_ekkn_60,
             ls_eket TYPE zpo_eket_60,
              ls_ekbe TYPE zpo_ekbe_60,
              w_purchaseorder type BAPIMEPOHEADER-PO_NUMBER.
      LOOP AT lt_ekpo INTO st_ekpo.
        ls_ekpo = st_ekpo.
        AT NEW ebeln.
          READ TABLE lt_ekko WITH KEY ebeln = ls_ekpo-ebeln.
          IF sy-subrc = 0.
            ls_head-comp_code = lt_ekko-bukrs.
            ls_head-doc_type = lt_ekko-bsart.
            ls_head-vendor = lt_ekko-lifnr.
            ls_head-purch_org = lt_ekko-ekorg.
            ls_head-pur_group = lt_ekko-ekgrp.
            ls_head-pmnttrms = lt_ekko-zterm.
            ls_head-exch_rate = lt_ekko-wkurs.
          ls_head-incoterms1 = lt_ekko-inco1.
         ls_head-incoterms2 = lt_ekko-inco2.
            ls_head-currency = lt_ekko-waers.
            ls_head-PO_NUMBER = lt_ekko-ebeln.
    *append ls_head to it_head.
    *Parameter: POHEADERX
            ls_headx-comp_code = 'X' .
            ls_headx-doc_type = 'X' .
            ls_headx-vendor = 'X' .
            ls_headx-purch_org = 'X'.
            ls_headx-pur_group = 'X' .
            ls_headx-pmnttrms = 'X'.
            ls_headx-currency = 'X'.
            ls_headx-exch_rate = 'X'.
          ls_headx-incoterms1 = 'X'.
          ls_headx-incoterms2 = 'X'.
            ls_headx-currency = 'X'.
            ls_headx-PO_NUMBER = 'X'.
    *append ls_headx to it_headx.
          ENDIF.
        ENDAT.
        ls_item-po_unit = ls_ekpo-meins.
        ls_item-po_item  = ls_ekpo-ebelp.
        ls_item-material = ls_ekpo-matnr.
        ls_item-price_unit = ls_ekpo-peinh.
        ls_item-orderpr_un = ls_ekpo-bprme.
        ls_item-net_price = ls_ekpo-netpr.
        ls_item-matl_group = ls_ekpo-matkl.
       ls_item-short_text = ls_ekpo-txz01.
        ls_item-plant = ls_ekpo-werks.
        ls_item-stge_loc = ls_ekpo-lgort.
        ls_item-quantity = ls_ekpo-menge.
        ls_item-acctasscat = ls_ekpo-knttp.
        ls_item-gr_basediv  = ls_ekpo-webre.
        ls_item-vend_mat  = ls_ekpo-idnlf.
        ls_item-no_more_gr = ls_ekpo-elikz.
        ls_item-final_inv  = ls_ekpo-erekz.
        ls_item-gr_ind   = ls_ekpo-wepos.
        ls_item-gr_non_val = ls_ekpo-weunb.
        ls_item-conv_num1   = ls_ekpo-bpumz.
        ls_item-conv_den1   = ls_ekpo-bpumn.
        ls_item-ir_ind      = ls_ekpo-repos.
        ls_item-unlimited_dlv = ls_ekpo-uebtk.
        ls_item-reminder1 = ls_ekpo-mahn1.
        ls_item-reminder2  = ls_ekpo-mahn2.
        ls_item-reminder3   = ls_ekpo-mahn3.
        ls_item-vend_mat  = ls_ekpo-idnlf.
        ls_item-no_more_gr = ls_ekpo-elikz.
        ls_item-final_inv = ls_ekpo-erekz.
        ls_item-gr_ind  = ls_ekpo-wepos.
        append ls_ekpo to it_temp_ekpo.
    *Parameter: POITEMX
        ls_itemx-po_unit = 'X'.
        ls_itemx-po_item  = ls_ekpo-ebelp.
        ls_itemx-material = 'X'.
        ls_itemx-price_unit = 'X'.
        ls_itemx-orderpr_un = 'X'.
        ls_itemx-net_price = 'X'.
        ls_itemx-matl_group = 'X'.
       ls_itemx-short_text = 'X'.
        ls_itemx-plant = 'X'.
        ls_itemx-stge_loc = 'X'.
        ls_itemx-quantity = 'X'.
        ls_itemx-acctasscat = 'X'.
        ls_itemx-gr_basediv  = 'X'.
        ls_itemx-vend_mat  = 'X'.
        ls_itemx-no_more_gr = 'X'.
        ls_itemx-final_inv  = 'X'.
        ls_itemx-gr_ind   = 'X'.
        ls_itemx-gr_non_val = 'X'.
        ls_itemx-conv_num1   = 'X'.
        ls_itemx-conv_den1   = 'X'.
        ls_itemx-ir_ind      = 'X'.
        ls_itemx-unlimited_dlv = 'X'.
        ls_itemx-reminder1 = 'X'.
        ls_itemx-reminder2  = 'X'.
        ls_itemx-reminder3   = 'X'.
        ls_itemx-vend_mat  = 'X'.
        ls_itemx-no_more_gr = 'X'.
        ls_itemx-final_inv = 'X'.
        ls_itemx-gr_ind  = 'X'.
        APPEND ls_itemx TO it_itemx.
        APPEND ls_item TO it_item.
        READ TABLE lt_eket INTO ls_eket WITH KEY ebeln = ls_ekpo-ebeln
                                                 ebelp = ls_ekpo-ebelp.
        IF sy-subrc = 0.
    *Parameter: POSCHEDULE
          ls_sch-po_item = ls_ekpo-ebelp.
          ls_sch-sched_line = LS_EKET-ETENR.
          ls_sch-delivery_date = ls_eket-eindt.
          ls_sch-quantity = ls_ekpo-menge .
          APPEND ls_sch TO it_sch.
        ENDIF.
    *Parameter: POSCHEDULEX
        ls_schx-po_item = ls_ekpo-ebelp.
        ls_schx-sched_line = LS_EKET-ETENR.
        ls_schx-po_itemx = 'X' .
        ls_schx-sched_linex = 'X'.
        ls_schx-delivery_date = 'X'.
        ls_schx-quantity = 'X' .
        APPEND ls_schx TO it_schx.
    read table lt_ekkn into ls_ekkn with key ebeln = ls_ekpo-ebeln
                                             ebelp = ls_ekpo-ebelp.
    *Parameter: POACCOUNT
    IF SY-SUBRC = 0.
        ls_poact-po_item = ls_ekpo-ebelp.
        ls_poact-serial_no = sy-tabix.
        ls_poact-quantity = ls_ekpo-menge.
        ls_poact-gl_account = ls_ekkn-sakto.
        ls_poact-costcenter = ls_ekkn-KOSTL.
       ls_poact-co_area = '1000'.
        ls_poact-tax_code = ls_ekkn-mwskz.
        APPEND ls_poact TO it_poact.
    ENDIF.
    *Parameter: POACCOUNTX
        ls_poactx-po_item = 'X' .
        ls_poactx-serial_no = sy-tabix .
        ls_poactx-quantity = 'X' .
        ls_poactx-gl_account = 'X' .
        ls_poactx-costcenter = 'X' .
       ls_poactx-co_area = 'X' .
        ls_poactx-tax_code = 'X' .
        APPEND ls_poactx TO it_poactx.
    *Parameter: POCOND
        ls_cond-itm_number = ls_ekpo-ebelp.
        ls_cond-cond_st_no = '001' .
        ls_cond-cond_type = 'PB00' .
        ls_cond-cond_value = '79.900000000' .
        ls_cond-currency = ls_ekko-waers.
        ls_cond-currency_iso = 'USD'.
        ls_cond-cond_unit = 'KG' .
        ls_cond-cond_p_unt = '1' .
        ls_cond-change_id = 'U' .
        APPEND ls_cond TO it_cond.
    *Parameter: POCONDX
        ls_condx-itm_number = ls_ekpo-ebelp.
        ls_condx-cond_st_no = '000' .
        ls_condx-itm_numberx = 'X' .
        ls_condx-cond_type = 'X' .
        ls_condx-cond_value = 'X' .
        ls_condx-currency = 'X' .
        ls_condx-change_id = 'X' .
        APPEND ls_condx TO it_condx.
    *Parameter: POPARTNER,
       ls_popart-partnerdesc = 'OA' .
       ls_popart-langu = 'EN' .
       ls_popart-buspartno = '0000001100' .
       ls_popart-partnerdesc = 'GS' .
       ls_popart-langu = 'EN' .
       ls_popart-buspartno = '0000001200' .
       ls_popart-partnerdesc = 'IP' .
       ls_popart-langu = 'EN' .
       ls_popart-buspartno = '0000001000'.
       APPEND ls_popart TO it_popart.
    Address data
        READ TABLE lt_adrc  INTO ls_adrc WITH KEY addrnumber = ls_ekko-adrnr.
        IF sy-subrc = 0.
          st_adrc-addr_no = ls_adrc-addrnumber.
          st_adrc-name = ls_adrc-name1.
          st_adrc-street = ls_adrc-street.
          st_adrc-district = ls_adrc-city2.
          st_adrc-postl_cod1 = ls_adrc-post_code1.
          st_adrc-city = ls_adrc-city1.
          st_adrc-country = ls_adrc-country.
          st_adrc-region = ls_adrc-region.
          APPEND st_adrc TO it_adrc.
        ENDIF.
        AT END OF ebeln.
          CALL FUNCTION 'BAPI_PO_CREATE1'
            EXPORTING
             poheader                     =  ls_head
             poheaderx                    = ls_headx
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
      POEXPIMPHEADER               =
      POEXPIMPHEADERX              =
      VERSIONS                     =
      NO_MESSAGING                 =
      NO_MESSAGE_REQ               =
      NO_AUTHORITY                 =
      NO_PRICE_FROM_PO             =
    IMPORTING
       EXPPURCHASEORDER              = w_purchaseorder
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
           TABLES
             return                       = ret2
             poitem                       = it_item
             poitemx                      = it_itemx
             poaddrdelivery               = it_adrc
             poschedule                   = it_sch
             poschedulex                  = it_schx
             poaccount                    = it_poact
      POACCOUNTPROFITSEGMENT       =
             poaccountx                   = it_poactx
      POCONDHEADER                 =
      POCONDHEADERX                =
             pocond                       = it_cond
             pocondx                      = it_condx
      POLIMITS                     =
      POCONTRACTLIMITS             =
      POSERVICES                   =
      POSRVACCESSVALUES            =
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POEXPIMPITEM                 =
      POEXPIMPITEMX                =
      POTEXTHEADER                 =
      POTEXTITEM                   =
      ALLVERSIONS                  =
            popartner                    = it_popart
      POCOMPONENTS                 =
      POCOMPONENTSX                =
      POSHIPPING                   =
      POSHIPPINGX                  =
      POSHIPPINGEXP                =
    if w_purchaseorder is not initial.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           LOOP AT ret2 WHERE type = 'S'.
                lt_success_po-ebeln =   ret2-message_v2.
                lt_success_po-type = ret2-type.
                lt_success_po-message = ret2-message.
                append lt_success_po.
                clear : lt_success_po.
              ENDLOOP.
    else.
    append lt_ekko to lt_ekko_error.
    append it_temp_ekpo to lt_ekpo_error.
    append ls_eket to lt_eket_error.
    append ls_adrc to lt_adrc_error.
    append ls_ekkn to lt_ekkn_error.
    *loop at ret2 where type = 'E'.
    **move-corresponding lt_ekko to lt_error_po.
    **move-corresponding ls_ekpo to lt_error_po.
    **move ret2-type to lt_error_po-type.
    **move ret2-message to lt_error_po-message.
    *append
    **lt_error_po.
    **clear :
    **lt_error_po.
    endloop.
      endif.
      CLEAR : ls_ekko,
                  st_ekko,
                  ls_ekpo,
                  st_ekpo,
                  ls_ekkn,
                  ls_ekbe,
                  ls_eket.
        ENDAT.
      ENDLOOP.
    ENDFUNCTION.
    Message was edited by:
            ruban R

    You must get all the messages into
    RET2
    table.
    You need to fill your ZRFC's RETURN table with the data from RET2 after the FM 'BAPI_PO_CREATE1' call. Because your BAPI is calling mulitple times and henceforth your RET2 is being refreshed and contains the last executed BAPI's return message.
    So,
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    EXCEPITON
    LOOP AT RET2.
      MOVE-CORRESPONDING RET2 TO IT_RETRUN.   " << This is the table which you need to pass back to ZRFC
      APPEND IT_RETURN.
    ENDLOOP.
    Regards,
    Naimesh Patel

  • 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

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

  • Field in ALV not getting populated

    Hi all,
               I need some help. I am displaying an ALV with fields.
        GROUP     G/L ACCOUNT     Local currency       USD     Period
           100              10                       5                       5           12
           100               11                      6                       4            12
      now i have added an extra field TXT20 in the as last field of structure
        GROUP     G/L ACCOUNT     Local currency       USD     Period      TXT
           100              10                       5                       5           12          aa
           100               11                      6                       4            12         ab
    TXT should come as 3rd coloumn in the output.
    EXAMPLE:
         GROUP     G/L ACCOUNT       TXT      Local currency  USD     Period     
           100              10                      aa                  5              5           12         
           100               11                     ab                   6             4            12        
    I have changed the coloumn positions in the field catalog accordingly and I have not written or changed any select queries from earlier output.
    now my problem is PERIOD field is not getting populated in the ALv,the data is visible in the IT_FINAL which I am passing to Reuse_alv_grid_display. the field catalog is also getting build properly.
    so plz suggest some changes so that I can move ahead.

    Hi
      I don't know what's the reason and now I have no environment to test it, but you can try other way:
      1. define your fieldcate one by one as the sequence of your output like
          GROUP         G/L ACCOUNT          TXT           Local currency         USD          Period
          In this situation, you needn't use component -- position of fieldcate structure. Pay attention to
          fieldname in upper case.
       2. If only doing step1 has no effect, then adjust your structure of internal table. Sequence your
           component of IT_FINAL as the output field like step1.
       If still no effect, please let me know.

  • Workday field not getting populated in BAPI_ENTRYSHEET_CREATE

    Hi MM gurus,
    I am trying to upload service entry sheets using bapi's , i checked the note 420334 and its working fine now.But, i want to populate  the workday field also in the service entry sheets, but this field is not getting populated even if i enter this field in the test data directory.
    Can anyone give me the reason for this?

    Hi
    Are you trying to populate the workdays field using BAPI in SE37 transaction??
    If you are executing the BAPI in SE37 then the data would not get updated in database.
    You need to run the BAPI FM & another BAPI "BAPI_TRANSACTION_COMMIT" in sequence in SE37 to post the data in database.
    I hope this helps.
    Thanx
    Prasad

  • Fom field not getting populated

    Hi,
    I have a field in the form role(multi select field). The value of another field in the form 'abc' is depedent on role selection. I have a rule with a switch and case statements for this. In the rule i am using
    <Rule>
    <switch>
    <ref>role</ref>
    <case>
    </case>
    </switch>
    </Rue>
    I tested the rule and it's working good.
    Now i am calling the rule in the field 'abc':
    <Field name='abc>
    <block trace'true'>
    <Expansion>
    <rule name='xxx'/>
    </Expansion>
    </block>
    </Field>
    The prolem here is that, even after i select the role, this field is not getting populated. It is empty.
    Not sure what i am missing. Please help.
    Thanks,

    step1) when you are getting value in the field on which "abc" is dependent , how are you getting that value?you are getting this value in derivation or expansion???
    step2: write the code logic for field "abc" in Derivation instaed of expansion. That should help.
    Please let me know if you are still facing the problem.
    Warm Regards,
    G

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

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • 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

  • XREF3 field not getting populated in BSEG table while posting MIRO

    Hi,
         I have one query in MIRO tcode.I have activated xref3 field in MIRO tcode using enhancement LMR1MF6Q.Now when i try to post document with some values in xref3 field on screen ,value is not getting populated in BSEG table.Please tell me what else needs to be done to achieve this ?
    any hint on this?
    Thanks & Regards,
    Soniya S.

    Hi,
    1.- According to SAP Note 904652 - MIRO: Different from FB60
    https://service.sap.com/sap/support/notes/904652
    MIRO is an independent Materials Management (MM) transaction that does not
    claim to be the same as the accounting transactions (such as FB60 or FB01).
    MIRO was developed to allow users to process vendor invoices within the
    context of the MM procurement processes as simply as possible.
    For this reason, among other differences, the field selection was limited
    to the absolutely necessary. For example, the following fields from the
    accounting document are not available in Transaction MIRO (this list is not
    complete):
    Reference key (BSEG-XREF1, -XREF 2, -XREF 3)
    2.- SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    https://service.sap.com/sap/support/notes/1156325
    Have a look at badi MRM_ITEM_CUSTFIELDS.
    This badi will create a new tab at item level in order to display the new fields.
    I haven´t used this badi so i cannot talk from experience here.
    Think twice before deciding.
    Best regards.

Maybe you are looking for

  • BPM Alert - P.O created without purch req

    Hi all, I have an issue where my BPM alert "purchase order lines created without reference to a purch req" sometimes gives me a P.O that was creatd with ref to a P.O. I have raised an OSS note for SAP but I was wondering if anyone else had a similiar

  • How do I delete an album of photos from iphoto?

    How do I delete an album from iphoto?

  • Help! My AppStore wont recognize my new AppleID

    After downloading ICloud recently, I noticed it wouldnt recognize my longtime AppleID name/password. I learned that updating my AppleID username to one with an email address would help the situation. Well, it did, but it brought a new problem for me.

  • Networking troubles with windows machine

    I've got this setup: arch linux machine with eth0 connected to dsl modem and eth1 connected to a win7 machine. the linux machine has a samba share on it which i can't really access on the win7 machine. i can access it, but i can't open anything which

  • Max speed for Airport Extreme??

    I just connected with Verizon Fios (fiber) and have 15mb down and 2 mb up speeds. I have verified the speed with an XServe directly attached to the router. The airport extreme serve the rest of the house. I have yet to see speeds exceeding 3.5 mb onc