SQ01 query, one field not populating in first line, pushing data to next line

Good day all
I have worked with queries for some time and have never encountered this error
I have a few table joins (FAGLFLEXA, BKPF, BSEG, EKKN, SKAT and EKPO), every thing works and displays correctly, except for the one field
EKKN (ABLAD) - Unload Point.
For some reason, when I test the query, it displays correctly with one entry, but as soon as you run the test for more entries, for some reason, the first Unloading point on the report is empty and the value reflects on the next line.  If you display the physical documents where the data pulls from, you can clearly see that the entire report pushes down the field to the next line.
For example
Physical SAP Document GL and or PO:
Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68
2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      26/00/48
SQ01 report (with one line)
Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      24/59/68
SQ01 report (with more lines)
Year     Per     Do     Document No     Profit     Account     Short Text     Merch     Amount in Grp     Segm     Posted on     Unload Point
2014     001     XF     40000000000     ABCD     86100       Text              ACD       72799.60             11          20140106      2014     001     XD     40000000001     ABCC     86100       Text              ACC       18755.50             11          20140108      24/59/68

I found the error!  The query was written in a certain format.  For example it had many fields which was used to populate the data from different tables.  The error occured because of the sequence.  The query had to bring in a field but it had to derive it from a purchase order, but the purchase order check was after the said field therefor, when it looked at the Purchase Order, it found the field and populated it, but only on the second line.  In the first line it couldnt find the Purchase order yet (as EKKO was lower down), so it didnt populate it yet....
SIGH

Similar Messages

  • Query in Field Not updated in SAP Standard.

    hi
    friends
    here is my query
    In SAP standard one field is not updated in tcode ME11(Create Info Record) table is EINA --LMEIN, The field is currently in suppress mode,and it is blank now.
    Can we able to update this field during debug,or any other way.
    Plz give me some appropirate suggestion.
    Thanks a lot in Advance.
    mrutyun^

    If you dont have any screen validations on this field, then you can update (via debug mode) from SE16 for respective record.
    As the screen is suppressed you need to first enable the screen in PBO while in debug, then you can enter the values.
    Cheers
    Manohar

  • Fields not populated in cube

    hi experts,
                       i have one problem i have sales item,and header dso's which i have loaded the data using flat files.when am trying to load to cube some of the fields of header is not  getting populated.when i am loading only header data that time it is showing the data in cube.when i am loading item data also that time some of the fields of header are not populating in cube.i have tried by taking two seperate cubes for header and item and tried to  loading data to multiprovider. but same issue came.for ur reference i am providing screen shots of that. this is multi provider screen shot in this u can observe that division ,region and some fields are not populating data. in local sand box i have done this please help me to resolve this issue.
    header  cube screen shot before loading to multiprovider.
    item cube screen shot before loading to multiprovider.
    regards
    jaswanthi

    How are you "loading" to a MultiProvider? A MultiProvider is merely a "view" on 1 or more InfoProviders, nothing gets loaded in it.
    The screen shot of your MultiProvider shows data of your items InfoCube only... have you filtered on the InfoProvider field? If not, try and filter on your header InfoCube and see whether it shows any data. If not, then there's something wrong with your mappings in the MultiProvider definition.
    It's perfectly normal to have empty fields if you're combining 2 InfoProviders into 1 MultiProvider. If that's not what you want, you should consider an InfoSet (which "joins" data) or model it so that when you're sending item data to a new InfoCube, you "look up" the missing header data in your header data DSO and add it.

  • Fields not populating

    Hi Experts,
    I have enhanced 0fi_gl_4 extractor. appropriate data is coming into the extractor. But when I load the ODS the enhanced fields are not populating.
    Can anyone help please.
    Thanks in advance
    Yvone

    Hi,
    The issue has to be one of the areas below. Heres a checklist-
    Source system:
    RSA3 check. New fields pulling the correct data?
    BW:
    1. Replication of DataSource - done?
    2. Transfer Structure & Transfer Rules in place for the new fields?
    3. InfoObjects the above fileds are being mapped to are the correct type, in the correct InfoSource & Data Target? All activated?
    4. Update rule that maps these new InfoObjects. Acivated? Has the specific mappings for the new infoObjects been checked and validated?
    Hope this helps
    Sandeep

  • End routine field not populated

    Hi,
    I have made the following end routine in order to populate the field YNEGOCIO with two characters.
    I´m uploading data from DSO 0FIAR_O03 to customized DSO.  When i activate this DSO i don´t see the field YNEGOCIO populated but the strange thing is that when i make a debbugg to the end routine,  the result package-YNEGOCIO at the end of routine IS POPULATED with the correct values.
    Can anybody help me with this?
    LOOP AT RESULT_PACKAGE INTO e_s_result.
    **Recover characters 14,15 from YNEGOCIO.
    CLEAR lv_negocio.
               SELECT SINGLE
                 /BIC/YYKEY
                FROM /BIC/AYSDLASPV00
                INTO lv_key
                    WHERE
                      /BIC/YYVALUE EQ e_s_result-GL_ACCOUNT.
                IF sy-subrc EQ 0.
                  MOVE lv_key+13(2) TO lv_negocio.
                ENDIF.
          LOOP AT gt_inv_gl9_doc INTO gs_inv_gl8_doc
            WHERE ac_doc_no = e_s_result-ac_doc_no.
    * Calculate Importe Aplicado
            MOVE e_s_result to aux_s_result.
             aux_s_result-record = v_count + 1.
            IF aux_s_result-DEB_CRE_DC IS NOT INITIAL.
              aux_s_result-PROFIT_CTR = gs_inv_gl8_doc-profit_ctr.
              aux_s_result-USERNAME = gs_inv_gl8_doc-USERNAME.
              aux_s_result-deb_cre_dc = gs_inv_gl8_doc-DEB_CRE_DC.
              aux_s_result-/BIC/YI_WRBTR = gs_inv_gl8_doc-DEB_CRE_DC *
                aux_s_result-/BIC/YI_WRBTR / aux_s_result-DEB_CRE_DC.
              aux_s_result-/BIC/YNEGOCIO = lv_negocio.
              APPEND aux_s_result to e_t_result.
            ENDIF.
          endloop.
        endloop.
        REFRESH RESULT_PACKAGE.
        MOVE e_t_result[] TO RESULT_PACKAGE[].
    Regards,
    Diego

    hi,
       check your changelog table and see data over there, i guess this situation generally happens when you do delta laod , itmight happening bcoz of two image are created which might be cancelling each other when request gets actiavted in DSO and also see for 0recordmode value.
    hope it helps
    regards
    laksh

  • How do I create a one-field-at-a-time GUI to enter data using Numbers?

    'Doing inventory.  Recording numbers and text in 9 different fields for about 10,000 items.
    I want to have the iPad only display one large data entry screen for one field at a time rather than use a spreadsheet tabbing over to each data entry field.
    Kind'a like a survey.

    Generally, you are more likely to get an answer if you post in the iWork for iOS forum at
    https://discussions.apple.com/community/app_store/iwork_for_ios
     Cheers, Tom 

  • New COPA Value field not populating in BW

    We created a NEW value field (VV0056) in SAP COPA that is NOT pulling manual journal entries into BW (document types AB and SA). All other value fields are pulling in all document types and balance to SAP u2013 itu2019s this new one that is not.  We do not have any restrictions on selection of data coming into BW.
    The manual journal entry is in our CE1* table in R/3.
    We are still 3.x data loading in our BW 7 system.
    Any ideas on what to look for?  Your input is greatly appreciated.
    Renee Mercede

    Hi Renee
    The new fields that has been added must be either in the COPA table or the corresponding datasource.
    If it is added in the table
    1) You need to enhance the corresponding datasource with a z-field that wiill represent the field added in the table.
    2) This field will have to be populated through an ABAP routine.
    3) Check the populated field values in RSA3.
    4) Replicate the datasource in BW.
    5) Create infoobject for the enhanced field.
    6) Add infoobject in the corresponding BW data targets.
    7) Change transformations / UR's - TR's.
    8) Extract data.
    If it is added in the datasource - which means you know from which base table this field needs to be populated.
    Carry out steps (2) to (8) from above.
    Cheers
    Umesh

  • Custom idoc segment fields not populated

    Way back in 1999 someone create a custom Idoc type with custom Idoc segments in it.  Unfortunately, they forgot to release one of the segments.
    Recently a change was request to add new fields to this custom segment.  In order to get the fields transported the segment had to be released.
    All worked fine in Dev and the new Idoc segments were populated as expected.  However when the idoc segment was moved to the test system all visually appears to be fine but when the idoc is created (status 50) the new fields are not popultated. 
    In 40B the start of the inbound process was IDOC_INBOUND_DATA.  Does anyone know what the new starting point is in 4.7??
    I beleive the error is actually that SData is not reading all the input values and stopping right where the old fields end in teh custom segment.
    Thanks,
    Anthony

    additionally,
    SAP will not allow us to release the basic idoc type because it was released in 40B.  It also will not allow us to cancel the release since we are now in 620.  So, unless anyone has input for this I think the only solution will be to create a successor IDoc type and change our apps to use the new IDoc type with it's enhancements.

  • Field not populating in update rule

    Hi Gurus,
                  I have created an update rule and i assigned some characteristic to the KF in my rule when i load data to test this update rule some fields are not getting populated can any one tell me what will be the reason? the mapping is correct for these fields.
    waiting for reply
    ravi

    Hi Ravi,
                I think you must check your code exactly.It might be that there is some problem there.Also,Make sure that your mapping is perfect for these fields and also check whether everything is availabale in activated version.
    Regards,
    Amar

  • Filter in query result table not populated by criteria previously selected.

    Hi Experts,
    I'm currently working on the the Upgrade of our BW production line from
    release 3.0b to 7.0:
    Configuration of target system
    BW system : Release 7.0
    BEx Analyser : Release 2004s, Support Package9, Patch 1, Revision 321
    Sap Gui 6.4
    We're especially trying to check the non-regression of the non-converted queries in the new system (release 7.0).
    And we get the following issue: After having selected the selection criteria in the selection window, the reminder of selected criteria is not done in the filter part of the target query result. Is it a normal behavior or not ?
    Indeed, in the previous system configuration (BW 3.0b), the user is accustomed to seeing just above his result table the selection criteria that he had previously filled in in the selection window.
    Please find herewith an example describing the problem.
    Thanks in advance for your help.

    In order to be more clear, hereunder an example:
    - I have a field untitled "Business Division"in the selection window.*
    - I fill in this field with the value "OND"
    - I execute the query with this value for this field.
    - The query result correclty appears.
    - I click on the "Filter" button to display the Filter table with the columns "Navigation pane" and "Filter criteria".
    - In the "Navigation pane", there is the field "Business Division".
    - For me, the corresponding "Filter criteria" should be the value "OND", but nothing is displayed...
    Thanks in advance foryour help.
    Regards,
    Steph

  • CRM fields not populating in BPS layout for opportunity Planning 0crm_order

    Hello Support,                                                                               
    We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.                                                                               
    When creating an opportunity in CRM, the product data ( quantity ,
    values) are not appearing in Planning tab( SEM-BPS Layout) .                                                                               
    Kindly let us know what needs to be done to resolve this issue.    
    Thanks and regards,                                                
    Rajiv Jain

    In your CRM system, check your mapping from CRM to BW are correct.
    You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
    In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
    In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
    Regards,
    Adrian

  • SRM Invoice and Confirmation fields not populated in Standard content DSO

    We are implementing an extended classic SRM Scenario in our company, along with SAP recommended standard solution for BI. While activating the PO DSO (0SRPO_D1) confirmation quantity (SR_CFQBU) and amount (SR_CFVOC) along with Invoice quantity (SR_IVQBU) and amount (SR_IVVOC) are not getting populated.  Is there a recommended solution to correct this scenario?

    This problem has been solved by implementing OSS Note 1343257

  • External Reference field not populating via CRM_ORDER_MAINTAIN

    Hi ,
    I am using the FM CRM_ORDER_MAINTAIN and wanted to add EXTERNAL REFERENCE Field in existing Complain Order(Transaction :CRMD_ORDER). I am passing the following parameter to add the Reference. But it is not updating the
    with the follwoing Reference number. Could you please help on this.
      ls_ext_ref-REFERENCE_TYPE           = 'Z002'.
      ls_ext_ref-REFERENCE_NUMBER      = '12345678'.
      ls_ext_ref-REFERENCE_TYPE_T        = 'SOCS Number'.
    ls_ext_ref-REFERENCE_MODE           = 'A'.
      ls_Ext_ref-handle                                = '0000000001'.
      ls_ext_ref-ref_guid          = gs_orderadm_h-guid.
      ls_ext_ref-ref_kind          = gc_object_ref_kind-orderadm_h.
      INSERT ls_ext_ref INTO TABLE gt_ext_ref.
      ls_input_field-ref_guid    = gs_orderadm_h-guid.
      ls_input_field-ref_kind    = gc_object_ref_kind-orderadm_h.
      ls_input_field-objectname  = gc_object_name-ext_ref.
      ls_input_field-LOGICAL_KEY = '0000000001'.
      ls_input_field_names-fieldname = 'REFERENCE_TYPE_T'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'REFERENCE_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'REFERENCE_NUMBER'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      INSERT ls_input_field  INTO TABLE  gt_input_fields.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
        ct_orderadm_h   = gt_orderadm_h
         it_ext_ref           = gt_ext_ref
       CHANGING
          ct_input_fields = gt_input_fields.
    Get guids
      LOOP AT gt_orderadm_h INTO gs_orderadm_h.
        INSERT gs_orderadm_h-guid INTO TABLE gt_obj_guids.
      ENDLOOP.
      CALL FUNCTION 'CRM_ORDER_SAVE'
        EXPORTING
          IT_OBJECTS_TO_SAVE = gt_obj_guids
        EXCEPTIONS
          DOCUMENT_NOT_SAVED = 1
          OTHERS             = 2.

    Hi,
    For external reference field
    Use Crm_order_read funtion module to read the details.
    get the details  of sales  lt_sales and create same structure of sales and pass the value.
    IF lt_sales IS NOT INITIAL.
        CLEAR ls_sales.
        READ TABLE lt_sales INTO ls_sales INDEX 1.
        IF sy-subrc = 0.
          ls_sales-po_number_sold  = ls_orderadm_h-object_id. """" Ticket no
          MODIFY lt_sales FROM ls_sales INDEX 1.
        ENDIF.
        CLEAR ls_sales.
        CLEAR ls_sales1.
        READ TABLE lt_sales INTO ls_sales INDEX 1.
        IF sy-subrc = 0.
          MOVE-CORRESPONDING  ls_sales TO ls_sales1.
          ls_sales1-ref_handle    = 1.
          ls_sales1-ref_guid      = lv_hguid .                          ls_sales1-ref_kind      = 'A' .
          h2_ls_sales1-po_number_sold = ls_sales-po_number_sold.  "" this is external reference no field._h2
          INSERT ls_sales1 INTO TABLE lt_sales1.
        ENDIF.
        " Input Fields
        ls_input_field-ref_handle =  1.
        ls_input_field-ref_kind   = 'A' .                  "A
        ls_input_field-ref_guid   = lv_hguid.                   "External System GUID Assignment."
        ls_input_field-objectname = sales.                   "SALES
        ls_input_field_names-fieldname = PO_NUMBER_SOLD.
        INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
        ls_input_field_names-fieldname = PO_DATE_SOLD.
        INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
        INSERT ls_input_field  INTO TABLE  it_input_fields.
      ENDIF.
    Pass lt_sales1 to crm_order_maintain and crm_order_save.

  • Custom fields not display in SRM5.5 Basic Data Frame

    Hello Everybody,
          I am working on SRM5.5 Server which i have to add two custom fields in Basic Data Frame..
         No field is display in basic data frame After I added those fields in INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF.
        I added these fields by help of 672960 OSS notes..
       Add also when i execute the program BBP_DYNPROS_GENERATE where I entered the program name as SAPLBBP_PDH_CUF and execute but non of them is working fine..
      Is there anything else do i need to display custom fields in basic data frame??
    I have one more question..
      When you logon through SAPGUI and goto BBPSC01 t.code where you see lots of fields in basic data frame such as unloading point and all.. But those all fields does not display when you logon through WebURL..
      I checked is there any BAdi such CUF or Screenvarient or some Badi has been actived but non of the Badi has been implemented..
      To display all the fields which are display in GUI Mode also should display in URL..
      To bring this functionality , What do i need to do?
      I appreciate if you answer these questions..
    Thanks,
    John.

    Hi Disha,
    We are trying to add custom fields to the Shopping Cart Header. We are using SRM 5.0. We added the fields to the structures "INCL_EEW_PD_HEADER_CSF_SC" & "INCL_EEW_PD_HEADER_CSF".  We are able to see the custom fields. But the issue is , we are able to see the custom fields in the Shopping Cart one step shop scenario. Whereas when we run the wizard which is a 3 step scenario, we are not able to see the custom fields.
    Technically speaking, the custom fields are visible for the ITS BBPSC01 & BBPSC03 , where as these custom fields are not visible for the ITS BBPSC02.
    Please let me know, if we need to append the fields to some other structure to be able to see them in the Shopping cart wizard also.
    I will be gald to provide any kind of info.
    Thanks in advance...

  • Delta field not enabled for selection in  generic data source

    Hi
    I have created a generic data source for the table VBFA....and for the delta pick up i have put the delta option as CALDAY on the field ERDAT...and  i have  selected that field for the selection option. but after i made it  delta enabled the selection option got disabled.
    Now when i check the info package delta selection tab that date column is not apperaing.
    But when i have to run the info package for the first i dont want all the data as it has a huge set of data.
    I wanted to  take only this months data.
    So is there any option to be set to enable this selection in info package.
    please suggest.
    Regards
    Shilpa

    Hi there,
    That's the stardard behaviour. If you use delta based om ERDAT, that field won't be available for selecting.
    You could for example try to build a view over VBFA, and let the field ERDAT there and another field, for example ZERDAT (that is just another alias for ERDAT). Create the delta based onyour view over the field (ERDAT), but you can still control the restrictions over the extractore with your ZERDAT.
    I don't know if this is possible, this is only an assumption.
    Another option could be first to create an extractor based on the table VBFA but without delta, that field ERDAT would be available. Do your full data restricting it, and after that, change your datasource to use deltas based on ERDAT. It will be unavailable than, but since you've already loaded previous full data, you could than use your delta like it is. But here, remember, your deltas will bring new and change data based on ERDAT. If it brings delta based on changed data over ERDAT to a record that you didn't brought over your full (only some data), it will be incorrect records.
    Also just an assumption, did not try it.
    Diogo.

Maybe you are looking for

  • E72 : "Item no longer available; Restoring default...

    Hi all, Has anyone seen this message on E72 ? I have had my E72 for abt a month. After much struggle and trial/errors I had got most of the stuff working (email etc.). HOWEVER, I made the big mistake of accepting the firmware v 023.xx upgrade. It nev

  • Sale of Raw materail -  Base Price inclusive of Excise duties

    Hi , Our client wants to sell a Raw material they procured to another customer. When they procured Material X Price was 20012 (ED- 2862, Ecess-57 and SECess-29). Now they want to sell the material X to Customer. While selling, they want to enter the

  • Regarding CO-PA KPI's

    HI Friends As i am Working on CO-PA , I want to Know Some Sample KPI's List Regarding CO-PA . Please Help me out by Providing Sample KPI's . Thanks and Regards Gowtham

  • Is there a BADI to call custom defined fields in Project Systems (PS)

    Hi, Is there a BADI to call custom defined fields in Project Systems (PS) The business process is as under: SRM MDM product catalog is called from PS applcation in ECC using transaction code CJ20N. Standard fields like description, qty, price etc are

  • Occasional file extension showing up in stacks

    I have several folders set as stacks in my dock, mostly filled with Pages documents. Every now and then one of these documents will show up in the stack (in fan view) with the file extension (.pages) This does not happen in a finder window as the fin