Delivery Number question

Hi,
         I have a modeling queston. Currently i have a orders summary cube which gets  data from the order header and Order item ODS's. The requirement is to enhance the cube so as to add the delivery document number and certain key figures like rejected quantity etc. The cube has a dimension called Document number which has the sales document number as the charachteristic and other navigational attributes with it. Is it advisable to add the delivery dcument number from the delivery header ODS into this Document number dimension??or is it more advisable to add an extra dimension to the cbe with the delivery document number as a charachteristic???

Hi,
Look at it from the 'system's point of view':
- in case of adding dimensions or chars, or KFs, the system will simply create new table(s) or add several records to existing tables - no problem for the data consistensy - allowed.
- in case of deleting dimensions, chars or KFs, setting 'Line Item' flag, remapping chars within dimensions, the system must either delete tables, or transfer some records from one table into another one - there is a jeopardy to raise inconsistensy - denied until data deleted from a cube.
Best regards,
Eugene

Similar Messages

  • Delivery Number and EKBE table

    I have  a requirement to find out and print Delivery number all I have is PO number.
    and I was told that In EKBE if the PO history cat is "L" then fetch the Delivery Number.
    My question is from which table and which field i need to pull if the PO history category is L in EKBE table.
    Thanks in advance,,

    Here is the Link
    Get all the PO's From EKBE-BEWTP  " PO history cat is "L"
    Equal to 'L'.
    select * from ekbe
    into table it_ekbe
    where BEWTP = 'L'.
    if sy-subrc eq 0.
    select * from LIPS
       into table it_lip
       for all entries in it_ekbe
       where vgbel = it_ekbe-ebeln and
                vgpos = it_ekbe-ebelp.
    "This will give all the Deliveries realted to PO histort cat " L"
    endif.

  • How to look for sales order number if I know outbound delivery number?

    How to look for sales order number if I know outbound delivery number?

    Hi ,
        If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
    for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
    You will get a window,there you can see the Sales order Number before your outbound delivery Number
    With Thanks and Regards,
    Priya

  • How to get the last 3 digits of a Delivery Number

    Hi All,
    On the Transfer Order Collective form, the Delivery Number is printed. But I need to capture the last 3 digits of that delivery number and make the 3 digits to be printed on the same form with bigger font size. I would like to know how to capture the last 3 digits.

    If so, your form(subroutine) can look like this.
    form  get_last_3_digits tables co_sym_using   structure itcsy
                                   co_set_symbols structure itcsy.
      data: xvbeln type likp-vbeln.
    * Get the USING Values
      read table co_sym_using with key name = 'LIKP-VBELN'.
      check sy-subrc eq 0.
      shift co_sym_using-value left deleting leading space.
      xvbeln  = co_sym_using-value.
    * make sure it is internal format
      call function 'CONVERSION_EXIT_ALPHA_INPUT'
           exporting
                input  = xvbeln
           importing
                output = xvbeln.
    * Update the value
      read table co_set_symbols index 1.
      co_set_symbols-value = xvbeln+7(3).
      modify co_set_symbols index 1.
    endform.
    Regards,
    Rich Heilman

  • Assign external delivery number using BAPI_DELIVERYPROCESSING_EXEC

    Hi Experts,
    How to assign the external delivery number using "BAPI_DELIVERYPROCESSING_EXEC?
    For internal no, the BAPI works and I try to pass the parameters "tbl_request-EXTDELV_NO = XXX" to the BAPI , it prompt an error "Unexpected issue of error message (output NR 751)"
    Thanks

    Hi,
    Please check the external number which you are giving is within the number  Range defined  in Configuration  .
    regards
    Deepak.

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • How to create invoice using bapi  base on delivery number with example

    hi,
    Pl give me one example to create invoice using bapi base on delivery number (PGI).

    Use this code
    * Pass the delivery no to the FM to create the invoice
          wa_vbsk-smart = u2018Fu2019.
            wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
            APPEND wa_komfk TO it_komfk.
            CLEAR wa_komfk.
    *    To fill the message structure
    *        l_wa_error-vbeln_vl = nast-objky. " Delivery No.
    *        l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
            CALL FUNCTION 'RV_INVOICE_CREATE'
                    EXPORTING
    *                 delivery_date             = 0
                     invoice_date              = v_date  u201C<- date
    *                 invoice_type              = '    '
    *                 pricing_date              = 0
                     vbsk_i                    = wa_vbsk
                     with_posting              = u2018Du2019
    *                 select_date               = 0
                     i_no_vblog                = ' '
                     i_analyze_mode            = ' '
                     id_utasy                  = ' '
                     id_utswl                  = ' '
                     id_utsnl                  = ' '
                     id_no_enqueue             = ' '
                     id_new_cancellation       = ' '
    **             IMPORTING
    *               VBSK_E                    =
    *               OD_BAD_DATA               =
    *               DET_REBATE                =
                    TABLES
                      xkomfk                    = it_komfk
                      xkomv                     = it_komv
                      xthead                    = it_thead
                      xvbfs                     = it_vbfs
                      xvbpa                     = it_vbpa
                      xvbrk                     = it_xvbrk
                      xvbrp                     = it_vbrp
                      xvbss                     = it_vbss
    *               XKOMFKGN                  =
    *               XKOMFKKO                  =

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Report ( invoice number and delivery number)

    Hi
    Is there any report in SAP, which can show invoice number and delivery document number, I know the SAP table, but is SAP standard report available?
    Example:PO: 5500075241, plant abraod delivery number 3510000174 and plant abroad Invoice number 3550000019, we need report which gives Delivery and Invoice no.
    thanks

    No standard reports shows both delivery and billing references in a single report.  You can develop a query in SQVI by table joining VBFA, LIKP and VBRK.
    thanks
    G. Lakshmipathi

  • How to find out the Group Delivery Number from STO

    User performed WA08 to create Vendor PO and STO for stores.
    When GR was carried out on the Vendor PO, multiple Delivery Order were auto-generated.
    Now, is there a place whereby User could identified the Group Delivery Number which
    links all the DOs generated based on either
    a. The STO number  OR
    b. The vendor PO number OR
    c. the allocation table.
    Can some assist?

    Hi,
    Please check these tables
    LIPS...
    VBELN: for Delivery Number
    VGBEL: for STO Number
    with the above chk this.
    VBSS...
    SAMMG: Group Number
    VBELN: Sales and Distribution Document Number
    Regards
    GK.

  • User Exit or BADI for MIGO on entry of inbound delivery number

    Hi all,
    I want a user exit or BADI for MIGO, my requirement is that whenever a user enters an inbound delivery number and presses enter in MIGO the exit should get fired.
    Please help, if someone knows.
    Thanks and Regards,
    Mohammed.

    hi
    you can try out various BADI'S-
    MB_MIGO_BADI
    MB_MIGO_ITEM_BADI
    Helpful function modules:-
    MIGO_BADI_EXAMPLE
    MIGO_BADI_EXAMPLE_GET_DATA
    MIGO_BADI_EXAMPLE_GET_HEADER
    MIGO_BADI_EXAMPLE_PUT_DATA
    MIGO_BADI_EXAMPLE_PUT_HEADER
    MIGO_BADI_EXAMPLE_UPATE_DATA
    MIGO_BADI_EXAMPLE_UPDATE_HEAD
    I hope at least one of these helps.
    regards
    Aakash

  • Goods Issue of  a Created Delivery Number

    I am writing code to that will complete a delivery transaction by doing a Goods Issue for shipments that already have a  delivery number created (and are a 601 move type already). I just need to add the batch, carrier, and date (that are being passed to me in SAP in the interface) to the delivery record in the processing. I check table VBUK,field WBSTK, for a "C" indicator when I am done to make sure the delivery is "totally completed".
    The Users currently do a VL02N to do this. It is an Outbound delivery.I am automating the process.
    Has anyone had any similar requirement? Can anyone make a suggestion of which method or Function Module to use? Their are so many and would appreciate anybody's experience with this.
    Thank-You.
    Edited by: Tom Matys on Mar 1, 2010 11:28 AM
    Edited by: Tom Matys on Mar 1, 2010 11:30 AM

    You can use the FM "WS_DELIVERY_UPDATE_2" for posting GR. Using this FM you can also update fields by passing data to VBKOK_WA and VBPOK_TAB. If required you need to use "BAPI_OUTB_DELIVERY_CHANGE" to update your data.
    Regards,
    Ganga

  • How to populate the ECC Delivery number in to CIC0 (win client)

    Hi,
    Through Action Box I am able to call the VL01N, after completion of the transaction when I choose the save it is taking me back to CIC0 (win client) and I am not able to see the delivery number.
    For that I have to go to VL03N there I have to see.
    Is there any other way to populate the delivery no. in the CIC0 (win client)?
    Thanks in advance

    Hi Binu,
    May be you can use data display and pass the created Number in to some other object field todisplay it in CIC system.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • ABAP query to find delivery number of a sales document

    Hi Gurus,
    Can anyone help me how can i create an ABAP query to fetch the delivery number of a sales order. What are the tables to be joined.
    Through tables I got the solution. From VBAP table I fetched the sales order numbers. I copied the sales order numbers and opened VBFA table. In the preceding documents field I had pasted those sales orders numbers. Then I've selected subsequent document category 'J' to get the deliveries.
    But now how to write an ABAP query for this.
    regards
    rama krishna

    Hi,
    Try to use join query like:
    Select vbfa~VBTYP_N  INTO CORRESPONDING FIELDS OF TABLE itab from VBFA inner join VBAP
      where vbapvbeln = VBFAVBELN.
    Regards
    Mudit

  • Table in which if I put the delivery number ..I should get the HEADER TEXT

    Dear Members,
    I am checking for a table in which if I put the delivery number ..I should get the HEADER TEXT. Does such table exists or a Z report shoudl be created for this kind of setup.
    Regards,

    Hi,
    There are two Tables in which the texts will be stored
    One is STXH -
    TEXT HEADER
    other   STXL------- TEXT ITEM
    If you want to get the Header text then input the values in the table
    In STXH
    TEXT OBJECT     is    VBBK
    TEXT NAME      is      DELIVERY NUMBER
    TEXT ID             is       ZS01  ( this is the standard ID for the  Header note 1 )
    Now goto SE37 and give the Function Module READ_TEXT and maintain all the above details and get the TDLINE Which contains the TEXT of the Delivery
    regards,
    santosh

Maybe you are looking for

  • Fire Fighter Report

    Hello Experts, I think I need some help on the Fire Fighter Reports. My ultimate goal is to get the list of Reason and activity used by the users during the months of January2012 and December2011. I was trying to execute the report "Reason/Activity R

  • Provide me with a simple tar file

    I have just started prepairing for Weblogic Admin Cert Exam. I am using Weblogic Server 10 on Red Hat Linux. Can someone please provide me with a simple tar/gz file which I can deploy using the weblogic console and see how weblogic works (i am not a

  • My Safari won't show PDF?

    Help... My mac won't show PDF files in safari. This means that I have to download every PDF file i come i contact with. Does anybody know what is wrong? and what I can do to fix it?

  • Passing field "BSCHL"  to bapi BAPI_ACC_DOCUMENT_POST.

    Hi developers,              I've just searched the forum, but I can't find the solution to the following problem: I need to use bapi BAPI_ACC_DOCUMENT_POST to simulate FB01 transaction. I need to pass to the bapi the field "BSEG-BSCHL" for each recor

  • Audio-out hiss/noise problems

    There seem to be a problem with the audio output on the new MacBook Aluminium. There is A LOT of noise/hiss on the audio output, especially when using low-impendence headphones. The noise/hiss is the same regardless of volume. If you search the web,