1099 Printout 2 copies for each vendor

SAP Gurus,
I am trying to run 1099 forms, I am using tcode S_P00_07000134 - Generic Withholding Tax Reporting.
When I run program I only see Copy B, which is for the vendors records, I will still need Copy A in order to send to Federal. Does anyone knows the process? We implemented all the OSS notes possible related for 2008, but it appears that SAP scanned double copies in one page both copies are Receipient.
When I run tcode I don't even get form 1096 which is part of 1099 process.
Is anyone having the same issue?
Edited by: Frank on Jan 28, 2009 10:49 PM

Hi manjula
In order to get total for any key figure .... for that key figure at the query level in the  calculation tab there will be one box like calculate result as there u give sum or average accroding to ur purpose... then it will display the total or average accordingly....
the key figure when used average for result shows average of all record conrtibutions but
In order to display the  percentage of each vendor from total u can use
Percentage Share of Result (%CT)
%CT<Operand>
Specifies how high the percentage share is in relation to the result. The result
means the result of aggregation at the next level (interim result).
%CT Incoming Orders specifies the share of incoming order values of each
individual characteristic value (for example of each customer) in relation to
the characteristic's result (for example, customer of a division).
Regards
vamsi

Similar Messages

  • How to create one primary key for each vendor

    Hi all
    i am doing IDOC to jdbc scenario
    i am triggering idoc from R/3 and the data is going into DB table vendor through XI.
    structures are as follows:
    sender side: ZVendorIdoc (this is a customized IDOC , if i triger IDOC for multiple vendors then it triggers only 1 idoc with multiple segment )
    Receiver side:
    DT_testVendor
        Table
            tblVendor
                action UPDATE_INSERT
                access                     1:unbounded
                    cVendorName         1
                    cVendorCode        1
                    fromdate                1
                    todate                    1
                 Key1
                    cVendorName         1
    if i trigger idoc for multiple vendors ,for example vendor 2005,2006 and 2010 . then i can see that the only key comes from the very first field (2005) and the whole record for vendor 2005,2006 and 2010  goes into the table with this(2005) as a primary key
    now again if i send data for these three vendor 2005, 2006 , 2010, in which record for the vendor 2005 is same and for 2006 and 2010 are different than it takes 2005 as a primary key and it does not update the data in the table.
    my requirement is like this:   for each vendor there should be one unique key assigned.
                                              for above said example there should come three keys one for each vendor .
    could you please help me how to do this???????????

    Hi,
      In Mapping Make the statement is 0-unbounded.For each vendor create a statement.This will solve your problem.
    Regards,
    Prakasu.M

  • Spool creation for each vendor/ payment document in program RFFOUS_C

    Hi experts,
    Requirement is to create spool for each vendor/payment document in RFFOUS_C.
    What is presently happening is only one spool is created for all the payment document numbers.
    I need to create separate spool for each cheque and remittance advice based on the payment document.
    Ex:I have 2 vendors with one cheque and remittance advice each.The first cheque and remittance advice of vendor 1 should be created in spool 1 and the second cheque and remittance advice of vendor 2 should be created in spool 2.
    Please suggest your inputs as to what needs to be changed in the program RFFOUS_C or do we need some configuration to achieve the same.
    Regards,
    Joby

    HI,
    Try to see if the check is register on FCHN transaction. So, you will be able to reprint the check using FHC7 transaction.
    Let me know your comments
    Daniel

  • Return to vendor via delivery, customer number for each vendor?

    Hi
    We wish to use return materials to Vendor via delivery process
    addition to required configuration, we need to maintain Customer number in Vendor master
    In out plant we have more than 500 Vendor masters, do we need to create customer number for each vendor? or can we create a generic customer ????
    Business has a concern on creating customer for each vendor since number is huge, Sales guys may get confused with these numbers
    Please suggest a way out
    Thanks

    Thanks Jurgen for the reply
    We have Vendor Work flow setup in the system. Which means when ever vendor master is changed [Return indicator ticked] workflow kicks off which means it goes for approvals. This is why we dont want to go for tick as and when needed. When ever there is a return, return to vendor must be ticked, it will go for approval etc so it slows the process
    we are thinking if we can achieve through data load before SAP GO-Live so that users able to return without any delay
    NOTE 447070 says 'the automatic creation of the required customer data is not supported in the data transfer'
    this is related to automatic customer create isnt it
    i was thinking as below
    --> Create Ship-to's for all vendors
    --> Load vendors via LSMW [along with return to vendor ticked and customer number(created above)]
    Tested in SAP
    created ship-to
    Created vendor with above customer number
    Do you see any issue?
    Thanks

  • Create  of (demo for)OVAI (transaction for create entries for each vendor)

    hi all,
    can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
    thans & regards,
    srinivas reddy.

    hiii
    yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
    call transaction (variable)..in background process.
    regards
    twinkal

  • Any tables for  each vendor/customer to check foreign currency balance?

    Hi all,
    Does SAP provide any tables to check foreign currency balance for each vendor/customer?
    I have searched some websites, have not found any good solutions yet?
    Regards
    Tony
    Moderator: Please, search SDN

    Hi ,
    please use the report  tcode S_ALR_87012172 . Kindly award points if the answer was helpful.
    Regards
    Anirban

  • Updating multiple bank details for each vendor, through LSMW

    Hi,
    We need to do a massive update on our vendors bank details, and I'm trying to do it via LSMW. I have two problems.
    Each vendor may have several bank accounts. In XK02 they appear in a list, and in LSMW the bank detail fields are inside arrays (for example the bank key on first line would be LFBK-BANKL(0)), but I don't know on what lines are stored the banks I want to update. Is it possible to determine the index n° of the array (line number) just by reading the table LFBK ? I can't go into XK03 for every vendor to check at which line the bank details are stored.
    Second, I don't know how to update a different line each time with a single batch input recording. When I record a LSMW batch input, I have to chose a specific field to update, which includes the line n°. How can I specify the line n° as a variable part of the data? Or alternatively, I could record the batch input to update enough lines for each vendor (say 5) and only provide data for the the lines to be updated, but I assume the lines without data would get deleted when the batch is run?
    Please help.

    Dear John;
    You may create your LSMW with a vendor which has n banks (say 5). You will write 5 rows of bank info. LSMW will create new field names for these areas. 01-02...
    LFBK-BANKS(01)                 TR
    LFBK-BANKS(02)                 tr
    LFBK-BANKL(01)                 0067-00002
    LFBK-BANKL(02)                 0067-00003
    LFBK-BANKN(01)                 1234
    LFBK-BANKN(02)                 1235
    you will prepare your excel for this purposes after then.
    I hope it will help.
    BR.
    Aydın

  • Default internal order for each vendor

    Hi
    I am creating employee as a vendor in FK01. Each vendor is created as internal order for doing employeewise budget check. So when i book any expenses for vendor, i want that internal order should automatically flow on the basis of vendor.
    So is there any way from where i can default internal order on the basis of vendor.
    Edited by: Deepak Agrawal on Jun 9, 2011 5:05 PM

    Hi
    The only way to do the same is through Substitution rule by using an user exit. You need to create a Z table and maintain the mapping of vendor to IO. There after in GGB1, write a substitution rule for the node, complete document
    Check if Vendor Account =X
    Substitute using user exit
    In the user exit call up the z table.
    Regards
    Sanil Bhandari

  • Need to display average percent of spend for each vendor in top ten

    Hi Friends,
                 I have to design a query where  I need to display top ten vendors and for that top ten vendors  need to sum the AMT and I have to calculate the average percentage of each vendor in top ten list from the total. Based and the specified range have to create exceptions.
    I am able to display top ten vendors. Now the problem is unable to calculate total of top ten vendors and average percentage of each vendor from total. like the below
         spend     Spend Ratio     Spend Percentage     
    vendor 4     121987     0.299181333     30%     80% is an A
    vendor 10     101103     0.247961917     55%     
    vendor 8     98723     0.242124806     79%     
    vendor 9     23456     0.05752742     85%     80-95% is a B
    vendor 5     12345     0.030276944     88%     
    vendor 6     10540     0.02585006     90%     
    vendor 7     9906     0.024295132     93%     
    vendor 3      9903     0.024287774     95%     95-100% is a C
    vendor 2     9899     0.024277964     98%     
    vendor 1     9874     0.02421665     100%     
    Total     407736               
    Please, suggest me to proceed further.
    Thank You.
    Manjula

    Hi manjula
    In order to get total for any key figure .... for that key figure at the query level in the  calculation tab there will be one box like calculate result as there u give sum or average accroding to ur purpose... then it will display the total or average accordingly....
    the key figure when used average for result shows average of all record conrtibutions but
    In order to display the  percentage of each vendor from total u can use
    Percentage Share of Result (%CT)
    %CT<Operand>
    Specifies how high the percentage share is in relation to the result. The result
    means the result of aggregation at the next level (interim result).
    %CT Incoming Orders specifies the share of incoming order values of each
    individual characteristic value (for example of each customer) in relation to
    the characteristic's result (for example, customer of a division).
    Regards
    vamsi

  • Restriction on number of invoices to be paid through APP for each vendor

    Hi,
    We configured APP and print cheques through APP.
    The output contains invoice wise details ( Payment advice) and the cheque.
    In case the Number of invoices are more than 10 for a single vendor, it is printing one cheque -- This is OK.
    But the problem is with the Payment advice. The details of the invoices could not be accommodated in the place meant for the Payment advice.
    What i am looking at :
    Can we restrict the numbe of invoices which can be paid thorugh APP to 10 only for a single vendor  ?
    Example : A vendor has say 13 invoices, iWhen i execute APP , it should create one payment document for 10 invoices and another payment document for 3 invoices. Is this possible ? if so how ?
    Thanks
    Siva

    Hi,
    I think you can use the variant of the tab printout/data medium to restrict the number of the line in payment advice note.
    Check in 'output control' the 'no.of items in payments summary' eq 10.
    I don´t know if it´s require to config the FBZP -> Pmnt.methods in company code ->Pyt adv.ctrl -> restrited to XXX and Pymt adv. after... lines.
    Best regards,
    H.Marques

  • Displaying/Printing Sub-group Details for Each Parent Group

    My question is based on the example code provided under the "Creating an RTF Template" chapter of the Oracle Business Intelligence Publisher Report Designer's Guide, Release 10.1.3.4, Part Number E12187-01. I modified that example as follows:
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    - <VENDOR_REPORT> -
    - <LIST_G_VENDOR_NAME>
    - <G_VENDOR_NAME>
    <VENDOR_NAME>COMPANY A</VENDOR_NAME>
    - <LIST_G_INVOICE_NUM>
    - <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <LIST_G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-NOV-03</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>50</QTY>
    <UNIT PRICE>3.0</UNIT_PRICE>
    <TOT_AMT>150</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>STUFF</LINE_ITEM_DESC>
    <DATE>10-NOV-05</DATE>
    <PROD_ID>725P</PROD_ID>
    <QTY>20</QTY>
    <UNIT PRICE>5.0</UNIT_PRICE>
    <TOT_AMT>100</TOT_AMT>
    </G_LINE_ITEM>
    - <G_LINE_ITEM>
    <LINE_ITEM_NUM>01</LINE_ITEM_NUM>
    <LINE_ITEM_DESC>WIDGETS</LINE_ITEM_DESC>
    <DATE>10-DEC-05</DATE>
    <PROD_ID>882P</PROD_ID>
    <QTY>5</QTY>
    <UNIT PRICE>4.0</UNIT_PRICE>
    <TOT_AMT>20</TOT_AMT>
    </G_LINE_ITEM> </LIST_G_LINE_ITEM>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    <G_INVOICE_NUM> --TRANS_TYPE
    <SET_OF_BOOKS_ID>124</SET_OF_BOOKS_ID>
    <GL_DATE>10-NOV-03</GL_DATE>
    <INV_TYPE>Standard</INV_TYPE>
    <INVOICE_NUM>031110</INVOICE_NUM>
    <INVOICE_DATE>10-NOV-03</INVOICE_DATE>
    <INVOICE_CURRENCY_CODE>EUR</INVOICE_CURRENCY_CODE>
    <ENT_AMT>122</ENT_AMT>
    <ACCTD_AMT>122</ACCTD_AMT>
    <VAT_CODE>VAT22%</VAT_CODE>
    </G_INVOICE_NUM>
    </LIST_G_INVOICE_NUM>
    <ENT_SUM_VENDOR>1000.00</ENT_SUM_VENDOR>
    <ACCTD_SUM_VENDOR>1000.00</ACCTD_SUM_VENDOR>
    </G_VENDOR_NAME>
    </LIST_G_VENDOR_NAME>
    <ACCTD_SUM_REP>108763.68</ACCTD_SUM_REP>
    <ENT_SUM_REP>122039</ENT_SUM_REP>
    </VENDOR_REPORT>
    In my XML file example there are multiple invoices for each vendor as subgroups under the <G_VENDOR_NAME> group. So that multiple <G_INVOICE_NUM> subgroups maybe embedded under the <G_VENDOR_NAME> group element. I would like to create a schedule (table) displaying line item details for each vendor and invoice number. Using the simplified syntax, I'm having problems displaying the line item details for each invoice. Instead I’m only able to display a single line item for each invoice. Unfortunately my example report cannot be uploaded and "Thread" text does not seem to accurately retain blank spaces. So descriptively the report would have a line for vendor name, separate line for group number, and lne item details displaying consectively by line to the right
    COMPANY A: Vendor Number: ##
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Invoice Number LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    LINE_ITEM_DETAILS
    Please ignore the data details of my example report. The values do not exactly match the XML data example above. Based on my XML example, please provide a RTF template marked with the XLS or simplified syntax approach to get my results.
    Thanks.

    Make 2 contacts with an email address each rather than 1 contact with 2 addresses.

  • Reg:Single Check for Multiple Vendors

    Hi Experts,
    I want to Issue a Single check for all vendor open items...
    For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
    any idea

    Hi,
    Can you check the below thread of urs.
    [Reg:Single Check for Multiple Vendors]
    In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
    You would have continued your earlier thread instead, rather than a new thread.
    Thanks,
    Srinu

  • Data upload:F-02: each documnet number to be generated for each line item

    Dear ABAP experts,
    I have a requirement.
    When we uplaod customer or vendor invoices ,a document number will be generated or posted.
    Similarly, my requirement is :When I do the same kind of uploads, for each line item in an excel file each document number has to be generated or posted .This upload is using Tcode: F-02.
    How do I generate each document number for each line item (for each vendor or customer).
    Please do the needful.Either send me a sample code or an idea how to proceed.
    Thanks,
    Hema.

    Hi,
    using below code you can generate document number  for each line Item.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        IF  wa_final-field1 NE c_space.
    convert date to user format
          MOVE wa_final-field1 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BLDAT'
                                        v_date1.          " Document Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      wa_final-field4.          " Document Type
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      wa_final-field2.          " Company Code
        IF  wa_final-field3 NE c_space.
    convert date to user format
          MOVE wa_final-field3 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BKPF-BUDAT'
                                         v_date1.          " Posting Date
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      wa_final-field5.          " Currency
        PERFORM bdc_field       USING 'BKPF-KURSF'
                                      wa_final-field6.          " Rate
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      wa_final-field7.          " Reference
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      wa_final-field8.          " Document Header Text
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      wa_final-field9.          " Cr.Posting Key
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      wa_final-field10.         " Cr.Vendorcode or GL Account
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    Begin of changes by someshwar
       IF v_field5 NE 'jpy' OR v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
    *Begin of changes by someshwar
         IF  wa_final-field16 NE '00000000'.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    *Changes end
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
    *Begin of changes by someshwar
       IF wa_final-field17 NE ''.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
       ENDIF.
    *changes end
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
        PERFORM save_post.
      ELSE.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-HKONT'
                                      wa_final-field11.         " Dr.Alternative Recon A/c
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      wa_final-field12.         " Dr.Amount in Document Currency
    *Begin of changes by someshwar
       IF v_field5 NE 'jpy' AND v_field5 NE 'JPY'.
        TRANSLATE v_field5 TO UPPER CASE.
        IF v_field5 NE 'JPY'.
          PERFORM bdc_field       USING 'BSEG-DMBTR'
                                        wa_final-field13.         " Dr.Amount in Local Currency
        ENDIF.
    Changes end
        PERFORM bdc_field       USING 'BSEG-GSBER'
                                      wa_final-field14.         " Dr.Business Area
        PERFORM bdc_field       USING 'BSEG-ZTERM'
                                      wa_final-field15.         " Dr.Payment Terms
        IF  wa_final-field16 NE c_space.
    convert date to user format
          MOVE wa_final-field16 TO v_date.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = v_date
            IMPORTING
              ef_date = v_date1.
          PERFORM bdc_field       USING 'BSEG-ZFBDT'
                                        v_date1.         " Dr.Baseline date
         ENDIF.
    Clear v_date  field
          CLEAR: v_date1 , v_date.
        ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZLSCH'
                                      wa_final-field17.         " Dr.Payment Method
      ENDIF.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      wa_final-field18.         " Dr.Assignment
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      wa_final-field19.         " Dr.Text
    *Perform Save posting
          PERFORM bdc_field       USING 'RF05A-NEWBS'
                                        '40'.                     " Cr.Posting Key
          PERFORM bdc_field       USING 'RF05A-NEWKO'
                                        '999996'.                 " Cr.Vendorcode or GL Account
          PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        'BU'.
    *&      Form  BDC_TRANSACTION
    FORM bdc_transaction  USING    p_tcode.
      DATA: l_v_string TYPE string.
      REFRESH i_messtab.
      CALL TRANSACTION p_tcode USING i_bdcdata
                       MODE   g_mode
                       UPDATE 'S'
                       MESSAGES INTO i_messtab.
      IF NOT i_messtab[] IS INITIAL.
        READ TABLE i_messtab WITH KEY msgtyp = 'E'.
        IF sy-subrc EQ 0.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'E'.
              PERFORM fill_error_table USING i_messtab-msgtyp
                                             i_messtab-msgid
                                             i_messtab-msgnr
                                             i_messtab-msgv1
                                             i_messtab-msgv2
                                             i_messtab-msgv3
                                             i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
          v_error = v_error + v_count.
        ENDIF.
        READ TABLE i_messtab WITH KEY msgtyp = 'S' msgnr = 312.
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM t100 WHERE sprsl = sy-langu
                                    AND   arbgb = i_messtab-msgid
                                    AND   msgnr = i_messtab-msgnr.
          l_v_string = t100-text.
          REPLACE  '&' WITH i_messtab-msgv1 INTO l_v_string .
          PERFORM fill_error_table USING i_messtab-msgtyp
                                             'ZMSG_FI'
                                             '025'
                                             i_messtab-msgv1
                                             wa_final2-field2
          v_success = v_success + 1.
        ELSE.
          LOOP AT i_messtab.
            IF i_messtab-msgtyp = 'S'.
              PERFORM fill_error_table USING  'E'
                                                   i_messtab-msgid
                                                   i_messtab-msgnr
                                                   i_messtab-msgv1
                                                   i_messtab-msgv2
                                                   i_messtab-msgv3
                                                   i_messtab-msgv4.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
      CLEAR :  t100 , l_v_string .
    ENDFORM.                    " BDC_TRANSACTION
    Regards,
    Siva.

  • PBXX condition type to acees price when for the vendor/material combination

    Dear All,
    Here the client requirment is that, they do not want to maintain inforecord for each vendor/material combination. They will maintain one inforecord for one vendor for a perticular material. So if they want to make a po with a diffrent vendor, they want the price to be copied from existing inforecord.
    But i understand, if the inforecord does not exist for that vendor/material combination, then PBXX will come in to picture which will take the price from previous purchase order. If no po exist for that vendor/material combination, is there any way the PBXX will act and take price from existing inforecord.
    (with a diffrent vendor for that perticular material)?.
    Your responce to the above is highly apreciated.
    Rgds,
    Raghavendra N N

    hi...hope this may help u..
    while creating PO u can click the infoRec. box in the item level as so info rec is automaticcally created..
    The price in the PO is copied frm last PO's if the abov said indicator is clicked  or there is a customisation in IMG path
    Material Mangament - > Purchasing - > environment data -> default values ...here u can change the A, B, C indicators as per ur requiremnt.
    one more thing..in Info Rec u can set tthe date of price picking by chekcing the  (pr.  date cat.)....
    Hope this may help u bro...
    catch u in evning..
    regards,
    avs

  • How to generate the deferent pdfs for deferent vendor ?

    Hi,
    i have requirement to generate the each pdf for each vendor and i need to mail those pdfs to respective vendor,
    here i am facing the prob to generate the no of pdfs for deferent vendors...please can any one help me in this how i generate the no of pdfs ?? using wrapeer program ....
    if possible any one can provide some example code..(Exmplae program)
    Thanks,
    PK..

    There are two function use one for convert PDF and second use to email, hope it will give u idea proper.
    Assigning the OTFDATA to OTF Structure table
      CLEAR gt_otf.
      gt_otf[] = gs_otfdata-otfdata[].
    Convert the OTF DATA to SAP Script Text lines
      CLEAR gt_pdf_tab.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = gv_bin_filesize
        TABLES
          otf                   = gt_otf
          lines                 = gt_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = gs_docdata
            put_in_outbox              = 'X'
            commit_work                = 'X'
          TABLES
            packing_list               = gt_objpack
            contents_bin               = gt_objbin
            receivers                  = gt_reclist
          contents_txt               = i_objtxt
            object_header              = objhead
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            OTHERS                     = 8.

Maybe you are looking for