Spool number of purchase order

Hi experts
How do I get the spool number of a purchase order to send email?
I need to know this spool because I use the FM 'CONVERT_OTFSPOOLJOB_2_PDF' and 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send email with purchase order in PDF format.
Thanks.

Thanks Ernesto.
I get the number spool otherwisw.
temprally in Device, I change MAIL for PRINTER.
then in the call function 'CLOSE_FORM'
CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT     = RESULT
      rdi_result = rdi_result.
I get the spool number in RESULT-TDSPOOLID
Thanks

Similar Messages

  • Number of Purchase Order - 2lis_02_scl

    Hi guys!
       I'm working in BI Retail project and we need to do a counter for Purchase Order. Nothing od Business Content is done to manage the number of Purchase Order. I'm thinking in make a counter from InfoSource 2lis_02_scl to InfoCube 0rt_c05 setting a cero in combination with Posting Date. My doubt is if this counter will work fine because I think that the Purchase Order could change at the same Posting Date, I'll get a douplicate for the counter because this DataSource has Delta Management. Have Anybody done some similar? May anybody help me?
    Regards,
    Csr

    The extractor 2LIS_02_S011 might be helpfull.
    It provides infoobject 0NO_PUR_ORD.
    Tks=points
    Regards,
    Selvam

  • Can SAP get material number in Purchase order in external processing?

    I have a question that:
    As I know, Exeternal processing is a service, so that Material number can not be shown in purchase order converted from PR for external processing. Here, PR can be automately generated from transaction CO01 to create an external processing production order. Meanwhile, for external processing, purchase info record is created without material number only with material group.
    So, I want to know that if there any solutions to show material number in purchase order generated for external processing?
    thanks,
    best regards,

    If therer are no production order, How can I get finished products from internal activity and external processing?
    Now, external processing in our company like this:
    1.create an purchase info record. (type:subcontracting, with material group, but not material ID)
    2.Maintan external processing data in external operation where external processing happens.(control key: pp02, external processing data: info record, purchase org. net price, cost element etc.)
    3.create a production order for the material.(one of the operations is an external processing operation described like step 2)
    4.Purchase requstion is changed into Purchase order. (Purchase requestion is automately created with the production order)
    5.MIGO to receive goods from the purchase order.
    6.finished the production order and delivery goods.then the production order is DLV.
    In step 4, purchase order can only get the production order ID, but there are no material ID shown in it. Only method to show material is that maintaining a description text in the external operation, then, purchase order item could show material in material text(but, here, there is no material ID derectly from info record or production order).
    this is the big problem now for our company. No material ID can be automately carried into the purchase order.
    Hope you help..
    thanks...

  • Create a large number of purchase order in ME21N

    Hello,
    Is there a CATT or LSMW transaction or a program to create a large number of purchase orders with the positions?
    Thanks in advice
    Fany

    you can LSMW with direct input method
    Object - 0085, method - 0001
    venkat

  • BI : Invoice number in Purchase Order

    Hi Experts,
    I am doing Standard extraction for having purchase order related data in BI. we are using the below data sources :
    2LIS_02_itm, 2lis_02_cgr,2lis_02_scn & 2lis_02_sgr. Our requirement is we want to have the invoice number(XBLNR,REBZG)  in the extraction but none of the standard PO related Datasource has these fields. Kindly advise how can we bring the invoice number for purchase order extraction.
    thanks & regards,
    M.S

    Hi,
    You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
    Thanks,
    RRR.
    Edited by: Rammi on Feb 18, 2010 10:11 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM

  • Excise Invoice Number through Purchase Order no. or Material Document no.

    Hi,
    Is there any report through which I can find Excise Invoice Number (J1IEX) with the help of either Purchase Order no. or Material Document no.?
    Can anyone provide some idea in this regard?
    Thanks in advance

    Using transaction code J1I7,You canfind excise invoice no in report,with purchase order no. or Material document no. as inputs.

  • Link between vendor number in purchase order and supplying plant (Sales O.)

    Hi All
    Please could you advise, what settings control the following:
    1. Purchase order created for vendor A. (vendor- is internal supplier within same company in SAP, but different company code).
    2. Sales order automatically created on vendors side, plant B.
    Question is where is the link between vendor number (A) and supplying plant name (B):
    How SAP identifies, what plant sales order (for created purchase order) should be generated at?
    Thanks!
    Regards, Andrey

    Hi,
    Click the below link for more infromation about SD & MM integration.
    http://sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm
    regards,
    Venkatesan Anandan

  • Item number from purchase order number....

    Hi,
    How do I get the POSEX (line item number)  field for a given Purchase order number LIKP-VBELN

    Hi,
    Let me be more clear.
    I have to find item number of the underlying purchase order (POSEX).
    So based on VBELN of LIKP table I have to find POSEX from VBAP table.
    ( I guess I need to find subsequent or preceding document stuff. I am not so sure about it. And then
    based on that I go in VBAP and find POSEX )
    <b>So what is the link between LIKP and VBAP table...</b>

  • Printing invoice number and purchase order

    Hi All,
             I am newbie to SAP scripts.By using standard script ( f110_prenum_chk  ) modifying the script layout.and also need to print some extra fields.those are ,
                                --  Invoice number
                                --  Purchase order number
                                --  TDS
    from the above  i am able to display TDS by using the field &regud-sqste& .Is this right field to print the TDS ?
    and from which table i can fetch the details of invoice number ,and PO number ?i have the document number (reguh-vblnr).can i use this field to fetch the details of  invoice and PO numbr.please Help me out.
    Thanks and regards
    Naresh
    Edited by: naresh bammidi on Oct 12, 2011 2:17 PM

    Hi,
    You ERP system should be upgraded to Enhancement pack 3 to avail this datasource. Could you confirm the patch level of your ECC system. Or you can use 2lis_06_inv datasource to get the PO Number and accounting information.
    Thanks,
    RRR.
    Edited by: Rammi on Feb 18, 2010 10:11 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM
    Edited by: Rammi on Feb 18, 2010 10:12 AM

  • User exit -BADI for overriding Partner number in Purchase order output type

    Hello All,
    We have a requirement wherein the EDI message type will distribute the Idoc to the partner number determined in the output type of the purchase order. We are maintaining the condition record for a generic partner number in MN04 and we want this partner number with partner role SH from the condition record to be modified to the sales order sold to party partner number. We are using third party processing and hence sales order number can be fetched from account assignment (EKKN) table of the purchase order. Kindly do let me know the user exit /BADI that can be used for achieving this functionality.
    Thanks in advance for your immediate response.
    With regards,
    Joseph Anand B

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • How to get Line Number in Purchase Order

    Hi Experts
    I want to get Line Number of Matrix of Purchase Order. How I get it ?
    I want to compare Matrix Line Number with Line Number of POR1 in DB.
    Please Help me.
    Hepil Doshi

    Hi Hepil,
    Linenum in Matrix "38" is Columns.Item("110").Value
    SBO application doesnot show it, but you can get the linenum from that column.
    You can test by getting the column title. omatrix.columns.item("110").Title
    Hope it helps.
    Regards
    Edy

  • How to use Vendor Material Number in Purchase Order Creation - ECS Scenario

    Hi SRM Gurus,
    We are in Extended Classic Scenrio - SRM 5.0.
    We want Vendor Material Number to be printed in the Purchase Order Layout. I remember in R/3 we have inforecord, wherein we have vendor Material number. Where do we maintain vendor material number in SRM. Suggest a suitable solution.
    Thanks & Regards,
    Ramkumar

    Hi
    Please refer to BBP_PD transaction to get the SRM Shopping cart (use Object type - BUS2121) / Local PO details (Use Object Type - BUS2201).
    <u>Please use the following useful links to refer in this case.</u>
    <b>Re: PO Display
    Vendor material no is not replicated in R/3
    Re: PO Display
    Re: SRM PO SMARTFORM
    Re: SRM PO Print
    Re: SRM PO SMARTFORMS
    You need to copy the standard SAP smartform BBP_PO to a custom smartform say - ZBBP_PO.
    SRM SPRO Configuartion Settings ->
    In SPRO -> SRM-SRM server-Cross Application basic Settings ->Set output Actions and output format->Define Action for output document.
    Select Action profile as BBP_PD_PO, click on processing type, choose smart form print or fax or e-mail as per your requirement and
    change PO name as ZBBP_PO, in this case.
    Incase you need any assitance, let me know.
    Hope this will help.
    Regards
    - Atul

  • Shopping Cart Number from Purchase Order

    Hi Ppl,
        Santosh here. Does anyone have any idea of the Function Module(or possibly any other solution) to get the Shopping Cart Number from the Purchase Order.
    I have an requirement where in i need to determine the Shopping cart number from a purchase order.
    Please provide me with some solution ASAP if anyone is aware of it.

    Hi Santosh,
    To directly get the SC ID from the PO ID, you can use FM BBP_PD_OBJREL_READ_VIA_REF, with:
    - IV_OBJECTKEY = your PO ID
    - IV_OBJECTLINE = only if you aggregate N SC into one PO
    - IV_OBJECT_TYPE = BUS2201 for SRM PO, BUS2012 for R/3 PO
    Rgds
    Christophe
    PS: please reward points for helpful answers

  • Add Shopping Cart Number to Purchase Order Data in ERP system

    We would like to be able to send the Shopping Cart number to our ERP system so that it is visible on the Purchase Order details data.  What data / BADI would we have to use to transfer this shopping cart number to our ERP system?
    Thanks,
    Jim

    Hi Jim,
    You need to create customize FM which can fill the shoping cart data and send it to R/3 backend system.
    e.g.we have one customize FM (ZBBP_CRT_PO_FILLPO) so  along with this FM you can call SC attributes to fill customize FM and will pass this information to PO created.
    Sachin.

  • Vendor material number in purchase order

    Hello,
    I have the following problem :
    When i create a purchase order (transaction ME21N), the vendor material number (field IDNLF) will be suggested from the purchasing info record.
    It isn't the case, the vendor material number is empty.
    I don't understand why.
    Do you have an idea ?
    Thank you

    Hello,
    Vendor Material Number;  Material number used by the vendor, Usually we saw this field in Info records.
    We can see the same field in ME21N in Material data tab ( Item level of the PO), If Vendor and Material combination have correct info record and if suppose user has maintained  Vendor Material number field,  then while creation of PO for the combination of particular material and vendor system will get Inforecord price in PO and  system will populated Vendor Material number in Material data tab of the PO in item level.
    Thanks and Regards
    Mahesh Naik

Maybe you are looking for

  • Material Determination based on Availability

    Hi SD gurus, I have a client requirement as below: We create order via BAPI. Data comes from ext call center system. Whenever Matnr A is entered in Sales order & it is not available then Matnr B should come. 1: I know that we can handle this in Mater

  • Fault Handling

    Hi, How to handle the error in post script (dos command), suppose i am moving file from one location another using using post os command through batch file. if there is any error occured, can it be possible to generate alert from XI? Ravi

  • Changing Parity on Serial Port (VISA)

    Hello all, I'm having a problem with some parity bits on my serial port. What I need to do is send the first byte of data with mark parity and then all remaining bytes with space parity. I have tried using a property node to do this and it seems to w

  • Accordian interaction pauses slide.  Any way around this?

    Hi, I've made a slide that include an audio intro ("click each heading to learn more.")  When I add the accordian widget to the page, the slide is automatically paused and the audio doesn't play.  I worked around this by having the widget appear AFTE

  • Empty BPEL Project Fails to migrate...

    Hi Everyone, I migrated a BPEL project from JDeveloper 10.1.2 to 10.1.3.3. After successfully letting JDev do the migration for me, the rebuild failed, and I ended up deleting all the project code, leaving only the receiveInput - relayOutput skeleton