Document number-PM order confirmation by IW41

Hi,
For PM work order confirmations, I want to fetch the document number. In which table can I find the document number stored? I found it in AFRU-CATSBELNR, but only for CATS confirmation. For confirmation of work order through IW41 transaction, is there any table where I get the document number?
Thanks and Regards,
Jegashree

Hi Jane,
I am getting the confirmation number.but not able to fetch the document number (I need this document number to fetch the cost per line item/confirmation from COEP table) Does the PM order confirmation through IW41 transaction have any document number?
Thanks

Similar Messages

  • SD (External document number of vendor confirmation)

    Hi Friends,
    Below are my report output fields.
    Orer entry date     Sales Order     Sales Org            Shipping quantity   External
    (VBAP-ERDAT)  (VBAP-VBELN)  (VBAK- VKORG)  (LIPS-LFIMG)        doc no
                                                                                    (EKES-XBLNR)
    Could any of you please give me the details abt
    "How to fetch XBLNR from EKES based on sales doc no .
    Regards.
    Jeyaseelan

    Thanks Karan.
    Its an existing report.
      Its (Proactive Late Report)
    in the current code they are fetching all the data from the tables VBAP VABK VBUP VBEP VBPA.
    now i need to add 3 more fields.
    delivery date.
    shipping quantity (lips-lfimg)
    External document number (ekes-xblnr)
    Jeyaseelan

  • V/30: Include NAME1 in Document Title for Order Confirmation per Email

    We have configured a sales order output condition for forwarding order confirmation per email. Within the document title (Mail Title & Texts) there is reference to e.g.  &VBAK-VBELN& etc. Is it possible to add NAME1 within the title?

    Case resolved - can use KUAGV-NAME1

  • Exit/Badi for to Stop PM Order Confirmation using IW41

    Hi,
    My Requirement is while doing PM Order Confirmation based on Order and Operation in IW41, system needs to check WBS element status.
    If WBS element status is closed, It has to stop the Order Confirmation.
    Kindly suggest any Exit or Badi for this.
    Thanks in advance.
    Regards,
    Kumar

    check below thread it has all the badis and exits summed up for iw41:
    http://scn.sap.com/thread/1121303

  • BAPI/ FM for Order Confirmation Tcode IW41

    Hi Experts ,
    I want to do auto order confirmation  using the Tcode iw41, is there any BAPI or Function module available to the order confirmation  , Please suggest if any other way we can do
    Babumiya Mohammad

    Hi,
      Please check the following BAPI's.
       BAPI_ALM_CONF_CREATE
      BAPI_ALM_ORDER_MAINTAIN       
      BAPI_ALM_NOTIF_SAVE
    If you want any other function module please search BAPI_ALM *   like that.
    Regards
    Pugal

  • In order confirmation i need invoice number and delivery number.

    Dear Experts,
    I need invoice number and delivery number in order confirmation.
    how can i get the delivery number an invoice number.
    Program name: RVADOR01
    Regards
    Ahmed

    Hi
    In the Order confirmation Only sales order details will be there
    You better write a PERFORM  statement in Script and in the subroutine fetch the Delivery number and Invoice number with the following links and display them in script
    LIPS-VGBEL = VBAK-VBELN
    LIPS-VGPOS = VBAP-POSNR
    VBRP-AUBEL = VBAK-VBELN
    VBRP-AUPOS = VBAP-POSNR
    You can also can use the VBFA table
    using Prev doc type = C (order) and Subsequent doc type = J to get the Delivery
    and Sunsequent type = M for getting the Invoice Number
    see the sample code for subroutine
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Finding document number from SOST

    Hi:
    I am trying to find document numbers starting from records in table SOST for reporting on failed faxes. Documents can be order confirmations, ship notes, invoices, or several other types.
    I tried searching NAST by date/time to pull from field OBJKY, but this fails when two or more faxes are sent at the exact same second (time is hh:mm:ss format).
    Any pointers, advice, leads on figuring this out will be GREATLY appreciated! My guess is that I need to work backwards from SOST to a table related to the specific document type.
    Thanks in advance for any assistance anyone may be able to provide.
    John :>)

    Hi John,
    You may try these tables:SOFFCONT1 or SOCVPC.
    Regards,
    Venkat.

  • Add Sales Document Number in FBL5N

    How can we add the Sales Order Number in FBL5N. Although we have fields Sales Document Number and Order field but they are not populating.

    I write the following code to get the sales order in function module .
    Firt Try
    FUNCTION ZSAMPLE_INTERFACE_00001650.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    *"  EXPORTING
    *"     VALUE(E_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    TABLES : VBRP.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-ZSORDER* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    Initialize Output by using the following line -
    E_POSTAB = I_POSTAB.
    I addZORDER field in RFPOSX structure and first I use the RFPOSX in into clause but it gives me the error component ZSORDER does not have component ZSORDER although I followed the instruction. (Is append is same thing like I did)
    Second Try
    I change ZSORDER with AUFNR which is RFPOSX FIELD  then ift gives me error report/program statement missing.
    SELECT SINGLE VBRP~AUBEL INTO E_POSTAB-AUFNR* FROM VBRP WHERE VBRP~VBELN = I_POSTAB-VBELN.*
    ENDFUNCTION.

  • Production order confirmation document

    Hi All,
    After carrying out production order confirmation, material document generated is not displayed at the front end.Instead we get messege that "confirmation of order XXX is saved".We have to view that in MB51/COOIS .
    How to display confirmation material document number ( Not confirmation number ) in the front endscreen. This is required as user can write down document number at the time of confirmation for his record.
    Whether there is any option?
    Regards,
    Milind.

    Hi,
    Do the below given settings to print your confirmation document after you confirm the production order.
    Go to OPJ8, check on print confirmation.
    Now you do the confirmation. You will get the confirmation slips.
    Thanks
    Muthu

  • Get Process Order Confirmation&Counter from material document/goods receipt

    Hi @ all,
    i´m looking for a way (the tables) to get the order confirmation and the counter from a goods receipt. I have the material document number und the position of the goods receipt.
    Kind regards,
    Axxter

    Hi,
    we don´t have the goods receipt material documents in AFRU. I don´t know the reason why.
    Message was edited by:
            Sebastian Becker

  • Alphanumeric Document number for Sales order

    Dear Experts,
    I got a requirement, The sales order number after saving the document the SO document number should be SO ( Alphabetic) 00012074 (Numeric) ie. SO00012074,
    The numeric portion will come from the number range assigned for that document and Alphabatic portion should come depending on the transaction code and document type.
    in SAPMV45AFZZ  User-exit
    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
    This exit triggers before call function 'NUMBER_GET_NEXT'  that generates document number for the current document and return to the field vbak-vbeln and finally this is the document number, In the debug mode if I change the number for example 0000012074 to SO00012074 runtime I can get the expected number and also it is saved in the system. But in the real time it is not possible as this coding in not any user-exit.
    So I can't use this user-exit for the to get alphanumeric number in the document.
    FORM USEREXIT_SAVE_DOCUMENT
    This exit triggers after the generation of document number. In this user exit if we change the document number for example 0000012074 to SO00012074, it shows the expected number after saving the sales order but it is not actually saving in the database. Means if we try to open the same SO for example SO00012074 in va02/va03 it is showing
    SD document SO00012074 is not in the database or has been archived but if we try open 0000012074 in va02/va03, we can get the document.
    We can use this user-exit but if we change the value of vbak-vbeln in this user-exit finally it is not saving in the system.
    Can anybody help me how I can achieve the requirement ?

    bro...
    You have got an option to copy the program the standard program into zprogram....
    goto se38 and copy the program into a z program....and in doing so copy everything from the ctandard program ie vaients,documentation and function module etc.
    now change this z program to meet your need....
    both way if you dont make lot of changes you will get same performance with your work done
    regards

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

  • Purchase order and FI Document Number - R/3 extractor

    Hello Experts -  I have a question on the BW extractors on the R/3 side. Are there any standard extractors out there where I can get Purchase Order information and related FI document number information. In case if I have to create one what tables do I need to reference to create generic extractor. Thanks for your help.
    Regards,
    Venu.

    Hi Venu,
    This could be better done on a standard FI extractor by enhancing it with purchase order information.
    Atleast, this is the way we did in our scenario.
    Have 0FI_GL_4 enhanced with data from EKKO, EKPO tables, with required feilds. This enhancement may not be quite detailed.
    Also if you are interested in a complete gen extr. then the above two tables along with BSEG should do.
    Naveen.A

  • Accounting document number display in purchase order history tab

    Is it possible to display the accounting document number in the purchase order history tab?  Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn.  We can get to the accounting document number by drilling into the LIV document number.  We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down. 
    Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
    Truly appreciate any help in this regard.

    Thanks for the response.

  • How to club many sales orders in to one single invoice document number

    Dear Team,
    We are in to contract for 12 years with our client for a particular service,so we will raise a contract order for a particular item,with this we generate the order number,here we are generating some 150 orders numbers,this 150 order number I want to combine in to one single invoice document number,I have tried this in vf01 I am giving the all 150 document numbers,and excuting this but here for each sales order document number it is creating one billing document number,but I need one single invoice number for all this order numbers.
    My copy controls are
    In VTFA
    Header data
    Sales doc type-                                 zabc
    Target billing tye-                            zmv
    Copy requirement-                           001 header/order related
    Determination export data-               blank
    Assignment number-                         b
    Reference number-                            b
    Copy item number-                            tick box was selected
    Item category
    Copy requirements-                        Item/order related
    Data vbrk/vbrp-                              003  single invoice
    Billing quantity                               A
    Pos/neg                                            +
    Pricing type                                      c
    Pricing type exchange rate              blank
    Price source                                     blank
    Can any one guide what to do

    Hi
    In VTFA, please do the following changes,and then test by creating the sales orders then do collective billing.
    Keep Assignment number blank
    Keep Reference number blank
    Copy item number- Uncheck the box where tick box was selected
    Also make sure that PO Number in sales order is same
    Regards
    Srinath

Maybe you are looking for