Regarding invoice no. displaying in non-invoice no.list in document flow

Hi All,
I have 3 radio buttons. if i select 1st one only orders with invoice list should be displayed and for 2nd only orders without invoice list should be displayed and for the 3rd both should be displayed.
but here the problem was when i select the 2nd radiobutton and see the output it was showing all the orders without invoice no. but when i see the document flow for the first order it was showing invoice no. in DOCUMENT FLOW. but it was not displaying in the output.
So any one can help me in this issue, i am sending the select statements i have used,
  Get the invoice numbers and the corresponding order numbers for the
  date range specified on the selection screen.
    SELECT vbrkvbeln vbrpposnr vbrp~matnr
           vbrpaubel vbfaposnv
      INTO CORRESPONDING FIELDS OF TABLE i_invoice_items FROM vbrk
      INNER JOIN vbpa ON vbrkvbeln = vbpavbeln
      INNER JOIN vbrp ON vbrkvbeln = vbrpvbeln
      INNER JOIN vbfa ON vbrkvbeln = vbfavbeln  AND
                         vbrpposnr = vbfaposnn  AND
                         vbrpaubel = vbfavbelv
      WHERE vbrk~fkdat BETWEEN s_fkdat-low AND s_fkdat-high AND
            vbrk~bukrs  IN s_bukrs    AND
            vbpa~parvw   = 'WE'       AND
            vbpa~kunnr  IN s_kunnr    AND
            vbrk~vkorg  IN s_vkorg    AND
            vbrp~prodh  IN s_prdha    AND
            vbrp~werks  IN s_werks    AND
            vbfavbelv   = vbrpaubel AND
            vbfa~vbtyp_n = 'M'        AND
            vbfa~vbtyp_v = 'C'.
get all open orders i.e. orders that have not been invoiced - Start.
  Step 1 - Get all invoiced orders.
    SELECT vbfavbelv vbfaposnv
      INTO CORRESPONDING FIELDS OF TABLE i_inv_ord_items
      FROM vbfa
      INNER JOIN vbpa ON vbfavbelv = vbpavbeln
      INNER JOIN vbak ON vbfavbelv = vbakvbeln
      INNER JOIN vbap ON vbfavbelv = vbapvbeln AND
                         vbfaposnv = vbapposnr
      WHERE vbtyp_n        = 'M'     AND
            vbtyp_v        = 'C'     AND
            vbpa~parvw     = 'WE'    AND
            vbpa~kunnr    IN s_kunnr AND
            vbak~vkorg    IN s_vkorg AND
            vbak~bukrs_vf IN s_bukrs AND
            vbap~abgru     = ' '     AND
            vbap~werks    IN s_werks AND
            vbap~prodh    IN s_prdha.
  STEP 2 - Get all orders that have not been invoiced.
  Step 2a) Get all orders that match the filters specified on the selection screen
    SELECT vbakvbeln vbapposnr matnr
      INTO CORRESPONDING FIELDS OF TABLE i_ord_items FROM vbak
      INNER JOIN vbap ON vbakvbeln = vbapvbeln
      INNER JOIN vbpa ON vbakvbeln = vbpavbeln
      WHERE vbpa~parvw     = 'WE'    AND
            vbpa~kunnr    IN s_kunnr AND
            vbak~vkorg    IN s_vkorg AND
            vbak~bukrs_vf IN s_bukrs AND
            prodh         IN s_prdha AND
            werks         IN s_werks AND
            vbap~abgru     = ' '.
    SORT i_ord_items BY vbeln posnr.
  Step 2b) Delete orders that have been invoiced by
           deleting records found in Step 1
    LOOP AT i_inv_ord_items INTO wa_inv_ord_items.
      READ TABLE i_ord_items
        INTO wa_ord_items
        WITH KEY vbeln = wa_inv_ord_items-vbelv
                 posnr = wa_inv_ord_items-posnv
        BINARY SEARCH.
      IF sy-subrc = 0.
        gv_index = sy-tabix.
        DELETE i_ord_items
          INDEX gv_index.
      ENDIF.
    ENDLOOP.
  Step 2c) Remove entries that exist in the invoiced orders internal table
  to avoid duplicate entries
    SORT i_ord_items BY vbeln posnr.
    LOOP AT i_invoice_items INTO wa_invoice_items.
      READ TABLE i_ord_items
        INTO wa_ord_items
        WITH KEY vbeln = wa_invoice_items-aubel
                 posnr = wa_invoice_items-posnv
        BINARY SEARCH.
      IF sy-subrc = 0.
        gv_index = sy-tabix.
        DELETE i_ord_items
          INDEX gv_index.
      ENDIF.
    ENDLOOP.
get all open orders i.e. orders that have not been invoiced - End.
  Combine the open orders and invoiced orders into one internal table
--Code added by CHHEDAM.SMS129705.Date- 03/28/2007--
  Clear 'invoiced' orders if open orders are opted.
    IF g_open EQ 'X'.
      CLEAR: i_invoice_items[].
    ENDIF.
--End of code added by CHHEDAM.SMS129705.Date- 03/28/2007--
    IF g_open EQ 'X' OR g_both EQ 'X'.       
      LOOP AT i_ord_items INTO wa_ord_items.
        CLEAR wa_invoice_items.
        MOVE: wa_ord_items-vbeln TO wa_invoice_items-aubel,
              wa_ord_items-posnr TO wa_invoice_items-posnv,
              wa_ord_items-matnr TO wa_invoice_items-matnr.
        APPEND wa_invoice_items TO i_invoice_items.
      ENDLOOP.
    ENDIF.                                   
    SORT i_invoice_items BY vbeln.
    IF i_invoice_items[] IS NOT INITIAL.
      SELECT *
        FROM vbak
        INTO TABLE gt_vbak_table
        FOR ALL ENTRIES IN i_invoice_items
        WHERE vbeln = i_invoice_items-aubel.
      IF sy-subrc = 0.
        DELETE gt_vbak_table
          WHERE vkorg    NOT IN s_vkorg OR
                bukrs_vf NOT IN s_bukrs OR
                auart    NOT IN s_auart.
      ENDIF.
      SORT gt_vbak_table BY vbeln.
      IF gt_vbak_table[] IS NOT INITIAL.
        SELECT *
          FROM vbap
          INTO TABLE gt_vbap_table
          FOR ALL ENTRIES IN gt_vbak_table
          WHERE vbeln = gt_vbak_table-vbeln.
        IF sy-subrc = 0.
          DELETE gt_vbap_table
            WHERE werks NOT IN s_werks OR
                  prodh NOT IN s_prdha.
        ENDIF.
      ENDIF.
    ENDIF.
    SORT gt_vbak_table BY vbeln.
    SORT gt_vbap_table BY vbeln posnr.
LOOP AT i_invoice_items INTO wa_invoice_items.
      READ TABLE gt_vbak_table
        INTO gt_vbak_table_line
        WITH KEY vbeln = wa_invoice_items-aubel
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-aubel     = gt_vbak_table_line-vbeln.
        display_table_line-vkorg     = gt_vbak_table_line-vkorg.
        display_table_line-auart     = gt_vbak_table_line-auart.
        display_table_line-bukrs_vf  = gt_vbak_table_line-bukrs_vf.
        display_table_line-bill_to   = gt_vbak_table_line-kunnr.
        display_table_line-vdatu     = gt_vbak_table_line-vdatu.
        display_table_line-faksk     = gt_vbak_table_line-faksk.
        display_table_line-lifsk     = gt_vbak_table_line-lifsk.
      ENDIF.
      READ TABLE gt_vbap_table
        INTO gt_vbap_table_line
        WITH KEY vbeln = wa_invoice_items-aubel
                 posnr = wa_invoice_items-posnv
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-posnr     = gt_vbap_table_line-posnr.
        display_table_line-matnr     = gt_vbap_table_line-matnr.
        display_table_line-kdmat     = gt_vbap_table_line-kdmat.
        display_table_line-maktx     = gt_vbap_table_line-arktx.
        display_table_line-werks     = gt_vbap_table_line-werks.
        display_table_line-prodh     = gt_vbap_table_line-prodh.
        display_table_line-kwmeng    = gt_vbap_table_line-kwmeng.
        display_table_line-vrkme     = gt_vbap_table_line-vrkme.
        display_table_line-waerk     = gt_vbap_table_line-waerk.
        display_table_line-net_price = gt_vbap_table_line-netwr.
        display_table_line-kzwi1     = gt_vbap_table_line-kzwi1.
        display_table_line-kzwi2     = gt_vbap_table_line-kzwi2.
        display_table_line-kzwi3     = gt_vbap_table_line-kzwi3.
        display_table_line-kzwi4     = gt_vbap_table_line-kzwi4.
        display_table_line-kzwi5     = gt_vbap_table_line-kzwi5.
        display_table_line-wavwr     = gt_vbap_table_line-wavwr.
        display_table_line-mwsbp     = gt_vbap_table_line-mwsbp.
      ENDIF.
      display_table_line-vbeln = wa_invoice_items-vbeln.
      APPEND display_table_line TO display_table_line.
      CLEAR wa_invoice_items.
      CLEAR display_table_line.
    ENDLOOP.
  Get the Purchase Order Number, Sales District and Desc
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_vbkd_table.
      CLEAR: gt_t171t_table.
      SELECT *
        FROM vbkd
        INTO TABLE gt_vbkd_table
        FOR ALL ENTRIES IN display_table_line
        WHERE vbeln = display_table_line-aubel.
      SORT gt_vbkd_table  BY vbeln.
      IF gt_vbkd_table[] IS NOT INITIAL.
        SELECT *
          FROM t171t
          INTO TABLE gt_t171t_table
          FOR ALL ENTRIES IN gt_vbkd_table
          WHERE bzirk = gt_vbkd_table-bzirk.
      ENDIF.
      SORT gt_t171t_table BY bzirk.
    ENDIF.
  Get Ship To Account
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_vbpa_table.
      SELECT *
        INTO TABLE gt_vbpa_table
        FROM vbpa
        FOR ALL ENTRIES IN display_table_line
        WHERE vbeln = display_table_line-aubel.
      IF sy-subrc = 0.
        DELETE gt_vbpa_table
          WHERE parvw <> 'WE'.
      ENDIF.
    ENDIF.
    SORT gt_vbpa_table BY vbeln parvw.
Get Ship To Name and City
    IF gt_vbpa_table[] IS NOT INITIAL.
      CLEAR: gt_kna1_table.
      SELECT *
        INTO TABLE gt_kna1_table
        FROM kna1
        FOR ALL ENTRIES IN gt_vbpa_table
        WHERE kunnr = gt_vbpa_table-kunnr.
    ENDIF.
    SORT gt_kna1_table BY kunnr.
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_vbpa2_table.
      SELECT *
        INTO TABLE gt_vbpa2_table
        FROM vbpa
        FOR ALL ENTRIES IN display_table_line
        WHERE vbeln = display_table_line-aubel.
      IF sy-subrc = 0.
        DELETE gt_vbpa2_table
          WHERE parvw <> 'ZS' .
      ENDIF.
    ENDIF.
    SORT gt_vbpa2_table BY vbeln parvw.
    IF gt_vbpa2_table[] IS NOT INITIAL.
      CLEAR: gt_kna12_table.
      SELECT *
        INTO TABLE gt_kna12_table
        FROM kna1
        FOR ALL ENTRIES IN gt_vbpa2_table
        WHERE kunnr = gt_vbpa2_table-kunnr.
    ENDIF.
    SORT gt_kna12_table BY kunnr.
Get Sales Group and Desc
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_knvv_table.
      SELECT *
        INTO TABLE gt_knvv_table
        FROM knvv
        FOR ALL ENTRIES IN display_table_line
        WHERE kunnr = display_table_line-bill_to  AND
              vkorg = display_table_line-vkorg    AND
              vtweg = '01'.
      SORT gt_knvv_table BY kunnr vkorg vtweg.
      IF gt_knvv_table[] IS NOT INITIAL.
        CLEAR: gt_tvgrt_table.
        SELECT *
          INTO TABLE gt_tvgrt_table
          FROM tvgrt
          FOR ALL ENTRIES IN gt_knvv_table
          WHERE vkgrp = gt_knvv_table-vkgrp AND
                spras = sy-langu.
      ENDIF.
      SORT gt_tvgrt_table BY vkgrp spras.
    ENDIF.
Get Order Status for the line items in the sales orders
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_vbup_table.
      SELECT *
        INTO TABLE gt_vbup_table
        FROM vbup
        FOR ALL ENTRIES IN display_table_line
        WHERE vbeln = display_table_line-aubel AND
              posnr = display_table_line-posnr.
    ENDIF.
    SORT gt_vbup_table BY vbeln posnr.
    IF gt_vbup_table[] IS NOT INITIAL.
      CLEAR: gt_tvbst_table.
      SELECT *
        INTO TABLE gt_tvbst_table
        FROM tvbst
        FOR ALL ENTRIES IN gt_vbup_table
        WHERE spras = sy-langu AND
              tbnam = 'VBUP'   AND
              fdnam = 'GBSTA'  AND
              statu = gt_vbup_table-gbsta.
    ENDIF.
    SORT gt_tvbst_table BY spras tbnam fdnam statu.
Get Blocked Reason Text for Billing and Delivery Block
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_tvfst_table.
      SELECT *
        INTO TABLE gt_tvfst_table
        FROM tvfst
        FOR ALL ENTRIES IN display_table_line
        WHERE spras = sy-langu AND
              faksp = display_table_line-faksk.
    ENDIF.
    SORT gt_tvfst_table BY spras faksp.
    IF display_table_line[] IS NOT INITIAL.
      CLEAR: gt_tvlst_table.
      SELECT *
        INTO TABLE gt_tvlst_table
        FROM tvlst
        FOR ALL ENTRIES IN display_table_line
        WHERE spras = sy-langu AND
              lifsp = display_table_line-lifsk.
    ENDIF.
    SORT gt_tvlst_table BY spras lifsp.
    SORT display_table_line BY vbeln aubel posnr matnr.
    DELETE ADJACENT DUPLICATES
      FROM display_table_line
      COMPARING aubel posnr matnr .
    LOOP AT display_table_line INTO display_table_line.
      gv_index = sy-tabix.
  Get the Purchase Order Number, Sales District and Desc
      READ TABLE gt_vbkd_table
        INTO gt_vbkd_table_line
        WITH KEY vbeln = display_table_line-aubel
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-bstkd = gt_vbkd_table_line-bstkd.
        display_table_line-bzirk = gt_vbkd_table_line-bzirk.
        READ TABLE gt_t171t_table
          INTO gt_t171t_table_line
          WITH KEY bzirk = gt_vbkd_table_line-bzirk
          BINARY SEARCH.
        IF sy-subrc = 0.
          display_table_line-bztxt = gt_t171t_table_line-bztxt.
        ENDIF.
      ENDIF.
  Get Ship To Account
      READ TABLE gt_vbpa_table
        INTO gt_vbpa_table_line
        WITH KEY vbeln = display_table_line-aubel
                 parvw = 'WE'
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-ship_to = gt_vbpa_table_line-kunnr.
      ENDIF.
Get Ship To Name and City
      READ TABLE gt_kna1_table
        INTO gt_kna1_table_line
        WITH KEY kunnr = display_table_line-ship_to
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-ship_to_name = gt_kna1_table_line-name1.
        display_table_line-ship_to_city = gt_kna1_table_line-ort01.
      ENDIF.
Get Ship To Salesman Number
      READ TABLE gt_vbpa2_table
        INTO gt_vbpa2_table_line
        WITH KEY vbeln = display_table_line-aubel
                 parvw = 'ZS'
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-salesrep = gt_vbpa2_table_line-kunnr.
      ENDIF.
Get Ship To Salesman
      READ TABLE gt_kna12_table
        INTO gt_kna12_table_line
        WITH KEY kunnr = display_table_line-salesrep
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-ship_to_srep = gt_kna12_table_line-name1.
      ENDIF.
Get Sales Group and Desc
      READ TABLE gt_knvv_table
        INTO gt_knvv_table_line
        WITH KEY kunnr = display_table_line-bill_to
                 vkorg = display_table_line-vkorg
                 vtweg = '01'
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-vkgrp = gt_knvv_table_line-vkgrp.
        READ TABLE gt_tvgrt_table
          INTO gt_tvgrt_table_line
          WITH KEY vkgrp = gt_knvv_table_line-vkgrp
                   spras = sy-langu
          BINARY SEARCH.
        IF sy-subrc = 0.
          display_table_line-bezei = gt_tvgrt_table_line-bezei.
        ENDIF.
      ENDIF.
Get Order Status for the line items in the sales orders
      READ TABLE gt_vbup_table
        INTO gt_vbup_table_line
        WITH KEY vbeln =  display_table_line-aubel
                 posnr =  display_table_line-posnr
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-gbsta = gt_vbup_table_line-gbsta.
      ENDIF.
      READ TABLE gt_tvbst_table
        INTO gt_tvbst_table_line
        WITH KEY spras = sy-langu
                 tbnam = 'VBUP'
                 fdnam = 'GBSTA'
                 statu = display_table_line-gbsta
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-status = gt_tvbst_table_line-bezei.
      ENDIF.
Get Blocked Reason Text for Billing and Delivery Block
      READ TABLE gt_tvfst_table
        INTO gt_tvfst_table_line
        WITH KEY spras = sy-langu
                 faksp = display_table_line-faksk
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-fakskt = gt_tvfst_table_line-vtext.
      ENDIF.
     SELECT SINGLE vtext INTO display_table_line-lifskt
      READ TABLE gt_tvlst_table
        INTO gt_tvlst_table_line
        WITH KEY spras = sy-langu
                 lifsp = display_table_line-lifsk
        BINARY SEARCH.
      IF sy-subrc = 0.
        display_table_line-lifskt = gt_tvlst_table_line-vtext.
      ENDIF.
Get Total Net and Total Gross Invoice Amount
      display_table_line-brtwr = display_table_line-kzwi1 -
                                 display_table_line-kzwi2 -
                                 display_table_line-kzwi3 -
                                 display_table_line-kzwi4 -
                                 display_table_line-kzwi5.
Calculate Discount
      display_table_line-disc = display_table_line-kzwi2 +
                                display_table_line-kzwi4.
     Unit Price and cost.
      IF display_table_line-kwmeng NE 0.
        display_table_line-unit_price = display_table_line-brtwr /
                                        display_table_line-kwmeng.
        display_table_line-wavwr = display_table_line-wavwr /
                                   display_table_line-kwmeng.
      ELSE.
        display_table_line-wavwr = 0.
      ENDIF.
    Calculate the GPM percentage.
      IF display_table_line-unit_price NE 0.
        display_table_line-gpm_perc = ( ( display_table_line-unit_price -
                                          display_table_line-wavwr ) /
                                          display_table_line-unit_price ) * 100.
      ENDIF.
    Update the internal table.
      SHIFT display_table_line-matnr   LEFT DELETING LEADING '0'.
      SHIFT display_table_line-bill_to LEFT DELETING LEADING '0'.
      SHIFT display_table_line-ship_to LEFT DELETING LEADING '0'.
      SHIFT display_table_line-vbeln   LEFT DELETING LEADING '0'.
      SHIFT display_table_line-aubel   LEFT DELETING LEADING '0'.
      WRITE display_table_line-vdatu   TO   display_table_line-vdatu_char MM/DD/YYYY.
      MODIFY display_table_line
        INDEX gv_index
        FROM display_table_line
        TRANSPORTING vbeln      aubel        bzirk        bztxt
                     bill_to    ship_to      ship_to_name ship_to_city
                     salesrep   ship_to_srep vkgrp        bezei
                     bstkd      gbsta        status       fakskt
                     lifskt     matnr        vdatu        brtwr
                     disc       unit_price   wavwr        gpm_perc
                     vdatu_char.
      CLEAR: display_table_line, tvbst_wa.
    ENDLOOP.
    IF  s_vkgrp[] IS NOT INITIAL.
      DELETE display_table_line WHERE vkgrp NOT IN s_vkgrp.
    ENDIF.
    IF  s_bzirk[] IS NOT INITIAL.
      DELETE display_table_line WHERE bzirk NOT IN s_bzirk.
    ENDIF.
    IF s_srep[] IS NOT INITIAL.
      DELETE display_table_line WHERE salesrep NOT IN s_srep.
    ENDIF.
    SORT display_table_line BY vkorg vkgrp ship_to_srep bill_to.
    DELETE display_table_line WHERE aubel = ' '.
  ENDMETHOD.                    "read_main_data
  METHOD display_report.
    CALL METHOD alv_class->set_table_for_first_display
   EXPORTING
     I_BUFFER_ACTIVE               =
     I_BYPASSING_BUFFER            =
     I_CONSISTENCY_CHECK           =
     I_STRUCTURE_NAME              =
     IS_VARIANT                    =
     I_SAVE                        =
     I_DEFAULT                     = 'X'
     is_layout                     = gv_layout
     IS_PRINT                      =
     IT_SPECIAL_GROUPS             =
     IT_TOOLBAR_EXCLUDING          =
     IT_HYPERLINK                  =
     IT_ALV_GRAPHICS               =
     IT_EXCEPT_QINFO               =
     IR_SALV_ADAPTER               =
     CHANGING
       it_outtab                     = display_table_line[]
       it_fieldcatalog               = gt_field_cat
     IT_SORT                       =
     IT_FILTER                     =
    EXCEPTIONS
      invalid_parameter_combination = 1
      program_error                 = 2
      too_many_lines                = 3
      OTHERS                        = 4
    IF sy-subrc <> 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDMETHOD.                    "display_report
Thanks in Advance,
Ramana Prasad.T

Hi Janakiraman,
unfortunately we don't have an upload storage here in the SDN. At this point we have two options:
a) you could upload the screenshots to a website that provides storage and then you can paste the url to the screenshots here
b) we can route this through our support channel. You can send a message to our support team in the <a href="http://service.sap.com/smb/sbo/support">SAP Business One Support Center</a> in our <a href="http://service.sap.com/smb/sbo">SAP PartnerEdge Portal</a>.
Please use the method that works best for you.
Thanks,
Torsten

Similar Messages

  • ALV report which displays Delivery and Invoice details..by linking vbfa.

    Hi...
    I wants to develop an ALV Report, which displays Delivery details as well as Invoice details for a range of given sale orders.
    For this report I am using Tables : VBAK,VBAP,LIKP,LIPS,VBFA tables .
    Here VBFA is a table for Document flow how to link this with report ??
    Please reply.
    Regards ,
    ASHOK
    Moderator message : Not enough re-search before posting, spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Aug 1, 2011 9:58 AM

    VBFA has VBELV and POSNV can be used to map VBAP (sales order item) i.e.
    VBFA-VBELV = VBAP-VBELN AND
    VBFA-POSNV = VBAP-POSNV
    with VBTYP_N = J Values available in VBFA-VBELN and VBFA-POSNN will be LIPS -VBELN and LIPS-POSNR
    VBTYP_N/ VBTYP_V = J stands for delivery and C stands for order
    Nitesh

  • Invoice not displaying in workflow

    Hi Guys,
    I have an issue with a website that I have been left in charge with.
    In the eCommerce area of the site a user will place an order and once it has been paid a workflow email is then sent. This is fine.
    The issue is that the invoice details are not displayed (such as invoice date, number, items purchased) in the cart at all but the "Summary of web form submission" is displayed.
    Has anyone had an issue like this or know any information on how this part of the system works?
    Thanks

    Hi,
    I think it may be because you are using wrong user to check this.
    Try to login into Data manager through Workflow Owner User ID.. it should display All workflow jobs there, even completed ones also. and Status = ALL should work there.
    The workflow owner has special privileges and visibility. The owner of a workflow is the only user who can see in its task queue for every instance of every step that is available to or received by every other user. I think, other users will see tasks only if it is step is available for them or in received status.
    Check and revert with the result.
    Regards,
    Shiv

  • Cheque details for non-invoiced payments

    Hi All,
    My requirement is to list out all the Cheque details for non-invoiced payments.
    Is there any transaction to get the details????
    Is there any standard program which will list all the cheque details for non-invoice payments.
    Thanks in advance,
    Deepak.

    Hi Sridevi,
    Thank you very much for your reply and help.
    Can you suggest me that DB tables regarding the cheque details.
    Right now Iam looking in REGUP, PAYR.
    But these tables will have records which are having Invoice. My requirment is to list out all the Cheque details which are not having the Invoice.
    Thanks once again,
    Deepak.

  • Sales Order no is not displayed in Sales Invoice

    Hi Experts,
                     I  want Sales Order No to be displayed in Sales Invoice of PLD. How could be done? Please guide me.

    Hi Shailesh......
    Please do this...........
    Create a UDF in SO and apply the below FMS in this created UDF.
    Select $[ORDR.U_UDF.0]
    This will copy the SO no. in this UDF and when you copy this SO to Delivery or next document this SO in UDF will also flow in Invoice and from there you an get it into PLD......
    Regards,
    Rahul

  • Error at the time of Display of Excise Invoice.

    Dear All,
    My Excise Invoice got saved with the correct values and also the correct number got generated.However when I am going to the display of excise invoice and input the excise invoice number,given the excise year as 2008 and given the correct series group.The system throws the below error.Both the excise header table as well as the item level table are also getting updated.
    Document not found. Excise posting not done or document is archived.
    Please advice what needs to be done.
    Best Regards
    Atul Keshav

    hi
    here in the excise invoice  number u have to give the excise invoice number preceeded by zeros
    0000000002  if u r excise invoice number is 2 then u have to enter it as
    0000000002
    also the excise year and series group
    regarsd

  • Invoice not displaying assignment Number

    Hi Experts,
    GL account line item display (T.Code FBL3N) for Proforma invoice not displaying assignment Number. in assignment field in production Server, but it is displaying in Quality server, can any one help me about this issue.
    Regards,
    Prakash. P

    Dear,
    Go to the transaction code "FS00" in quality and put the GL account and find the sort key in control data tab, the same sort key you assign in the current client and do one posting to check whether it is getting stamped with assignment.
    In sort key you have to pick the assignment.

  • Check number display in SUS-Invoice

    Hi,
      I am working on MM-SUS scenario with ECC 5.0 and SRM 5.0. I am transferring ECC invoice to SUS to enable vendor to display the invoice. Once payment is made, amount paid and date also can be seen by the vendor by pressing "Check payment status". But is there any way to display check number given in the ECC to flow to SUS?.
    PLease suggest.
    Regards,
    Prasanna

    Hi Iqtidar,
    I don't have a straight forward answer for your query.
    You can think of using Substitution, with an User Exit, that can be used to populate the check number in one of the unused BSEG fields
    But, there is a simple workaround.
    You can create an query (SQ01) with Info set built on PAYR table.
    In the selection screen user
    PAYR-UBHKT ( GL a/c No for our bank a/c / bank sub-a/c)
    along with other selection parameters like
    PAYR-ZBUKR (Paying company code)
    PAYR-HBKID (House Bank)..........
    Let me know if this is helpful.
    Thanks
    Kalyan

  • Text to be displayed in Excise Invoice

    Hi All
    Could anyone please tell me is there any way to display the header data text of billing document in the corresponding excise invoice.
    Thank you
    nimeboy

    Hi Senthil,
    Don't know it will help or not. But if your MIC is qualitative then you can use the long text of catalog code in QS42.
    Please refer below screen,
    Click on the which help to maintain the long text.
    Regards,
    Sandip

  • I want to display cacelled verified invoice list

    I want a transaction, which will display cacelled verified invoice list.

    You can get a list of the cancelled documents through fb03, in the document
    type enter the document type used when cancelling, if you are not sure what the
    document type is just do a look up in the document type field or check in oba7
    plz assign points if helpfull

  • Find the invoices po wise and non po wise

    hi guys i'm working on oracle 10g r2
    my question is
    i have 2 tables
    ap_invoices_all
    ap_invoice_lines_all
    select invoice_id from ap_invoices_all where invoice_num = '1010'output is
    invoice_id
    100now query 2nd table
    select * from ap_invoice_lines_all where invoice_id = 100output is [assum jus 2 or 3 columns]
    invoice_id-----------line_type------------po_header_id
    100---------------------item-----------------400
    100---------------------tax------------------null
    100---------------------tax-------------------nullmy question is i want to check if ap_invoice_lines_all have po_header_id in respect of invoice_id then it will be show in po_invoices categories
    i have make a query like this
    select * from ap_invoices_all i
    where invoice_num = '1010'
    and exists ( select 1 from ap_invoice_lines_all
    where invoice_id = i.invoice_id and po_header_id is null)above query also shows me the records why?? because ap_invoice_lines_all have 3 lines 2 have null in po_header_id columns ..
    my simple question is i want jus checked in ap_invoice_lines_all table if po_header_id is not null in corresponding invoices then it shows me INVOICES PO_WISE otherwise it cant show in
    INVOICES NON-PO-WISE
    my this test case shows in both ways [INVOCIES PO WISE] and [INVOICES NON-PO WISE] . i want dat record shud be show in INVOICES PO WISE only .
    help

    Pl do not post duplicate threads - how to find po_invoices and non-po_invoices
    Srini

  • Invoicing party display made through OMRMB not working

    Dear Experts,
    We have made the field RBKP-LIFNR invoicing party display only through OMRMB, but it is not working when you running MIRO.
    The field is still input only and the invoicing party can be changed at MIRO, what could be reason of not working.
    Client wants that field to be display only in MIRO.
    rgds

    is there any way if I can attach or modify one existing screen variant to standard transaction miro...since I do not want to change the tcode, this I have asked since omrmb is not working so only transaction variant is the way..
    Kindly suggest.
    rgds

  • Invoice Plan Run T.code MRIS : Message getting - No documents selected

    Dear All Experts,
    Very Good Morning !
    I am configuring Invoice Plan for my periodic invoicing requirement, While I am referring this these threads found on our forum SDN.
    1 ) [Invoice Plan|Invoicing plan; - Post
    2 ) [Invoice Plan in SAP|http://wiki.sdn.sap.com/wiki/display/HOME/InvoicingPlanin+SAP] - Wiki
    I am following as per the experts replies mention in it and finally running MRIS for the same, I am getting below message after execution :
    No documents selected
    Message no. M8702
    Diagnosis
    There are no documents that comply with your selection criteria.
    Procedure
    You can enter new selection criteria or exit processing.
    Steps I produce for this scenario :
    For PO :
    1 ) Selected FO in ME21N / Enterted validity period in time frames 01.11.2011 to 30.12.2012 ( DD.MM.YYYY)
    3 ) Created account assignment PO with K, Tax code V0 entered.
    4 ) Item Details - Invoice Tab : Inv. Receipt - TICKED. ERS - TICKED.
    5 ) Item Details - Delivery Tab : Goods Receipt - TICKED GR Non - Valuated - TICKED
    6 ) Item Details - Invoice Tab : Invoice Plan is selected - 10 ( Standard SAP )
    For Vendor Master : XK02
    1 ) GR Based Inv Verification - Not Ticked.
    2 ) AutoEvalGRSetmt. Del - TICKED
    3 ) AutoEvalGRSetmt. Rel - TICKED
    After all this running MRIS I am getting message " No documents selected ".
    Apart all these settings have I missed anything here to configure ?
    Experts guidance / inputs / comments will be very helpful.
    Regards,
    Revati Joshi.

    Dear redriver,
    I tried as you guided, and saved the condition type INS. And run MRIS still no luck.
    I tried with selection & unselecting of Test  Run. It is giving me same result.
    Let me produce the vendor master XK02 details for purchase organization  :
    1 ) GR- Based Inv Verfi. - TICKED.
    2 ) Auto Eval GRsetmt Del - TICKED.
    3 ) Auto Eval GRsetmt Ret - UNTICKED
    In PO :
    Delivery Tab :
    1 ) Goods Receipt  - TICKED.
    2 ) GR Non - Valuated - TICKED
    Invoice Tab :
    1 ) Inv. Receipt - TICKED
    2 ) ERS - TICKED.
    3 ) Tax Code - V0 Assigned.
    4 ) Invoice Plan : Invoice Plan Tpe 10 is selected as a Sample periodic invoice plan.
    Anything else need to check ? Thank you quick replies.
    Regards,
    Revati Jsohi.

  • Query to find all standard invoices applied against pre-payment invoices

    Dear All,
    Please help me with the query which would list all the standard invoices applied against pre-payment invoices.
    Additionally they query show display the pre-payment invoices which are not yet applied.
    Example :
    Rec # Pre-payment inv # Inv-amount Standard Inv No. Amount Applied
    1 P001 100.00 S001 100.00
    2. P002 200.00 NULL NULL
    In the above example in record no. 1 for the pre payment invoice number P001 a standard invoice S001 is applied with same amount of 100.
    In the second record the pre payment invoice P002 is not yet applied and hence standard invoice number and amount applied are NULL.
    I need the output of the query in the above format.
    Please help me in this regard.

    Hi:
                Clearing document (AUGBL) generated against invoice with document type AB will be an option to use for reporting purpose. No matter invoice is partially cleared or fully exhausted system generates a clearing document against it. It stores the payment usage. System should check in BSID table with reference to AUGBL if there is anything left against invoice that is to be paid or if it is fully exhausted it will be present it BSAD along with it payment usage data. I hope this will help you in developing your report.
    Regards

  • Print Excise invoice in Series grp 111 using J1IP for Billing document 1234

    Dear Gurus,
    I have an issue in which I create Sales Document>>Delivery Document and after that if I save my Billing Document a message pops up like:
    Print Excise invoice in Series grp 111 using J1IP for Billing document 12345
    And Excise Invoice gets generated automatically without J1IIN, to which I can view in the display mode in J1IIN.
    I wish to Create Excise Invoice by using T Code: J1IIN not automatically.
    I have checked all the number ranges and search the forum extensively but couldnu2019t found a possible solution.
    Please help me!
    Regards,
    Ashu

    Hi,
    Create Excise Invoice Automatically
    Instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice.
    The system creates the excise invoice in the background.
    Dependencies
    If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups
    SPRO>Logistics General>Tax on Goods Movement>India>Basic Settings-->Maintain Excise Groups.
    Under the Outgoing Excise invoice tab there is a check box (Excise invoice during billing)
    Regards,
    Saju.S

Maybe you are looking for