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.

Similar Messages

  • 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

  • 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

  • Changing billing document date while creating billing document from vf01

    Hi gurus,
    I have requirement to change billing doc date while creating billing document from VF01.
    here I have to consider goods issue date eq billing date.
    caluculating billing date = Goods Issue + Goods in Transit duration time.
    I have done everu thing but I cant update the caluculated date, iam using the following enhancement
    Enhancement:SDVFX001
    Function Module:EXIT_SAPLV60B_001
    Include:ZXVVFU01 which are part vf01.
    here iam sending the calculated date to VBRK-FKDAT
    move cal_date to vbrk-fkdat.
    need help how to update the calculated date to VBRK-fkdat i.e billing document date
    Regards
    Bhaskar

    Hi
    No! That exit is not good for your issue
    U can use the user-exit USEREXIT_NUMBER_RANGE_INV_DATE  defined in RV60AFZC
    Max

  • Restrict billing document from saving

    Dear Gurus,
    One our clients' demand is that they need to restirct billing docuements from saving if accounting documents cannot be generated. In standard process as you know, if a proper GL account is not assigned, or an inappropriate condition type is given we are able to save a billing document, but with an accounting error. In such case, is there any way to stop this document from being generated if its gonna result in an accounting error?
    Regards
    Sidhu

    Hello Sindhu,
    I doubt whether the functionality you need is available in SAP Standard.
    You will have to apply a User Exit which will check the succesful Account Determination & only then create (save) Invoice.
    Probably the following Ueser Exits will help:
    1. EXIT_SAPLV60B_001
    2. USEREXIT_ACCOUNT_PREP_KOMKCV
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Default value of condition in billing document from sales oeder

    Hi Everyone,
    What setting is required to get default value of condition in billing document from sales oeder
    Because when I am creating the billing document default condition value is not coming from sales order thats why once again I have to maintain the condition valu at the time of billing.
    I am using the same item category for two two order type,But in order type I am getting the default value but in other type I am not getting the default value in billing document
    Regards
    Prabudh

    Hi Prabudh,
    I understand you creat two order with different order type like "OR and "ASOR" for example and kept the item categary same as "TAN" in both and gone for billing say in "F2" and you are facing problem that when you do billing of OR in F2 pricing is picking the MANUAL condition value from order. but the same is not being picked if you process order ASOR in F2.
    for this the problem is with copy control.
    you can go to transaction code VTFA- copy control from order to billing.
    in this you choose your billing type and sales order type by using position.
    then on left side click on ITEM and choose your item category and and then on top chose DETAIL button or you can press CNTRLSHIFTF2 from keyboard.
    a screen will open in that you will find the pricing type. make it as <b>"C"</b>.
    Hope this solves your purpose.
    Award points if satisfied.
    regards/ashu

  • How to get vbrk_vbeln (Billing Document) from VF02 to userexit RV61AFZB

    I am using USEREXIT_PRINT_HEAD to check if a document has been cancel or not.
    But I need to get the Billing Document from transaction VF02 to the userexit.
    How can I get the Billing Document?
    I have tried to use screen field vbrk-vbeln, but it give me Field 'VBRK-VBELN' is unknown.
    Please advice, help needed urgrently. Thanks

    Rupali,
    In USEREXIT_PRINT_HEAD, i'm using both fksto and vbeln from vbrk.
    So I need to get these data inorder to execute my code.
    Below is my code:
    IF fksto EQ 'X'.
            MESSAGE e901(V1) WITH vbeln.
    ENDIF.

Maybe you are looking for

  • Text File Cross Referencing

    Hi, i am fairly new to OO programming. I am having difficulty with creating a cross reference listing of a text file specified on the command line. An example of a program call is java -jar Xref.jar mytext.txt myxref(created file).txt The cross refer

  • Ichat and i message

    i cant see my ichat buddies, i only see imessage buddies please help I use to be able to chat and do video with ichat buddies now i donr see them at all because i have upgraded software to imesage

  • Out of memory when rendering...mystery! urgent help!

    ok, this is mysterious. and stressful, because of course it happens when i have to output this and get on a plane. I created a stereo sequence which is high def, 3840x1080. photo jpeg. it has stills, and embedded hdv sequence content. out of memory e

  • Financial Reporting Studio is not visible in Start Menu in EPM 11.1.2.2

    Hi i have installed EPM 11.1.2.2.0, i tried to login to Financial reporting studio and found that it was not installed. Then i manually installed Financial Reporting studio (V31859-01\FinancialReportingStudio\FinancialReportingStudio.exe). I did not

  • Change IP and Host name of the server

    Hi, Db :11.2.0.3 Os:Aix6 OS team are going change IP address and host name of the server which has ASM and DB. What are the things we need to follow for this? Thanks & Regards, VN