Print preview of billing document from report

Hi,
I have created a ALV report which will be displaying billing document number ( hotspot) and related details. When i click on billing document number field, system should display the print preview of the billing document like how we get print preview using VF03 (VF03 --> Issue Output To ).
Please let me know how to achieve this..
Thanks <removed by moderator>
By,
Suresh
Edited by: Thomas Zloch on Oct 19, 2011 11:26 AM

hi suresh ,
FORM z_user_command USING r_ucomm LIKE sy-ucomm
              rs_selfield TYPE slis_selfield.               "#EC NEEDED
  CHECK r_ucomm = '&IC1'.             "User Double Clicked on Some
  CHECK NOT rs_selfield-value IS INITIAL.
  CASE rs_selfield-fieldname.
    WHEN 'VBELN'.
      READ TABLE gt_final INDEX rs_selfield-tabindex.
      IF sy-subrc EQ 0.
        SET PARAMETER ID 'VF' FIELD gt_final-vbeln.
        CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
      ENDIF.                            " IF SY-SUBRC EQ 0
  ENDCASE.                              " ENDCASE
ENDFORM.                                " FORM Z_USER_COMMAND
regards
ranjan

Similar Messages

  • I had a problem with print preview of billing document.

    HI all,
    I had a problem with print preview of billing document which contains two output types ZR1 ZR2..
    For the footer text of billing document I maintained the font size as 7,5 pts, But when i go for print preview from output type ZR1 the font size of footer text is very small and looks good for output type ZR2.
    If i change the print options-->logical destination of output type ZR1 same as Output type ZR2, the footer text looks good.
    I think there is some issue with logical destination in print options for the output type ZR1, how can i resolve  it.

    hi,
    for both the output types , r u using same sapscript or smartform?
    if yes then, u can control it in output options of smartform and also in sapscript , you can control through if condition.
    and if differect sapscript or smartform then you should not get such problem.
    you can check the sapscript or smartfrom in TNAPR table.

  • Print Preview (SD Billing Document)

    Hello everybody,
    don't know if it is the right category, but here is the quiestion:
    is there any possibility to get the preview of the Billing Document (SD, Transaction VF01) just before the document is saved?
    The functionality IS in the menu (Issue output to: Issue/Screen), but both buttons are disabled.
    Thank you very much in advance
    Andrey

    Hello Andrey,
    Its not possible to get the preview of the Billing Document before saving the document.
    The menu option (Issue output to: Issue/Screen) will be activated in tcode vf02.
    Please let me know ur requirement clearly.
    Regards,
    Satya

  • How to print our several Billing documents in one spool request?

    Hello all,
    I encountered a problem while printing billing document.
    Currently, we only can use VF02 to change billing document's condition type and print out Billing document. It's troublesome and waste a lot of time to change output condition type in each Billing document.
    Is there a function that will list all the billing document, so we can print the selected billing document by pick this billing documents and send to printer.
    If my description is confusing, Please let me know.

    Hi, Iimnava,
    Thanks for ur reply. But there is still some problem about this.
    Let me introduce the special setting for our company's system:
    There are 2 output condition set in SAP.
    1. First one-ZD00, it will process automatically and send to a archive software. but won't print out. all of our billing document are using this output condition.
    2. Second one-ZD01, manual print out. If we need to print out the billing document, we can go to header--output, select this output condition in the dropdown list, then set sent to Local printer. save and quit. the billing document will be printed out.
    I had tried Txn VF31 and SE38.
    1. If use repeat processing method, only pull out the billing documents with ZD01 output.
    2. If use initial processing method, only pull out the billing document with output condition-ZD00 which hasn't been sent to the archive software yet.
    So I still can't reprint the billing document with Output condition-ZD00 which has been already sent to archive software.
    Sorry for the complex situation, but it's very important that we need to reprint these billing document. hope u can help me to solve this problem....

  • Creation of Multiple billing documents from a Single sales order

    Hi Experts,
    How can we create many billing documents from a Single sales order.
    Will it be possible we create a Sales order with bigger quantity and then keep on creating partial billing documents based on the billing quantities and dates.
    Request you all for a solution.
    Thanks
    Montee

    Hi ,
    1. If Qty is one number - based on value of the order - it is possible to create different billing doc.'s based on billing date and value using billing plan , again these are periodic billing or milestone billing
    2. Using Contract process- create material /qty contract- release partial qty  by creating release document and create billing document w.r.t to contract or release document (sales order)
    thanks
    Chidambaram

  • Item split (into 2 lines) in billing document from one delivery (VF01)

    Hi,
    I need to split one item of one delivery into 2 items of billing (via VF01). Example:
    - I have a delivery 80941805 that has only one line with item material XXX and quantity 1000
    - I wish to create a billing document (from the delivery above) with 2 lines with the item XXX. First line with quantity 600, second line with quantity 400 (both the same material XXX). This is necessary due to different taxes in each line, one with taxes, other without taxes (different tax codes).
    It´s possible via some standard function or user-exit ?
    Best regards,
    Leandro Mengue

    Hi,
    ***This is under development !!! Only for tests purposes!!! ***
    Actually I working on a example routine where I split the itens in two lines (each line) with the half of original quantity each one.
    include LV60AB01:
    ENHANCEMENT-POINT XVBUK_XVBUP_XVBFA_AUFBAUEN_01 SPOTS ES_SAPLV60A.
    ENHANCEMENT 281  ZFATURAFIM.
    data: wx_lips like alips occurs 0 with header line.
    append lines of alips to wx_lips.
    loop at wx_lips.
      wx_lips-J_1BCFOP(1) = '7'.
      wx_lips-sortfeld+5(1) = '1'.
      modify wx_lips.
    endloop.
    append lines of wx_lips to alips.
    loop at alips.
      alips-lfimg = alips-lfimg / 2.
      alips-lgmng = alips-lgmng / 2.
      alips-ntgew = alips-ntgew / 2.
      alips-brgew = alips-brgew / 2.
      alips-volum = alips-volum / 2.
      modify alips.
    endloop.
    ENDENHANCEMENT.
    Include LV60AA22: (to be possible process the same line item two times)...
    ENHANCEMENT-POINT FAKTURA_LIEFERBEZOGEN_01 SPOTS ES_SAPLV60A.
    ENHANCEMENT 282  ZFATURAFIM.
       read table xvbup with key vbeln = lips-vbeln
                              posnr = lips-posnr.
       xvbup-fksta = 'A'.
       modify xvbup index sy-tabix.
    ENDENHANCEMENT.
    Contributions and comments will be apreciated !!!
    Best regards,
    Leandro Mengue

  • Cannot create billing document from sales document

    Hi,
    i am trying to create billing document from the created sales document.
    But the billing document is not generated. I was getting  the error - ' Document is blocked from billing'.
    SO, i changed the billing block and left it blank, and when  I tried to create the document again, I got another error " Create billing document" not allowed (uSER STATUS   ST01, Object VB006000071200000).
    Please help me out,

    Dear Priyam,
    Attached are the screen shots, go through them.
    I believe you need to change the status in the Sales order status(Object status).
    click on Object status
    Regards
    Shaik

  • Extract & Store pdf SD billing document from archivelink content Repository

    Hello friends,
    Can some one give me a hint on this :
    I have a requirement to create a program which will extract the pdf SD billing document from archivelink content Repository and will save pdf files on application servers's directory.
    We have business Object, Content Repository ID, Document type know for this.
    thanks
    ashish

    use FM : ARCHIVOBJECT_GET_TABLE to get the content in bin format..
    then use open dataset, transfer dataset, close dataset to store that in OS level.. task done..
    you can even use GUI_DOWNLOAD if you want to download it to presentation server.

  • View CRM billing document from FB03 - Accounting document

    I am working with a client who creates some orders in R3 and now some in CRM.
    The orders are billed in their respective system.
    The CRM billing is then transfered via BDOC's into R3 which create an accounting document.
    However, in the environment tab, there is no original document.
    Does anyone know if you can access via some form of document flow or function module call from R3 to go direct to the CRM billing document?

    Hi Mark
    I noticed that your Forum has now been answered.  Could you please share how you resolved the issue of displaying a CRM billing document from FB03 as an "original document".
    Many thanks,
    Verity
    Edited by: Verity Watts on Aug 3, 2010 9:32 PM

  • Prevent billing document from going to COPA

    Hello,
    I have a requirement to prevent a certain billing document from going to COPA. I created a new pricing condition, assigned an account key and linked this account key to a GL account. This enabled the condition value to be transferred to the GL account. In order to prevent the condition value from going to COPA, I did not assign this condition type to a COPA value field (transaction KE4I).
    However, I notice that the bllling document is going to COPA but no condition values are getting transferred. Is it possible to prevent such billing documents from going to COPA entirely (as they would unecessarily create a profitability segment)?
    P.S: This billing document was created with reference to a delivery of type LO (delivery without order reference) as we do not have the need for a sales order in this scenario.
    Thanks,
    Rugmani

    Hi
    First of all, I would like to ask you why you would not like to take this in COPA. When a revenue value is posted in GL account and you dont take a posting in COPA, it would imbalance your FI and COPA profitability...
    However, if you have rationally analysed your requirement and you would like to do it anyway, then here is the solution
    Use Exit COPA0005 and apply the following code..
    (This code is sample, based on blocking COPA doc where distribution channel = 45 and Ref Org Unit = CRMB).. You need to write your code in a way that it does not stop creating the COPA doc in other cases where it is required....
    Do thorough testing once you have this code..
    *&  Include           ZXKKEU07
    data : wa_ACCIT type ACCIT.
    if I_ERKRS = 'XXXX'. (Your Op Concern Code)
      read table T_ACCIT into wa_accit with key VTWEG = '45' AWORG = 'CRMB'.
      if sy-subrc = 0.
        E_INIT = 'X'.
      endif.
    endif.
    Regards
    Ajay M

  • Can we create multiple billing document from delivery with single line item

    can we create multiple billing document from delivery with single line item

    Hi
    Please check the link
    [can v create multiple billing document from delivery with single line item]
    and as Lakshmi said, check the forum before posting an issue.
    Regards
    AA

  • Can v create multiple billing document from delivery with single line item

    can v create multiple billing document from delivery with single line item

    Dear Sandesh
    Go to VOV7, select your item category.  In this maintain K  for Billing Relevance
    Now go to VF01, give the delivery number and do not press Enter.  Instead click on Selection list on the next screen, select the items you want to bill and click copy and continue if necessary
    thanks
    G. Lakshmipathi

  • Billing document from Delivery without Sales order creation

    Hi,
    I want to know that is it possible to create a billing document from a delivery document but without a sales document?
    If yes what settings can be done in the system to achieve it?

    Hi,
    Yes. It is possible.
    Delivery type LO is delivery without reference.(No preceding document required to create delivery)
    Go to T-code VTFL. Select delivery type  LO as source doc and target doc. would be your billing type. Go to item level.
    Maintain copying requirement - 019.
    Billing quantity- B
    Pricing type -  B
    Pos/Neg quantity - + sign
    thanks,
    Vrajesh

  • Hi , I am not able to create billing document from the delivery document .

    Hi,
    I am facing one problem i am trying to create billing document from delivery document but it is giving error " Payer" and Sold to party not found ".
    in my Delivery Document field partner tab is showing only ship to party it should show payer and sold to party also .
    Although it is maintained in customer AG.
    can any one help in this ????
    thanks !!!!!!!!!!

    Hi Payal,
    1.u check whether u have maintained[entering actual number] payer and bill to party in sales order[ which is copied from customer master].
    2.and check partner determination procedure for delivery document.
    more important is u wouldnot have maintained partner determination procedure for delivery header.[spro->sales and distribution->basic function->partner determination->partner determination for delivery]
    Regards
    Sharad

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

Maybe you are looking for

  • How to display Plant wise Trail Balance

    Dear SAP Experts, Can you let me have the T-code to review Plant wise Trail Balance? Best Regards...

  • Creating Bookmarks

    Hi, I'm looking for some help in automatically creating bookmarks in a pdf file. I know the manual way of going about it, but in case of 200-300 pages it's quite a pain! How would the JavaScript know which title to give to the bookmark? Thanks in adv

  • Naming convention of TCodes in SAP.

    Hi All, Can anybody explain the Naming convention followed by SAP for Tcodes. I am not asking for Customized Tcode conventions but SAP TCodes ... For example : WE30, SE16, BD10.... so What exactly SE* or WE* or BD* means and does it depends on  the f

  • Mac pro 2014 JUDDER

    Hi, I've already bought a new Mac Pro 2014 (6 core, 64 gb Ram, 2 Fire Pro D700, plus 24tb thunderbolt 2 Pegasus 8 bay Raid) as I'm editing a documentary series for the Spanish National Broadcasting Television (TVE). We shoot in 4k with Both Canon C50

  • Time Capsule not backing up after 1.5 years

    Can someone help with this message? I am running time machine to back up my imac and MacBoo Pro also. imac is running snow leopard and macbookpro is running mt lion. "This backup is to large for the backup disk. the backup requires 12.58 GB but only