Dynamic layout elements determination logic for output of Pro-Forma Invoice

This is my requirement below. Please give the suggestion    
Business requires output to be generated in name of the client, with client logo and scenario specific data elements. To do this in Standard SAP will require to define hundreds and hundreds of layouts. By making most of the client/scenario elements on the layout we can greatly reduce the number of required layouts and reduce implementatuion effort and lead-time.
     The goal is to define a generic table that will hold most of the dynamic layout elements for different document types and countries, including logo, sender address etc.
      For this we will create Z-versions of the output types BA00 ( Order Confirmation, ZPRI (Pro-Forma Invoice) and RD00 (ZD00 Invoice).The layout text blocks will be permanently fixed.The print Program user-exit should call the Z-table that holds the dynamic layout elements and retrieve these elements and merge them with the matching layout text block.
Message was edited by: janardhan b

Hi Janardhan,
   Even I have faced the similar situation.but what we have done is instead of calling the dynamic text elements..Why don't we call the text elements based on the required condition ,Then u dont have to maintain all the text elements required in the table.In the table we can only have the doumnent type,client name,logo name and address.
In the print program if u r using script layout then call the required text elements (write_text) based on the client name and document type that is fetched from the Z-table,Otherwise if u r going for smartforms then with in the layout give the condition under the conditions node of the window or the text.

Similar Messages

  • Logic for Output type determination of shipment

    Hi All,
    I have a requirement where in when a shipment is being saved (on create/change) i need to put a logic in an enhancement to identify if a particular set of output types will be generated or not for that shipment.
    Any info on how i can do this? Is there any FM that can fetch that data.
    Thanks.
    Ashiq Ali

    T. Code  VOFM
    Requirements > Output control
    Check routine 605
    Chek this where you can find some logic for Output type detremination of shipment type
    ~P

  • Pro forma invoice from a Delivery Output using "8 - Special Function"

    SAP Gurus
    I am interested to create a proforma invoice for a delivery that is created in the system using VL01N. I am using an option to use the Delivery output to be allow creation  of the pro forma invoice. I created a new output type and assigned 8 - Special function as the medium of the output.
    I managed to find a BAPI that serves this purpose perfectly. Please look at BAPI_BILLINGDOC_CREATEFROMDATA. Enter the following Parameters.
    In table BILLINGDATAIN insert one line with the following data:
    ORDBILLTYP = ZFDP
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    The BAPI when it runs on own, creates the required pro forma invoice. But when it is attached to the output type to be triggered as a special function, does not work. What kind of routine should I enter in the processing routine.
    Program on output screen is ZFDP_BAPI
    Form Routine is ENTRY
    there is a routine maintained inside the program ZFDP_BAPI called "ENTRY"
    Inside the subroutine ENTRY, the BAPI_BILLINGDOC_CREATEFROMDATA is invoked.
    Please advice.
    Thank you.

    Hello
    Thanks for the reply. Earlier when I was using the BAPI BAPI_BILLINGDOC_CREATEFROMDATA, The BAPI used for the output type did not work as it uses u2018Commit Worku2019 statement and it interferes with the u2018commitu2019 of standard program. Due to this reason the transaction dumps every time.
    Are you performing the output with dispatch time '4' ? - the answer is yes, I am.
    Just double -checking with you that if you decide to use Use BAPI BAPI_BILLINGDOC_CREATEMULTIPLE and call it in background task, do you think that the we can get past this issue short dump issue? 
    Thanks

  • Wrong payer value while creating PRO FORMA invoice for multiple delivery

    Hi experts,
    I am trying to create PRO FORMA Invoice for multiple deliveries thru VF01.
    The problem here is the payer value is copied as the value of payer for the first delivery to all invoices. All other fields are picked up properly.
    Please help me to idenify the problem. Also if I create the invoices thru VF04 the invoices the created with correct payer.
    Thanks in advance.

    Hi Ankur,
    Thanx for the input.
    Right now we have customized routine 909 for header level and std. routine 004 for item level.
    Code for routine 909 is
    FORM BEDINGUNG_PRUEFEN_909.
    SY-SUBRC = 0.
    Fakturasperre
    IF LIKP-FAKSK NE SPACE.
    SELECT SINGLE * FROM TVFSP WHERE FAKSP = LIKP-FAKSK
    AND FKART = TVFK-FKART.
    IF SY-SUBRC = 0.
    PERFORM VBFS_HINZUFUEGEN USING '000000' '014' SPACE SPACE SPACE.
    SY-SUBRC = 4.
    EXIT.
    ENDIF.
    SY-SUBRC = 0.
    ENDIF.
    break-point.
    SELECT * FROM VBFA WHERE VBELV = LIKP-VBELN.
    IF VBFA-VBTYP_N = 'U' .
    PERFORM VBFS_HINZUFUEGEN USING '000000' '148' LIKP-VBELN
    SPACE SPACE.
    SY-SUBRC = 4.
    Insert + Unicode/Upgrade Project
    STOP.
    LEAVE SCREEN.
    Insert - Unicode/Upgrade Project
    ENDIF.
    ENDSELECT.
    ENDFORM.
    can u please check n confirm if the wrong value is coming due to this code?
    Thank in advance.

  • Pro forma invoice for particular customer.

    Gurus :
    one of our Customer 389, is asking for a Pro Forma invoice to be created with each on of their orders when they ship. Can this be set up?  and how
    Full points will be given.
    Thank you
    Van bills

    Hi
    Proforma inv can be created with ref to order and del
    F8 is the proforma inv which is created with ref to del in std SAP
    F5 is the proforma inv which is created with referance to order in std SAP
    Proforma inv is a type of billing doc which is used for export transactions which gives info abt billing but it cant be treated as an actual billing doc or even as a duplicate bill
    No billing doc can be created referring Proforma inv
    You can give as many as Proforma inv to a customer because billing status doesnt get updated
    The final actual billing can differ from the details given inProforma inv
    Data from Proforma inv doesnt get transferred to accounting
    Regards
    Raja

  • How to Create a Pro Forma invoice (F5) for selecetd items in the order?

    Hello,
    Is there a way to create a F5 Proforma invoice for an order, but for selected items? e.g if the sales order has 5 line items , is there a way to select the items we want to create the proforma for? or it's always going to create the proforma for all eligible items?
    Thank you so much.
    Irfan

    Dear Satish,
    Thanks for your reply.
    Without getting into config and setting up the invoice split criteria, when creating a proforma is there a way to select the line items from the order and create the pro forma invoice only for those items?
    Thanks.
    Irfan

  • Workflow for Pro forma invoice

    HI Experts ,
    I had a scenario. i.e After creating  the Pro Forma invoice it must go to a concern person and he has to accept or reject that invoice. And once he rejects mail must go to the person who has created the invoice.In case if he accepts the invoice than the user has to create the actual invoice. Now my question is there any standard workflow for this or need to create a new ones.
    If need to create please help me  how to do this .
    Thanks in Advance.
    Phani.

    Hi,
    Is it not possible on basis of percentage but it is possible on basis of quantity
    say you have 10 qty and total amount is 100 (10 for 1unit), now you want partial proforma then
    On VF01 screen click on SELECTION LIST and change qty as 3 and click on copy, now according to qty total amount will be change as 30
    Kapil

  • Pro forma invoice for % of total

    Dear all,
    is it possible to make a pro forma invoice for a part of the total amount (eg 30%)?
    Thanks,
    Herta

    Hi,
    Is it not possible on basis of percentage but it is possible on basis of quantity
    say you have 10 qty and total amount is 100 (10 for 1unit), now you want partial proforma then
    On VF01 screen click on SELECTION LIST and change qty as 3 and click on copy, now according to qty total amount will be change as 30
    Kapil

  • How to change email/fax number retrieval logic for output...

    Hi,
    In my requirement, for sending the output by fax / email, for e.g. take certificate of analysis, the customer master data is checked and the data mentioned there is used to send the output. In addition, in customer master transaction XD01/XD02 I see an additional tab called contact person which has information of each contact person along with their department numbers and fax num and email ids.
    In ADR3 I noticed that these are stored.
    In short
    In XD03,  under address tab a fax num maintained which I do not want to use. Rather,
    Under contact person tab , the entry which has dept number as say A100, the associated fax num is the one to which I want the COA to be sent.
    Where exactly is the code that reads these entries and determines the fax number and email ids to which the output needs to be sent ? May be there I need to change the logic to include a check such that entries that have dept as A100 will be checked and those fax and email ids will be selected and set.
    Or if there is any other way this can be achieved, pl advise.
    thnks

    Senthil,
    The COA trigerring works fine. The delivery for  which PGI will be done and then COA will be sent that has the output configured such that Fax will be sent. In SOST I can see the entry which shows the fax num as say 787878.
    But this was the number found in the ADDRESS tab in XD03 for that ship to partner. I do not want that fax num to be used. I want the fax number that I enter in an additional tab and which is stored in KNVK and ADR3 tables.
    So once SAP determines it has to fax the COA , SAP shoud be reading the ship to pary fax num, right ? Where is that code in standard SAP ? Bcos I need to change the logic to read somwhere else !! Hope you are able to follow me now ?
    thnks

  • Elements 8.0 for Win XP Pro 2002 SP3 Editor always crashes

    I just installed Elements 8.0 on a Win XP Pro SP3 machine with 2.5 GB of RAM and everytime I try to EDIT from the Welcome page or start the Editor from the Edit menu in Organizer I get a dialog box that it "loading the photoshop elements editor workspace...." and it crashes.    The error is the generic MS error dialog that says
    "PhotoshopElementsEditor.exe has encountered a problem and needs to close.   The AppName is PhotoshopElementsEditor.exe AppVer:8.0.0.0 ModName unknown ModVer 0.0.0.0 Ofset 00000004"
    I can use the Organizer fine and have had NO problems there, but when I try to Create or Edit or anything other than the organizer I get this error.   I have been through all the basic troubleshooting of turning off other items in my startup (virus itunes, etc) and no change.   I also updated my Display Driver NVIDIA Quadro FX 500/600 PCI and all with NO luck.
    Any ideas or is there somewhere I can get a live person for support?
    thanks
    Dan

    Turns out it was my Dell AIO Printer Driver.....   I tried removing it after reading a few other post about PSE 8.0 Editor crashing in Windows 7.  There were two other users that were having the same problem and both had the Dell AIO printers.  My problem was with Windows XP Pro SP3 but uninstalling the driver did the trick
    thanks

  • Logic for fetching Quantity Delivered and Invoiced

    I am creating a Sales Order report in which I need to Fetch the delivered Quantity and Invoiced Quantity fields.
    I am currently going to VBFA table and pass SO and line item number and fetch all data. Then I perform addition/ subtraction to remove cancelled quantities.  this is making the logic complicated.
    Is there any standard Function module/ or table or BAPI which can fetch the Delivered and Invoiced quantities directly?
    Regards,
    Onkar Borkar

    Hi Experts,
    There is a  requirement where in it is required to track changes in the field 'Batch' in the deliveries. This change log report should have the option of checking the log for multiple deliveires at a time. It can be similar to the delivery change log report that we have but shoul run for multiple deliveries at a time.
    Please let me know if such a reporet is available in standard SAP or in LIS repporting.
    Thanks/ Regards,
    Onkar

  • Where must I place a dynamic stamp on my mac for Acrobat XI Pro

    I created a PDF with dynamic stamps.  These stamps I normally place in the Stamps folder on my PC but I obtained an iMac and installed Adobe XI Pro on it and cannot locate the folder to install the dynamic stamps.  Can some one please indicate to me where I can find this folder?  I have looked in several locations in the library folder.
    REgards Hoender

    Here: 
    /Users/[USERNAME]/Library/Application\ Support/Adobe/Acrobat/11.0/Stamps

  • Photoshop elements 10 support for fuji x pro 1 raf files

    How do I open fuji raf files from a fuji x pro 1 camera in photoshop elements 10? I have downloaded the camera raw 7.1 plugin update and tried to run it but it tells me it is not appropriate and will not install.

    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applications.html
    Mylenium

  • Dynamic Layouts on Custom Objects

    Is it possible to create Dynamic Layouts on SOD for custom objects?
    Where the Dynamic layouts can be found for custom objects?
    Regards,
    JP

    At this time dynamic layouts are not available for custom objects. Please submit a SR as a enhancement request for this capability.

  • F8 Pro Forma for free goods - value in F8 line item to equal VPRS cost

    Hello,
    I would like to configure the following scenario:
    FD sales order created with KLN item category
      LF delivery created and processed
      F2 billing invoice created (no charge)
      F8 pro forma invoice created (line item value to equal line item cost)
    I have already configured this to work properly for regular sales orders and the values copy from the order as specified in the VTFL copy control settings, but I can't figure out how to get the above situation working.  Any help would be greatly appreciated.
    Thanks,
    Andy

    Check OSS Note 33258 - Processing free-of-charge items is of help to your scenario.
    Regards,

Maybe you are looking for

  • Adobe Bride CC - Absturz bei Ansicht mov-Datei

    Guten Abend, habe folgendes Problem: Beim Ansehen von mov-Dateien stürzt Adobe Bridge CC sofort ab. Woran kann das liegen? Hardware: i7  Grafikkarte 2x GTX 780 jeweils 3 GB, 32 GB Ram, alle Programme auf SSD Samsung SSD 840 EVO 1TB SCSI Disk Device 

  • House of Mirrors

    Occasionally I return to my Mac, which has an open screen sharing connection to another Mac on my network, to find that it's now got an open connection to itself. Very cool effect to see an endless hall of displays within displays. I usually notice t

  • Please Help ...Slide Show reversed itself

    Does anyone have a quick fix? Thanks in advance.

  • VPN Tracker goes nuts getting to server

    There are two servers I need to connect to via VPN using VPN Tracker. One server, great. The other results in either an empty directory with the 'working' icon spinning away, or the computer hanging before that point (requiring power off). What setti

  • Airport Extreme bs not connecting to internet through ethernet network

    I live in a dormitory at a school. I have a network jack in the wall of my apartment that connects me to the rest of the school network and the internet. I have an Apple airport music thing that plugs into the wall socket and delivers wireless networ