Printing Problem from VBFA table(Transportation Management)

Hello experts
iam getting a problem in printout from a Z program (Execution) in which some information regarding 'Delivery No.' and 'Invoice No.' is coming.
Can anyone tell me the reason for not getting the printout.
I was not getting the print preview either.
This problem is coming from few days only previously it is running fine.
Regards
Yogesh Sharma

thanks

Similar Messages

  • I NEED FIELDS FROM VBFA TABLE

    HI ALL,
    I NEED FIELDS FROM VBFA TABLE
    THE FIELDS I WANT IS :
    CUSTOMER-ID
    CUSTOMER NAME
    CONTACT NAME
    PROJECTID
    ORDER NO
    SALES MAN ID
    ORDER PROCESS DATE
    INVOICE DATE
    GROSS AMOUNT
    NET AMOUNT POSTAL CODE.
    THANKS & REGARDS,
    R.VINOD.

    Hi Vinod..
    Try this Code. I made all the modifications in your code .. It will solve ur issues..
    REPORT zsdr_omvsa40.
    TYPE-POOLS
    TYPE-POOLS: slis.
    TABLE DECLARATIONS
    TABLES : vbak, vbkd,
    zzvbak,
    kna1, vbrk, vbrp, knvp .
    INTERNALTABLE DECLARATION *
    DATA: BEGIN OF i_vbak OCCURS 0,
    vbelv LIKE vbfa-vbelv, " Sales Order no
    vbeln like vbfa-vbeln, "Invoice No
    erdat LIKE vbak-erdat, " Date on Which Record Was Created
    kunnr LIKE vbak-kunnr,
    ps_psp_pnr LIKE vbak-ps_psp_pnr, " Work Breakdown Structure Element
    END OF i_vbak.
    *DATA : BEGIN OF i_zzvbak OCCURS 0,
    *vbeln LIKE zzvbak-vbeln,
    *zssidc LIKE zzvbak-zssidc, "Salesman ID
    *END OF i_zzvbak.
    DATA : BEGIN OF i_vbrk OCCURS 0,
    vbeln LIKE vbrk-vbeln,
    fkdat LIKE vbrk-fkdat, "Invoice Date
    END OF i_vbrk.
    DATA : BEGIN OF i_kna1 OCCURS 0,
    kunnr LIKE kna1-kunnr , " Customer Number 1
    name1 LIKE kna1-name1, " Customer Name
    pstlz LIKE kna1-pstlz , " Postal Code
    END OF i_kna1.
    DATA : BEGIN OF i_vbrp OCCURS 0,
    vbeln LIKE vbrp-vbeln,
    aubel LIKE vbrp-aubel,
    netwr LIKE vbrp-netwr , " Net Value in Document Currency
    kzwi1 LIKE vbrp-kzwi1, " Subtotal 1 from pricing procedure for condition
    erdat LIKE vbrp-erdat, "Billing document.
    END OF i_vbrp.
    DATA : BEGIN OF i_knvp OCCURS 0,
    parvw LIKE knvp-parvw , " Partner Function
    kunnr LIKE knvp-kunnr ,
    parnr LIKE knvp-parnr , " Number of contact person
    END OF i_knvp .
    DATA : BEGIN OF i_data OCCURS 0,
    erdat LIKE vbak-erdat, " Date on Which Record Was Created
    vbeln LIKE vbak-vbeln, " Sales Order no
    fkdat LIKE vbrk-fkdat, " Invoice date.
    kunnr LIKE kna1-kunnr , " Customer Number
    ps_psp_pnr LIKE vbak-ps_psp_pnr, " Work Breakdown Structure Element
    name1 LIKE kna1-name1, " Customer Name
    netwr LIKE vbrp-netwr , " Net Value in Document Currency
    kzwi1 LIKE vbrp-kzwi1, " Subtotal 1 from pricing procedure for condition
    parvw LIKE knvp-parvw , " Partner Function
    parnr LIKE knvp-parnr , " Number of contact person
    *zssidc LIKE zzvbak-zssidc, "Salesman ID
    pstlz LIKE kna1-pstlz , " Postal Code
    END OF i_data.
    ALV Declaraton
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE slis_layout_alv,
    it_listheader TYPE slis_t_listheader,
    gd_repid LIKE sy-repid.
    Selection - Screen
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS creation FOR vbak-erdat . " Sales Order Date
    SELECT-OPTIONS period FOR vbrk-fkdat . " Invoice Date
    SELECT-OPTIONS order FOR vbak-vbeln . " Sales order no
    SELECT-OPTIONS name FOR kna1-name1 . " Customer Name
    SELECT-OPTIONS contact FOR knvp-parnr . " Contact Name.
    *SELECT-OPTIONS ssid FOR zzvbak-zssidc . " Salesman ID
    SELECT-OPTIONS project FOR vbak-ps_psp_pnr . " Work Breakdown Structure Element
    SELECTION-SCREEN : END OF BLOCK b1.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM build_fieldcatalog.
    PERFORM BUILD_LAYOUT.
    PERFORM top_of_page.
      PERFORM fill_listheader USING it_listheader.
      PERFORM display_alv_report.
    END-OF-SELECTION.
    *TOP-OF-PAGE.
    TOP-OF-PAGE.
    END-OF-PAGE.
    *& Form BUILD_FIELDCATALOG
    text
    FORM build_fieldcatalog.
      fieldcatalog-fieldname = 'KUNNR'.
      fieldcatalog-seltext_m = 'Sold to Party'.
      fieldcatalog-col_pos = 0.
      fieldcatalog-outputlen = 10.
      fieldcatalog-emphasize = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'NAME1'.
      fieldcatalog-seltext_m = 'Hlev Customer'.
      fieldcatalog-col_pos = 1.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'PARNR'.
      fieldcatalog-seltext_m = 'Contact name'.
      fieldcatalog-col_pos = 2.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'PS_PSP_PNR'.
      fieldcatalog-seltext_m = 'Project ID'.
      fieldcatalog-col_pos = 3.
      fieldcatalog-do_sum = 'X'.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'VBELN'.
      fieldcatalog-seltext_m = 'Sales Document Type'.
      fieldcatalog-col_pos = 4.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'ZSSIDC'.
      fieldcatalog-seltext_m = 'SSID'.
      fieldcatalog-col_pos = 5.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'ERDAT'.
      fieldcatalog-seltext_m = 'so date'.
      fieldcatalog-col_pos = 6.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'FKDAT'.
      fieldcatalog-seltext_m = 'inv date'.
      fieldcatalog-col_pos = 7.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'KWZI1'.
      fieldcatalog-seltext_m = 'gross amt'.
      fieldcatalog-col_pos = 8.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'NETWR'.
      fieldcatalog-seltext_m = 'net amt'.
      fieldcatalog-col_pos = 9.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
      fieldcatalog-fieldname = 'PSTLZ'.
      fieldcatalog-seltext_m = 'Postal code'.
      fieldcatalog-col_pos = 10.
      APPEND fieldcatalog TO fieldcatalog.
      CLEAR fieldcatalog.
    ENDFORM. "BUILD_FIELDCATALOG
    *& Form DATA_RETRIEVAL
    text
    FORM data_retrieval.
      SELECT VBFAvbelv VBFAvbeln
             VBAKerdat VBAKkunnr VBAK~ps_psp_pnr
             INTO TABLE i_vbak
      FROM VBFA
      INNER JOIN vbak
      ON VBFAVBELV = VBAKVBELN
      WHERE VBAK~erdat IN creation
      AND VBFA~vbelV IN ORDER
      AND VBAK~ps_psp_pnr IN project
      AND VBFA~VBTYP_N = 'M'  "Subsequent doc is Invoice
      AND VBFA~VBTYP_V = 'C'  "Prec doc is Sales order
      IF NOT i_vbak[] IS INITIAL.
    **Change of ORDER in SELECTS HERE
        SELECT vbeln fkdat FROM vbrk INTO TABLE i_vbrk
        FOR ALL ENTRIES IN i_vbak
        WHERE vbeln = i_vbak-vbeln
        AND fkdat IN period.
        IF NOT i_vbrk[] IS INITIAL.
          SELECT vbeln aubel netwr kzwi1 FROM vbrp INTO TABLE i_vbrp
          FOR ALL ENTRIES IN i_vbrk
          WHERE VBELN = i_vbrk-vbeln.
        endif.
        SELECT kunnr name1  pstlz  FROM kna1 INTO TABLE i_kna1 FOR ALL ENTRIES IN i_vbak
        WHERE kunnr = i_vbak-kunnr
        AND name1 IN name.
    *SELECT vbeln zssidc FROM zzvbak INTO TABLE i_zzvbak FOR ALL ENTRIES IN i_vbak
    *WHERE vbeln = i_vbak-vbeln
    *AND zssidc IN ssid .
    select netwr kzwi1 erdat from vbrp into table i_vbrp for all entries in i_vbak
    where erdat = i_vbak-erdat.
        SELECT kunnr parnr parvw FROM knvp INTO CORRESPONDING FIELDS OF TABLE i_knvp FOR ALL ENTRIES IN i_vbak
        WHERE kunnr = i_vbak-kunnr
        AND parvw = 'AP'
        AND parnr IN contact.
      ENDIF .
      SORT I_VBAK BY VBELN .
      SORT I_VBRK BY VBELN .
      LOOP AT i_vbrp.  "Invoice Item data
        MOVE i_vbrp-netwr TO i_data-netwr .
        MOVE i_vbrp-kzwi1 TO i_data-kzwi1.
        READ table I_VBAK WITH KEY VBELN = I_VBRP-VBELN BINARY SEARCH.  "Sales Order info
        IF SY-SUBRC = 0.
          MOVE I_VBAK-VBELV TO I_DATA-VBELN.   "Sales Order no
          MOVE I_VBAK-erdat TO I_DATA-erdat.   " Date on Which Record Was Created
          MOVE I_VBAK-kunnr TO I_DATA-KUNNR.    "Customer No
          MOVE I_VBAK-ps_psp_pnr TO I_DATA-ps_psp_pnr. " Work Breakdown Structure Element
        endif.
        READ TABLE I_VBRK WITH KEY VBELN = I_VBRP-VBELN BINARY SEARCH.   "Invoice header info
        IF SY-SUBRC = 0.
          MOVE i_vbrk-fkdat TO i_data-fkdat.
        endif.
        READ TABLE I_KNA1 WITH KEY KUNNR = I_VBAK-KUNNR BINARY SEARCH.   "Customer info
        IF SY-SUBRC = 0.
          MOVE i_kna1-kunnr TO i_data-kunnr.
          MOVE i_kna1-name1 TO i_data-name1.
          MOVE i_kna1-pstlz TO i_data-pstlz .
        endif.
        READ TABLE I_KNvp WITH KEY KUNNR = I_VBAK-KUNNR BINARY SEARCH.   "Partner info
        IF SY-SUBRC = 0.
          MOVE i_knvp-parnr TO i_data-parnr.
        endif.
        APPEND i_data.
      ENDLOOP.
    ENDFORM. "DATA_RETRIEVAL
    *& Form DISPLAY_ALV_REPORT
    text
    FORM display_alv_report.
    GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER = ' '
    I_BUFFER_ACTIVE = ' '
      i_callback_program = sy-repid
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
      i_callback_top_of_page = 'TOP_OF_PAGE'
    I_CALLBACK_HTML_TOP_OF_PAGE = ' '
    I_CALLBACK_HTML_END_OF_LIST = ' '
    I_STRUCTURE_NAME =
    I_BACKGROUND_ID = ' '
    I_GRID_TITLE =
    I_GRID_SETTINGS =
    IS_LAYOUT =
      it_fieldcat = fieldcatalog[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    IS_PRINT =
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    I_HTML_HEIGHT_TOP = 0
    I_HTML_HEIGHT_END = 0
    IT_ALV_GRAPHICS =
    IT_HYPERLINK =
    IT_ADD_FIELDCAT =
    IT_EXCEPT_QINFO =
    IR_SALV_FULLSCREEN_ADAPTER =
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
      TABLES
      t_outtab = i_data.
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2 .
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    ENDFORM. "DISPLAY_ALV_REPORT
    FORM FOR FILLING LISTHEADER *
    FORM fill_listheader USING it_listheader TYPE slis_t_listheader.
      DATA : wa_listheader TYPE slis_listheader.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Noel Gifts International Limited '.
      APPEND wa_listheader TO it_listheader.
      wa_listheader-typ = 'S'.
      wa_listheader-info = 'CUSTOMER CREDIT EXCEPTION REPORT' .
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
    ENDFORM. "fill_listheader
    *& Form top_of_page
    text
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_listheader.
    ENDFORM. "top_of_page
    REWARD IF HELPFUL.

  • Read data from VBFA table

    hi gurus;
         I want to read data from VBFA table nd pass its VBELV to VBAK table to get VBAK values, Iam using FM SD_DOCUMENT_FLOW_GET ND RV_ORDER_FLOW_INFORMATION, BUT i am not getting desire result. WHEN iam using FM SD_DOCUMENT_FLOW_GET, it will give result only for last row of data, its not considering body part, so tell me how to used this FM properly.
    data: l_docflow type tdt_docflow.
    data lw_docflow type tds_docflow OCCURS 1 WITH HEADER LINE .
    SELECT VBELN KNUMV BUKRS KUNRG REGIO NETWR FKSTO FKDAT FKART  INTO CORRESPONDING FIELDS OF TABLE T_VBRK
          FROM VBRK WHERE BUKRS IN P_BUKRS AND FKDAT IN P_FKDAT AND VKORG IN P_VKORG AND REGIO = '07'
        ORDER BY VBELN KNUMV.
      SORT T_VBRK BY vbeln.
      LOOP AT T_VBRK.
        IF  T_VBRK-FKART = 'F2' OR T_VBRK-FKART = 'YF2' OR T_VBRK-FKART = 'ZF2' OR
            T_VBRK-FKART = 'ZG2' OR T_VBRK-FKART = 'ZL2' OR T_VBRK-FKART = 'YG2' OR T_VBRK-FKART = 'YL2' .
          IF T_VBRK-FKSTO IS INITIAL.
        CALL FUNCTION 'SD_DOCUMENT_FLOW_GET'
      EXPORTING
        IV_DOCNUM              = T_VBRK-vbelN
      IV_ITEMNUM             =
      IV_ALL_ITEMS           =
      IV_SELF_IF_EMPTY       = ' '
    IMPORTING
       ET_DOCFLOW             = l_docflow
    LOOP AT l_docflow INTO lw_docflow   .
      IF  lw_docflow-vbtyp_V = 'C' OR lw_docflow-vbtyp_V = 'K' OR lw_docflow-vbtyp_V = 'L' OR lw_docflow-vbtyp_V = 'E'.
    T_VBFA-vbelv = lW_docflow-vbelv.
    T_VBFA-VBELN = lW_docflow-VBELN.
    T_VBFA-vbtyp_V = lW_docflow-vbtyp_V.
    APPEND t_vbfa.
    endif.
    endloop.
    ENDIF.
    endloop.
    loop at t_vbfa.
      if t_vbfa-vbtyp_V = 'C' OR t_vbfa-vbtyp_V = 'K' OR t_vbfa-vbtyp_V = 'L' OR t_vbfa-vbtyp_V = 'E' .
    SELECT VBELN BSTNK BSTDK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE T_VBAK FOR ALL ENTRIES IN T_VBFA
              WHERE VBELN = T_VBFA-VBELV .
    endif.
      ENDLOOP.

    Hello
    Use the below function module
    RV_ORDER_FLOW_INFORMATION pass the type as C and pass the number.You will get all the flow.
    SELECT VBELN KNUMV BUKRS KUNRG REGIO NETWR FKSTO FKDAT FKART  INTO CORRESPONDING FIELDS OF TABLE T_VBRK  FROM VBRK WHERE BUKRS IN P_BUKRS AND FKDAT IN P_FKDAT AND VKORG IN P_VKORG AND REGIO = '07'
        ORDER BY VBELN KNUMV.
    SORT T_VBRK BY vbeln.
      LOOP AT T_VBRK.
        IF  T_VBRK-FKART = 'F2' OR T_VBRK-FKART = 'YF2' OR T_VBRK-FKART = 'ZF2' OR
            T_VBRK-FKART = 'ZG2' OR T_VBRK-FKART = 'ZL2' OR T_VBRK-FKART = 'YG2' OR T_VBRK-FKART = 'YL2' .
          IF T_VBRK-FKSTO IS INITIAL.
    i_vbco6-vbeln = t_vbrk-vbeln.
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
      EXPORTING
      AUFBEREITUNG        = '2'
      BELEGTYP            = ' '
        COMWA               = i_vbco6
      NACHFOLGER          = 'X'
      N_STUFEN            = '50'
      VORGAENGER          = 'X'
      V_STUFEN            = '50'
    IMPORTING
      BELEGTYP_BACK       =
      TABLES
        VBFA_TAB            = t_vbfa
    EXCEPTIONS
       NO_VBFA             = 1
       NO_VBUK_FOUND       = 2
       OTHERS              = 3
    endif.
    ENDIF.
    endloop.
    loop at t_vbfa.
      if t_vbfa-vbtyp_V = 'C' OR t_vbfa-vbtyp_V = 'K' OR t_vbfa-vbtyp_V = 'L' OR t_vbfa-vbtyp_V = 'E' .
    *clear t_vbfa.
    SELECT VBELN BSTNK BSTDK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE T_VBAK FOR ALL ENTRIES IN T_VBFA WHERE VBELN = T_VBFA-VBELV .
    endif.
      ENDLOOP.
    In case of any more help is required do let me know
    Regards,
    Nabheet Madan

  • Odd Printing Problem from BO 6.5.1

    Hi, I have been asked to support BO 6.5.1 users and some of them create .pdf files which don't print correctly. The heading boxes, table structures and formatting are retained but the text is replaced with random characters. The docs look fine on screen, it is only when they are printed out that the problem occurs. I am sure I have ruled out printing problems, email problems and Adobe 8.0 problems, particularly because this is only happening with pdf's from BO sent to any printer and so I feel it must be a fault with BO. Has anyone seen this before? Grateful for any advice

    Hi Greyhat,
    as you refer to the legacy technology VB6 I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
    This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Home network printing problem from Windows 8

    I have 3 PCs on my home network:
    1.    Windows XP desktop (Pro SP3) with HP 6500 E709a USB printer.
    2.    Windows 7 desktop (Ultimate SP1 64 bit) with HP 1018 USB printer.
    3.    Windows 8 (64 bit) laptop.
    Both printers are NOT Ethernet printers.
    All computers can see each other and share folders on the home network.
    Computers 1 & 2 can freely print on their own printers, as well as on each other's printer.
    The problem is with computer 3 (Win8): it can see both printers, but can't print on either (in fact, I can print a test page on the HP 1018 printer from the printer driver on the Win8 machine, but I can't print anything from any application). 
    I tried to install HP 6500 driver on the Win8 machine, I turned on Network Discovery in the Advanced Sharing Settings on it, but it still doesn't work.
    Any help would be appreciated.

    Is there any "general puprpose" driver for HP 6500 E709a, something to replace the WIN8 driver that fails?

  • Printing problems from iPhoto 6

    For some odd reason I just can not print anything from iPhoto 6, it goes through the processes of printing, then brings up the Printer utility as if it's ABOUT to print, but then it fails and the Printer utility simply goes to "Jobs Stopped" without any further details as to WHY it stopped.
    I can however print from all other apps, and even saving image to PDF, then print the PDF from Preview works...
    What's going on?
    Dual 533 Mhz G4 Tower and Epson Stylus Photo RX620 with latest version of OSX, iLife '06, and Printer Drivers.

    Hello--did you ever solve this problem? I am encountering it myself and have not figured out how to solve it. Would appreciate any help.
    thanks
    For some odd reason I just can not print anything
    from iPhoto 6, it goes through the processes of
    printing, then brings up the Printer utility as if
    it's ABOUT to print, but then it fails and the
    Printer utility simply goes to "Jobs Stopped" without
    any further details as to WHY it stopped.
    I can however print from all other apps, and even
    saving image to PDF, then print the PDF from Preview
    works...
    What's going on?
    Dual 533 Mhz G4 Tower and Epson Stylus Photo RX620
    with latest version of OSX, iLife '06, and Printer
    Drivers.
    iMac G4 800 mhz   Mac OS X (10.3.9)  

  • Get sales documetn of the invoice from VBFA table

    In my user exit, i use to get the sales document from the table.

    Hi Kranthi Kumar ,
    If u want to know the sales document no of a invoice document from VBFA.
    u have a fields VBELV (Preceding sales and distribution document) for this document if you want to know whether it is a
    invoice or delivery or etc you can know using the field VBTYP_V (Document category of preceding SD document).
    Similarly,
    u have a fields VBELN (Subsequent sales and distribution document) for this document if you want to know whether it is a
    invoice or delivery or etc you can know using the field VBTYP_N (Subsequent category of preceding SD document).
    for ex if vbeln is a invoice docu then preceding document(VBELV) is a delivery.
    check again the VBELV docu no in VBELN field
    which is a delivery
    check the preceeding docu for that delivery docu in VBELV which obviously would be a sales order.
    *Else if you want to know directly the corresponding sales document go to VF02  enter that particular invoice number and then go to the document flow.(F5).
    Hope its useful.
    Revert back to me for any other queries on the same.
    Reward points if useful.
    Thanks ,
    Surya Pydikondala.

  • Printing Problem from ALV

    Hi,
    When I run my report, its perfectly working fine with all the data, subtotals, grand totals etc.
    But when I print the ALV by clicking the PRINT Button on the Standard tool bar, My first subtotals are printing correctly. From second, its printing ZEROES and my grand totals are printing double the number as I see on the output.
    This is strange and am not able to understand why I get those errors.
    ANy pointers please.
    Thanks,
    Kiran
    Edited by: kiran dasari on Sep 9, 2009 1:04 AM

    Hi Roger,
    I am using Function Module "REUSE_ALV_HIERSEQ_LIST_DISPLAY"
    I am displaying a hierarchical ALV with subtotals, page-breaks & grand totals.
    The strange thing is  that my  first SUBtotal gets printed properly. Its the problem from the second subtotal onwards.
    Finally, the grand totals also a problem(Doubling when i print first time and triplling,if  i print 2nd time ...and so on...)
    ANy  more clues please.
    Thanks,
    Kiran D

  • Wireless printing problem from OS X 10.2.8 and Win XP

    I have three machines I want to be able to print wirelessly through my airport express. Currently, only one of them will print wirelessly - which is lousy, help.
    Machine #1 is running Windows XP. It connects to the internet through the airport express just fine, no problem there. The problem is connecting to the printer. Machine #1 will print just fine when I connect the USB directly to the computer, but wirelessly I can't figure out how to hook it up properly through the airport express to the printer. The part I keep getting hung up on is that the airport express manual says to add another printer put in 10.0.1.1 for the IP address, but when I do so, the machine says that that address is already taken and it beeps at me real loud and gives me an error message - end of story. I suspect I need another IP address, but I can't figure out where to find it. Help.
    Machine #2 is my old ibook G3, which is running Mac OS X 10.2.8. The airport express should be able to make it so I can print wirelessly from machine #2, but this one is not working out either. Machine #2 connects to the internet just fine, and when I connect the printer manually to machine #2 it prints just fine. When I try to print wirelessly, through the airport express, it starts out ust fine, the printer begins to print, then all of a sudden, as if for no reason, it "stops the job". I "start the job" back up through the print center, and then it "stops the job" again. we play this game a bit, but I never get farther than printing the first few lines of my print job. It never really makes any progress, it just pretends like ti might if it felt like it. In this case, I've been looking online for some software patch that would fix this problem - looked on the apple site and on the epson site, and haven't made any progressfor many hours. Help!
    Machine #3 has no problems. It surfs the internet, plays music on my stereo and prints wirelessly without any trouble at all. It is my new ibook G4 running OS X 10.4. Is it possible to get machine #1 and machine #2 able to print wirelessly just like machine #3? (i'd like all three machines to be able to stream music to my stereo too, but I don't want to push my luck. I'll be ecstatic if I can get these other two machines to print wirelessly. I'm so tired of having to pull that printer cable out from under the couch everytime I need to print something.)
    Thanks to anyone who can help. Hey, thanks for just reading this.

    thank you for your response!
    I am about to look into the efelix site for the PC, thank you. i'm excited.
    for the mac, me thinks that i am out of luck with updating the driver. on the epson site the most recent drivers for my printer (epson sytlus photo 820) are for OS X 10.1.3 - 10.2.6, and I am running OS X 10.2.8.
    Hmmmm, I downloaded the driver anyway, and it gives me an APPLICATION LAUNCH FAILURE because of a "shared library error" when I try to launch the new drivers. The other thing on the site is a PIM II Plug In - which doesn't look like a driver to me.
    a link to the lack of drivers for my poor mac...
    http://www.epson.com/cgi-bin/Store/support/supDetail.jsp?BV_UseBVCookie=yes&oid= 14409&prodoid=22966687&infoType=Downloads&platform=Macintosh

  • Extraction from VBFA table

    Hi All,
    How can I create extractor on the VBFA table supporting delta mode?
    Thanks in advance
    Regards

    To make data source which support just go in RSO2.
    Using Table you can make the data source now for on which filed you like to take Delta that you have to maintained in Tab Generic Delta in this select for ex AEDAT.
    and then after save both.
    But i suggest please make a view on this table and then after make the data source. It will be helpful in future.

  • Printing Problems from iMac G4 to HP Photosmart 7760-photos heavy on pink!

    Hello,
    We have an iMac G4 Flat Panel using OS 10.3.9 and are connected to the HP Photosmart 7760 Printer. The printer is printing heavy on the pink side photographs.
    When we print directly from our camera card, the printer prints fine. True colors. When we print using any software application, (ie Photoshop, iPhoto) the printer prints extremely heavy on the pink side. We have installed new cartridges, have cleaned and calibrated the printer, have unplugged and restarted the printer and still to no avail we have pink tinted photographs.
    Could someone help please?
    Thank You!
    iMac G4 Flat Panel   Mac OS X (10.3.9)  

    It seemed to be nothing involving my printer, a recalibration of the computer display did the trick.

  • Color shift printing problem from LR solved!!

    Check this discussion for workaround to the color shift printing problem in LR. It's for the 3800, but I assume it also applies to other Epson printers, and quite possibly to other printer vendors.
    http://www.adobeforums.com/webx/.3c05f2c5/6

    Yes it applies to Canon as well.

  • Printing problem from home to office

    I have an HP1606dn laser printer which works fine when I am in the school building.  However, all of a sudden, if I try to print wirelessly from home (which I have been doing for 2 years), I get the message that the printer is offline and I cannot print.  Apparently, the printer is not turning on automatically if I am using a VPN.  Any suggestions?
    Thanks a million!!!
    Mary Jane

    Are you using Windows or AppleTalk printing to connect to the 2003 server?
    Have you tried deleting the printer from the server and re-installing it? Tried re-installing the driver and PPD for the Phaser? Also, have you tried deleting the printer from the Macs and reconnecting?
    Do your server's Event Logs show anything?
    bill
    1 GHz Powerbook G4   Mac OS X (10.4.3)  

  • Download problem from 'Z' table

    Hi
    I am facing very strange problem ,
    I have created a 'Z' table and now it has 2800 records but when i download from data base it only get the 1627 records
    What might me the problem ???
    Technical Settings  :
    Data class         APPL0   Master data, transparent tables
    Size category      3       Data records expected: 7.700 to 31.000
    then i tried other standard table to download from data base save as local file....which contains 5000 records so it get all the 5000 records
    so in thisw case wat can be done ?
    pls help me on this
    regards
    rajan

    DATA : IT_TAB TYPE STANDARD TABLE OF ZMM_OPENSEZ.
      SELECT * FROM ZMM_OPENSEZ INTO TABLE IT_TAB .
      DATA: LOC_FILENAME TYPE STRING.
      LOC_FILENAME = P_FILE.
    *  CONCATENATE P_FILE '.XLS' INTO LOC_FILENAME.
      CLEAR IT_FIELDNAMES.
      REFRESH IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Client'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Start Date of Period'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Last Date of Period'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Plant'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Project Definition'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Material Number'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Valuation Type'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Valution Type Description'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'SerialNo'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'ITEM GROUP LONG TEXT'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'ANNEXURE NO'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'POST1'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Number of Material Document'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Posting Date in the Document'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Movement Type (Inventory Management)'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Material Description (Short Text)'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Account Number of Vendor or Creditor'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'NAME'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Unit of Entry'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Purchasing Document Number'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Unit Rate'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Opening Proj Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Opening Proj Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Opening CS01 Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Opening CS01 Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'RECEIPT QTY'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'RECEIPT AMT'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'ISSUE QTY'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'ISSUE AMT'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'TRANSFER QTY'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'TRANSFER AMT'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Consumed Return Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Consumed Return Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Contractor Return Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Contractor Return Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'CS01 Consump. Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'CS01 Consump. Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'CS01 Consump.  Ret Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'CS01 Consump. Ret Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Work in Progress Qty'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Work in Progress Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Closing Stock with APL'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Total Closing Stock'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Total Closing Stock Amt'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'FINALUPDATE'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Modified By'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      IT_FIELDNAMES-STRING = 'Modified on'.
      APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
      FILE_NAME = P_FILE.
      CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
    *     BIN_FILESIZE                    =
           FILENAME                       = FILE_NAME
           FILETYPE                       = 'ASC'
    *     APPEND                          = ' '
         WRITE_FIELD_SEPARATOR            = 'X'
    *     HEADER                          = '00'
    *     TRUNC_TRAILING_BLANKS           = ' '
    *     WRITE_LF                        = 'X'
    *     COL_SELECT                      = ' '
    *     COL_SELECT_MASK                 = ' '
    *     DAT_MODE                         = 'X'
    *     CONFIRM_OVERWRITE               = ' '
    *     NO_AUTH_CHECK                   = ' '
    *     CODEPAGE                        = ' '
    *     IGNORE_CERR                     = ABAP_TRUE
    *     REPLACEMENT                     = '#'
    *     WRITE_BOM                       = ' '
    *     TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *     WK1_N_FORMAT                    = ' '
    *     WK1_N_SIZE                      = ' '
    *     WK1_T_FORMAT                    = ' '
    *     WK1_T_SIZE                      = ' '
    *     WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *     SHOW_TRANSFER_STATUS            = ABAP_TRUE
    *   IMPORTING
    *     FILELENGTH                      =
         TABLES
           DATA_TAB                        = IT_TAB
           FIELDNAMES                      = IT_FIELDNAMES
    *   EXCEPTIONS
    *     FILE_WRITE_ERROR                = 1
    *     NO_BATCH                        = 2
    *     GUI_REFUSE_FILETRANSFER         = 3
    *     INVALID_TYPE                    = 4
    *     NO_AUTHORITY                    = 5
    *     UNKNOWN_ERROR                   = 6
    *     HEADER_NOT_ALLOWED              = 7
    *     SEPARATOR_NOT_ALLOWED           = 8
    *     FILESIZE_NOT_ALLOWED            = 9
    *     HEADER_TOO_LONG                 = 10
    *     DP_ERROR_CREATE                 = 11
    *     DP_ERROR_SEND                   = 12
    *     DP_ERROR_WRITE                  = 13
    *     UNKNOWN_DP_ERROR                = 14
    *     ACCESS_DENIED                   = 15
    *     DP_OUT_OF_MEMORY                = 16
    *     DISK_FULL                       = 17
    *     DP_TIMEOUT                      = 18
    *     FILE_NOT_FOUND                  = 19
    *     DATAPROVIDER_EXCEPTION          = 20
    *     CONTROL_FLUSH_ERROR             = 21
    *     OTHERS                          = 22
      IF SY-SUBRC = 0.
        MESSAGE S229(ZMM).
      ELSE.
        MESSAGE S230(ZMM).
      ENDIF.
    it_tab contains 2800 records ..
    Regards

  • Printing problems from lightroom

    Since installing lightroom on my macbookpro which I use with a calibrated 23" apple cinema monitor I am unable to print successfully to my canon Ip8500 printer. The issue is that I get a much darker and dramatically warmer print than what I get onscreen. i am wondering if anyone else suffers the same problem and whether any solutions exist. If I preview before printing the onscreen preview is noticeably different to the actual file in Lightroom. i have tried letting lightroom manage colour through selecting the paper profile to no avail too.
    Marc

    >Not knowing what the "right" brightness should be - I printed out the sample picture supplied with the Spyder 2 pro and then compared it to the onscreen picture in daylight balanced light. I then adjusted the monitor brightness and calibrated several times before finally settling on a picture that was as close as I am likely to get to printout.
    Marc,
    Glad to hear that solved your problem. Care to tell us what specific luminance level (cd/m2) you finally settled on? It might help guide others; and of course keeping a record of that "special" value is useful (necessary?) whenever the need arises to "recalibrate" your monitor. I'm particularly curious to know if you needed to be at 100 cd/m2 or less, as I expected.
    As to the method you used--I'm not sure from what you described that it's the approach I would recommend. I think the best procedure is (a) changing (lowering) the brightness followed by (b) editing a test image so that it looks "right" to you (i.e., on your "new" screen)--in other words it should have required some brightness boost to look like how you desire a print to appear. Then (c) you must print (or re-print) that image and compare that print--using a standard intensity/quality light source-- to what you are seeing on the monitor. If this new print still seems too dark, then further reduce monitor luminance (brightness) and re-edit the on-screen image to once again look correct; then re-print and compare print to monitor. In other words, the correct (IMHO) approach requires monitor brightness adjustment followed by re-editing followed by re-printing. If you skip the re-editing step (did you?) then you may simply have forced your monitor image to appear as as (excessively) dark as the "old" print you used for comparison. While this might seem to be equivalent to the process I recommend, I suspect it will lead to inconsistent results in the long run.
    Phil

Maybe you are looking for