Add logo in standard invoice

hello,
in MM v already make the transaction and prepaid the purchase order ok, in that purchase order, v have to put the logo and address, please explain me how to add the logo and address in the standard purchase order, please explain me in step by step.
bye thanks
suja

Hi,
Try this:
Dim RetCode As Integer
Dim OInvoice As SAPbobsCOM.Documents
Dim TPrice As Double = 0
OInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
With OInvoice
  .Series = My.Settings.Series
  .CardCode = txtcustcode.Text
  .DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
  .DiscountPercent = CType(txtper.Text, Double)
  .UserFields.Fields.Item("U_Mode").Value = "CA"
  With .Lines
  For Each row As DataGridViewRow In dgvitem.Rows
  .ItemCode = row.Cells("PartNo").Value
  .Quantity = CType(row.Cells("Quantity").Value, Double)
  .Price = CType(row.Cells("Price").Value, Double)
  .WarehouseCode = My.Settings.MWhscode
  .Add()
  Next
  End With
  RetCode = .Add()
  If RetCode <> 0 Then
  MsgBox(oCompany.GetLastErrorDescription)
  Return Nothing
  Else
  Return oCompany.GetNewObjectKey()
  End If
End With
Regards,
Csaba

Similar Messages

  • Add Logo in HR Forms for payslip

    Hi Experts,
    I need to inculde logo in HR froms, my consultant suggested that copy the satandart HR form and create a Z-form.
    i dont have that much idea on HR Forms, is it possible to include the logo in HR Forms?
    Based upon the input given by the user the logo should change dynamically.
    Client has many companies, but they are having common payroll so when they are running the payslip based upon the company the logo should print.
    could any one please suggest  how to so this?
    With Regards,
    Thanesh

    Hi Thanesh,
    There are two possibilities either create a 'Z' one or go through standard one. I prefer you to try the standard one.
    Have a look on this link.
    [Add logo in PE51;
    Hope this will solve your problem.
    Regards,
    Gaurav

  • Print /add logo in reports 10g which is running in linux

    hi
    i want to print /add logo in reports 10g which is running in linux environment and want to change logo programmatically.
    how can i achieve this
    reports version is Report Builder 10.1.2.0.2

    Hi Thanesh,
    There are two possibilities either create a 'Z' one or go through standard one. I prefer you to try the standard one.
    Have a look on this link.
    [Add logo in PE51;
    Hope this will solve your problem.
    Regards,
    Gaurav

  • Customise Sap Report -- Add logo and change report layout

    Hi All,
    I have a requirement to amend sap standard report to add logo and change layout, could some one pls point me to teh right direction. Should we .1 Create a new smartfrom if yes -- how to to create smartfroms
    2. Should we create new Zreport...3. Is Adobe Interactive forms any good---- cld you please share the steps to create Adobe Ine Form 4. is sap script any good way in my situation
    Thanks
    Smith

    Changes to SAP Standard are always a bit tricky, specially if we are talking about legal reports. If the standard report uses smartform, you can change the standard form without needing a SSCR key, so no need to create a Z report or smartform even, but like every change on SAP Standard, if further changes are made by SAP through Support packages you will always have to replicate them yourself everytime this happens. I would suggest creating a new Z report by copy of standard and new Z smartform, that way you can always recurr to the standard and see what was changed and then replicate them in you Z reports.
    To create smartform, go to TCode smarforms and you can create one by copy of an existing smartform.
    Adobe Interactive forms is more complex then smartforms and unless the standard uses a print form, i would not suggest you creating one as it will envolve a bit more knowledge.

  • Changing company's logo in sales invoice

    Hi all,
    I was wondering about how to change logo for sales invoices. Can you guys please give me the detailed procedure.
    Best Regards,
    Raju

    Try this.
    Procedure for changing the logon screen
    Create a gif file.
    Execute transaction SMW0.
    Select Binary data for WebRFC applications and click the find button.
    On the next screen enter development class SWF and click the execute
    button.
    Go to Settings (r) Maintain MIME types.
    Click New
    Mime Type = image/gif, Name extension =*.gif
    Click save, back, then new again
    Mime Type = image/jpeg, Name extension =*.jpeg
    Click save, back, back
    Click the create button.
    Enter the object name and description, T01_CUSTOM_LOGON_IMAGE , and
    click the import button.
    Select the image file you edited and saved in step 29 above and click
    Transfer.
    Confirm the pop-up about having to use an SAP development class.
    In the next screen enter development class SWF. This is the same
    development class as the SAP standard image stored in the RIPPLE object.
    Click the save button and confirm the warning about the original system
    being set to SAP.
    Then create a transport
    Execute transaction SM30.
    Enter SSM_CUST as the table/view and click Maintain., click OK
    Create a new entry named START_IMAGE. Enter the name of the object
    holding the image created earlier., click save, ok, ok, back
    Change Hide_Start_image to No, click save
    Click new session and you should see new imag
    Suresh

  • Can we add logo to BEx query ???

    Hi All,
    I would like to know can we add logo to Bex query. I know that we can add to Bex workbook.
    Thanks

    Is this for BEx Analyzer or BEx Web Analyzer?
    For BEx Web Analyzer, you can take the standard template 0ANALYSIS_PATTERN, save it as a custom template and customize it to include a corporate logo. See the following for a How To... on this:
    [How to Enhance SAP BEx Web Analyzer (0ANALYSIS_PATTERN)|http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3414900)ID0574286750DB11281326545475972586End?rid=/library/uuid/200d6cb6-080e-2b10-84a5-b96723ad8f18&overridelayout=true]

  • 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

  • Excise Invoice being created before standard Invoice is created

    Hi
    I create a sales order. With reference to the sales order I create a delivery.
    With reference to the delivery, in VF02, if I try to create an Invoice, I get the following message - Excise Invoice created for the Invoice 597500041.
    I need the standard invoice to be created first and using the Tcode Ji11n I should create the Excise Invoice.
    But instead I get the above message.
    What settings should I check and correct.

    Dear Vaideeson Marap...      
    As per my understanding of your question
    If excise invoice is being created automatically the movement you create the commercial invoice in (vf01) ,you need to remove the check box in "excise invoice during billing " respective excise group.
    Please check and revert
    Thanks&Regards
    Raghu.k

  • Add Discount % In AR Invoice

    How can i add Discount% in AR Invoice Document.I had set the discount % in Document. But after Adding The discounted amount not correctly updated in The Invoice.How can i set.My code as follows.
    Dim RetCode As Integer
    Dim OInvoice As SAPbobsCOM.Documents
    Dim TPrice As Double = 0
    Dim Disc As Double
    OInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
    For Each row As DataGridViewRow In dgvitem.Rows
    TPrice = TPrice + ((CType(row.Cells("Price").Value, Double) * CType(row.Cells("Quantity").Value, Double)))
    Next
    Disc = (TPrice * CType(txtper.Text, Double) / 100)
    With OInvoice
    .Series = My.Settings.Series
    .CardCode = txtcustcode.Text
    .DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
    .DiscountPercent = CType(txtper.Text, Double)
    .UserFields.Fields.Item("U_Mode").Value = "CA"
    With .Lines
    For Each row As DataGridViewRow In dgvitem.Rows
    .ItemCode = row.Cells("PartNo").Value
    .Quantity = CType(row.Cells("Quantity").Value, Double)
    .WarehouseCode = My.Settings.MWhscode
    .Add()
    Next
    End With
    .DocTotal = TPrice - Disc
    RetCode = .Add()
    If RetCode <> 0 Then
    MsgBox(oCompany.GetLastErrorDescription)
    Return Nothing
    Else
    Return oCompany.GetNewObjectKey()
    End If
    End With
    How can fix the error, Please help

    Hi,
    Try this:
    Dim RetCode As Integer
    Dim OInvoice As SAPbobsCOM.Documents
    Dim TPrice As Double = 0
    OInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
    With OInvoice
      .Series = My.Settings.Series
      .CardCode = txtcustcode.Text
      .DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
      .DiscountPercent = CType(txtper.Text, Double)
      .UserFields.Fields.Item("U_Mode").Value = "CA"
      With .Lines
      For Each row As DataGridViewRow In dgvitem.Rows
      .ItemCode = row.Cells("PartNo").Value
      .Quantity = CType(row.Cells("Quantity").Value, Double)
      .Price = CType(row.Cells("Price").Value, Double)
      .WarehouseCode = My.Settings.MWhscode
      .Add()
      Next
      End With
      RetCode = .Add()
      If RetCode <> 0 Then
      MsgBox(oCompany.GetLastErrorDescription)
      Return Nothing
      Else
      Return oCompany.GetNewObjectKey()
      End If
    End With
    Regards,
    Csaba

  • Expense report and Standard Invoice in ap.

    hi
    Difference b/w Expense report and Standard Invoice in ap. plz give me example
    thks

    Hi,
    AFAIK Oracle EBS does not keep that sort of info. When looking for the payment you may know that both documents were included in that payment. But when looking at the the invoice or at the DR/CR Memo you will not see any cross reference between them.
    Octavio

  • Can we add logo to sapscript Form Result while coverting to PDF?

    Hi Expert,
                    My requirement is, I have to covert Form Result to PDF.but while converting  Form result to OTF , Can we Add logo to the OTF data? Can logo be saved in text format? only then we can add logo to OTF data probably.
    Please Help.
      Thanks in Advance

    As you have probably searched the forum, you saw that you can get the sapscript result as OTF.
    Graphics are automatically handled by SAP which stores them in the OTF (RD and BM lines).
    And then you convert OTF to PDF as usually.
    So, where is the question?

  • Bill to party address printing in standard invoice smartform

    Hi Experts,
        I am trying to modify the standard invoice smartform as per client requirement.In the payment window, i deleted the fields which are not necessary and I have to print bIll to party address in payment information window. I wrote the code like this in program lines.
    CLEAR GS_HD_ADR.
    get customer adress number
    READ TABLE IS_BIL_INVOICE-HD_ADR INTO GS_HD_ADR
    WITH KEY BIL_NUMBER = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER
                  partn_role = 'RE'.
    ADRNR = GS_HD_ADR-ADDR_NO.
    DATA : IT_ADRC TYPE STANDARD TABLE OF ADRC with header line
           WA_ADRC like line of  it_ADRC.
    SELECT * FROM ADRC INTO TABLE IT_ADRC
    WHERE ADdrnumber = GS_HD_ADR-ADDR_NO.
    read table IT_ADRC INTO WA_ADRC index 1.
    Next I Created one text node and I inserted fields like
    &wa_adrc-name1&
    &wa_adrc-street&.
    In SE16 , data is there for name1 and street fields of ADRC table. when I am trying to activate the form , iam getting warning message as field&wa_adrc-name1& has no defined value. In the output, data is not displayed for bill to party address. Please tell me the solution.

    Hi Parwez,
      Sorry Iam very busy from morning.So,Iam unable to reply .You can ignore the warning messages.
    In global definitions, types tab write the following code.
    types:begin of ty_adrc,
         addrnumber type AD_ADDRNUM,
         name1 type AD_NAME1,
         street type AD_STREET,
         city1 type AD_CITY1,
         city_code type AD_CITYNUM,
         end of ty_adrc.
    types:wa_adrc type table of ty_adrc.
    In global data,
    it_adrc type table of ty_adrc
    wa_adrc type ty_adrc
    In the program lines of address window, write this code.
    CLEAR gs_hd_adr.
    get customer adress number
    READ TABLE is_bil_invoice-hd_adr INTO gs_hd_adr
    WITH KEY bil_number = is_bil_invoice-hd_gen-bil_number
                   partn_role = 'RE'.
    adrnr = gs_hd_adr-addr_no.
    SELECT name1 street city1 city_code FROM adrc INTO corresponding fields of TABLE it_adrc
    WHERE addrnumber = gs_hd_adr-addr_no.
    loop at it_adrc into wa_adrc.
    READ TABLE it_adrc INTO wa_adrc with key addrnumber = gs_hd_adr-addr_no.
    endloop.
    try with this code

  • How to add Logo in SAPSCRIPT

    Hi frnds,
    How I will upload Logo in SAPSCRIPT?
    I have created Header window, Now I want to add Logo in Header Window.
    Regards.

    Hi,
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    regards,
    Munibabu.K

  • CEWB - add Columns to standard Table control using enhancement

    hi,
    there is a table control in CEWB where i want to add a field from table STPO. Is this possible to add fields to standard tble control. If yes, what is the method? Enhncement or i read somewhere GUIXT. Whats that?
    Any help will be really appreciated.
    I hv got some list of BADIs, but none of them re triggering in the "Component assignment" screen:
    EWB_SELECTION
    CEWB_TSK_MENU_INTERN
    CEWB_TSK_MENU_EXTERN
    CEWB_OPR_MENU_INTERN
    CEWB_OPR_MENU_EXTERN
    CEWB_COM_MENU_INTERN
    CEWB_COM_MENU_EXTERN
    CEWB_CHA_MENU_INTERN
    CEWB_CHA_MENU_EXTERN
    CEWB_MST_MENU_INTERN
    CEWB_MST_MENU_EXTERN
    CEWB_GEN_MENU_INTERN
    CEWB_TSK_UPDATE
    CEWB_TSK_SCREENS
    ags.
    Edited by: ags on Jan 20, 2012 7:11 PM

    hi,
    I am able to do this using SAP GUIXT scripts. But since I am new to this Script would like to get some advice on it like is it best practice to use this technique in such situations? Also how do i make this change universl, like how should i deliver this develoipment to the customer nd other users? what kind of settings need to be done.
    Any hint will be really helpul.
    Thanks in advance.
    Ags.

  • Standard invoice was paid even though credit memo exists for a supplier

    Hi ,
    Supplier have 3 credit memos having sum of amount as -467000. The standard invoices were getting paid even though the amountis less than the credit amount.And the credit memos are upadted on 24/11/2010. We thought that the credit memo payments were on hold, but the last update date at paymnet schedules is invoice creation date.
    last updated date at invoice header level is 24/11/2010. Any reason why teh payment was not stopped even though credit memo exists.

    You have to apply the credit memo to the invoice.

Maybe you are looking for