Printing Purchase Order from ME9F using custom program and smartform

I was able to use my custom program which calls a smartform to print purchase orders from transaction ME9F. I did this using transaction NACE.
However, when I call "Output Message" from ME9F, the output always fails (shown by an 'X' icon after the checkbox). When I try to put back the standard program in NACE, it does not show an 'X' but a check which indicates that the printing was successful.
Do you know why this happens? What did I miss?
Here's my call to my smartform from my custom driver program:
    " Change Smartform ZP_MMSF_P01_PURCHASE_ORDER
    " to internal Function module name
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
            FORMNAME   = 'ZP_MMSF_P01_PURCHASE_ORDER'
        IMPORTING
            FM_NAME    = fmname
    wa_cparam-no_dialog = 'X'.
    wa_output-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
    CALL FUNCTION fmname
        EXPORTING
            control_parameters         = wa_cparam
            output_options             = wa_output
            i_data                     = i_data
            wa_lookup                  = wa_data_lookup
            goods_amt                  = goods_amt
            discount_amt               = discount_amt
            vat                        = vat
            total_amt                  = total_amt
            total_amt_inwords          = total_amt_inwords

Vijaya,
I have this problem though,
Whenever I try to provide values for CONTROL_PARAMETERS and OUTPUT_OPTIONS to the sapscript call in your code, the PO printing (even the preview) does not proceed. I do this because I wanted to suppress the printer dialog.
here is a fragment of the code:
" code I added
LS_COMPOSER_PARAM-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
LS_COMPOSER_PARAM-bcs_langu = sy-langu.
LS_CONTROL_PARAM-preview = 'X'.
LS_CONTROL_PARAM-no_open = 'X'.
LS_CONTROL_PARAM-no_close = 'X'.
LS_CONTROL_PARAM-device = 'PRINTER'.
LS_CONTROL_PARAM-no_dialog = 'X'.
DO NAST_ANZAL TIMES.
*--In case of repetition only one time archiving
* if sy-index > 1 and nast-tdarmod = 3.
* nast_tdarmod = nast-tdarmod.
* nast-tdarmod = 1.
* ls_composer_param-tdarmod = 1.
* endif.
IF SY-INDEX NE 1 AND REPEAT IS INITIAL.
REPEAT = 'X'.
ENDIF.
CALL FUNCTION LF_FM_NAME
EXPORTING
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMETERS = ARC_PARAMS
CONTROL_PARAMETERS = LS_CONTROL_PARAM
MAIL_RECIPIENT = LS_RECIPIENT
MAIL_SENDER = LS_SENDER
OUTPUT_OPTIONS = LS_COMPOSER_PARAM
USER_SETTINGS = SPACE
IS_NAST = NAST
IS_REPEAT = REPEAT
I tried to trace it to the function module generated by smartform. The error propagates this way: From the function module, there is a call to function SSFCOMP_PROCESS_DOCUMENT. Then inside that function, there is a perform operation to tr_ssfcomp_process_doc
perform tr_ssfcomp_process_doc using startpage docstruc
                                       header.
Inside that form, it calls the macro tr_active which checks the value of ssfcstat-trlevel (tracelevel) against c_trlevel_document. In the macro, if ssfcstat-trlevel is less than c_trlevel_document, the smartform will fail. c_trlevel_document is 15 and ssfcstat-trlevel is 0, and so the smartform fails.
(you can see the macro tr_active in include LSTXBCMAC and the form tr_ssfcomp_process_doc is in the include LSTXBCFTR)
When I do not put values in CONTROL_PARAMETERS and OUTPUT_OPTIONS, everything is ok.
Do you know why this happens?
Thanks in advance!
Edit: I have found out about transaction SFTRACE, but this is disabled.
Kyle

Similar Messages

  • How to create a Purchase order from XI Using ORDERS05

    Hello Experts,
    I need to create a purchase order using OREDRS05 from XI. I was not able to create and I am having these quires.
    1. What are all the mandatory fields that I need to fill in to create a purchase order?
    2. Which part of the SAP will take care of the control record? Is this done by SAP or Integration Tool?
    3. When I have tryed with an existing Inbound Idoc(On R/3 Side) its showing Satus 51 what should I do?(Error: There is no article description for item 000010)
    If Possible give me the step by step procedure to reslove..
    Thanks in Advance,
    Sai Suma

    Hi Suma,
    Check this link
    Creating Purchase Order IDOC through XI
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    Sachin

  • Print Purchase Order from ME23N

    Hello.  I need to know, how the way to enabled the print button or print option on menu, when I see the P/O through ME23N Trx.  On my installation R3 4.7, When I click on print preview of the order, the button of print is disabled.  Authorization problem is impossible, 'cause I working with a SAP_ALL Account.  If any member of this community known the solution, please answer.
    With my best regards from Chile
    Leonardo

    Hi Leonardo
    You first need to define an output in the PO to be able to see the Print preview. the standard SAP PO print output type in NEU
    two ways of doing it are:
    1. Open the PO in ME22N. then click on messages and manually propose output type NEU and then try to see the Print preview
    2. Define condition records for NEU output type in transaction MN04 - this will propose outputs in the future documents which meet the defined criteria
    Please try and reward points if it helps you
    Rgds

  • Printing Purchase orders contiuneosuly in ME9F

    Hi,
            We are printing Purchase Orders from ME9F. When we are selecting the multiple PO and Outputting the message. Then we are getting Pop up for printing the PO. We have to press enter as many times as the number of POs to be printed. But our client wants the PO to be printed continueously without pressing enter i.e. After selcting the POs whne the user pressed Output messages button all the POs selected has to be continueously without inturreption.
    How to do this? Is there any setting for doing the above. Please provide the solution for the above
    thanks and regards.
    Vivek SP

    System will generate a spool request for these purchase orders. Go to SP01. Click on Print with changed parameter. Here you can select the page range.
    From Page <u>    1     <u>to</u>      10    </u>
    Regards
    Rajesh

  • Purchase order received directly in customer consignment

    We are entering a business relationship with a company where we will send the goods on consignment basis  (W stock) procured directly from a vendor. The SAP documentation tells about using the consignment fill up process etc., that we would have to do a receiving in our plant (even though we won't touch the product) and then do another document (the consignment fill-up) to transfer it to the customer as 'W' stock. What we would like to do is write a purchase order for the material have it received at the customer directly into 'W" stock. Does this functionality exist in the SAP purchase order? Can this be easily achieved?

    [http://help.sap.com/bestpractices/BBLibrary/Documentation/J58_BPP_EN_KO.doc]
    [http://help.sap.com/bestpractices/BBLibrary/Documentation/J58_BB_ConfigGuide_EN_KO.doc]
    After creating the Sales order, you can trigger a purchase order from a Vendor through MRP and change the delivery address as the customer. So that the Vendor delivers the product to your customer and you can do the goods receipt in your plant. Then you can do the consignment issue from the delivery to the customer in your system.

  • Standard Purchase order from MRP

    Hi
    I am trying to create standard purchase order from MRP using quotation, asl,sourcing rule ,assigement sets, but it is only going upto Requisition.For the same item if i run the min-max planning it does generate Req as well as standard PO.
    Am i correct that i can create standard po by using Quotation etc ?? if so what is wrong with setup ??
    Thanks
    Anshuj

    Sorry for posting. works fine.
    anshuj

  • RFC comparing Purchase Order from server D10 and compare the PO E10 server

    Hi Gurus,
    I want to fetch data of Purchase order from D10 system client 058 and compare whether the same Purchaser order is also present in E10 system clilent 078.
    Please send me the sample code how to retrieve the code from different servers using RFC. I am new to RFC, please guide me same code.
    Regards,
    Prasad
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jan 30, 2008 4:24 PM

    Hello Arza
    You can use BAPI BAPI_PO_GETDETAIL to retrieve the PO data from the two (remote)systems.
    During an important migration project I had to compare whether the PO data were the same on the old and new SAP system.
    For this purpose I used the BAPI to retrieve the PO data, initialized all data of which I new they would differ between the old and the new system (e.g. time stamps, date, time).
    Next I defined a complex structure which contained all PO data that I wanted to compare.
    Each PO gave one record which I collected into an itab.
    Finally I transformed the itab data into a single XML file for the data from the old and the new system. Then I took an XML editor (e.g. Oxygen) and made a diff analysis of the two XML files which showed me every difference.
    This way I was able to compare thousands of PO's within a few hours.
    Regards
      Uwe

  • Customizing Printed Purchase Order (XML) in R12

    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.

    855902 wrote:
    Hi,
    I need to customize the Printed Purchase Order (which is sent to Supplier).
    I see the existing report (Executable: XDODTEXE Method: Java Concurrent Program) , I tried to download the template with data definition code=POXPRPOL_XML
    but i dont see any tempate for that.
    Conc Prog:Printed Purchase Order Report(Landscape) (XML)
    Short name:POXPRPOL_XML
    Could you let me know how to approach for customizing the report.
    Thanks.Yes..there is no xml associated with it..I have seen it even in my instance..better to log a SR with oracle to get the data template...even when you submit the program it will end up saying no data template...program will be errored out..because there is no template available to pick that
    All Parameters: P_REPORT_TYPE=R:P_AGENT_ID=:P_PO_NUM_FROM=:P_PO_NUM_TO=:P_RELEASE_NUM_FROM=:P_RELEASE_NUM_TO=:P_DATE_FROM=:P_DATE_TO=:P_APPROVED_FLAG=:P_TEST_FLAG=:P_PRINT_RELEASES=Y:P_SORTBY=:P_USER_ID=1013895:P_QTY_PRECISION=2:P_FAX_ENABLE=:P_FAX_NUM=:P_CANCEL_LINE=Y:P_BLANKET_LINES=N:DebugFlag=N
    Data Template Code: POXPRPOL_XML
    Data Template Application Short Name: PO
    Debug Flag: N
    {P_RELEASE_NUM_FROM=, P_DATE_FROM=, P_CANCEL_LINE=Y, P_FAX_NUM=, P_SORTBY=, P_RELEASE_NUM_TO=, P_PO_NUM_TO=, P_REPORT_TYPE=R, P_USER_ID=1013895, P_AGENT_ID=, P_APPROVED_FLAG=, P_PO_NUM_FROM=, P_BLANKET_LINES=N, P_TEST_FLAG=, P_FAX_ENABLE=, P_QTY_PRECISION=2, P_DATE_TO=, P_PRINT_RELEASES=Y}
    Calling XDO Data Engine...
    java.lang.NullPointerException
         at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    HTH
    Mahendra

  • Pasta 3.0 - Printing Purchase Order Forms using Pasta

    Has everyone successfully gotten the Pasta utility using the PrintForm functionality to work for printing Purchase Orders in a 11.5.8 environment. We have applied the latest Pasta patches for 3.0.4 and has created a postscript file from a msword document, transferred to a True64 unix machine and converted it to the PrintForm (.pf) file. We have followed all of the setup steps for the print drivers and has run the concurrent job. It appears to have merge the text base report into a postscript file but it will not print out on the printer. When we view the output via the application you can see the data from the report but you do not see the logo image from the printform file. We are under a time constraint so any feedback would be appreciated.
    Bettye

    Has everyone successfully gotten the Pasta utility using the PrintForm functionality to work for printing Purchase Orders in a 11.5.8 environment. We have applied the latest Pasta patches for 3.0.4 and has created a postscript file from a msword document, transferred to a True64 unix machine and converted it to the PrintForm (.pf) file. We have followed all of the setup steps for the print drivers and has run the concurrent job. It appears to have merge the text base report into a postscript file but it will not print out on the printer. When we view the output via the application you can see the data from the report but you do not see the logo image from the printform file. We are under a time constraint so any feedback would be appreciated.
    Bettye

  • Printing Purchase Orders after they have been created using BAPI_PO_CREATE1

    Hi
    We have a requirement to develop a Z program to to alloow certain users to create and print "special" dummy Purchase Orders (PO).
    Using BAPI_PO_CREATE1 I have been able to create the PO no problem.  But how on earth do you get them to physically print out ?
    BAPI_PO_CREATE1 is meant to be an alternative to ME21N. In ME21N you can create a "PO message" which is actually a print output of the PO) and have it sent to the spool, depending on config. However, you can't use BDC with ME21N.
    I expected the BAPI to have some sort of table/structure to pass print parameters that emulated ME21N's  PO message, but there is none.
    Anybody done this ?
    cheers Hugh

    Well, if you had your PO output configured to print immediately when the PO is created, then the BAPI call would result in a printout.
    But if you don't want to always print a PO when a new document is created, you could set up a new output type for 'print immediately' and then attach a condition in the output configuration that checks if a certain criterion is met (so for instance if the PO was created via the BAPI), and only if this condition is met would the processing continue.
    That way, you could keep the current PO output process (on request only), and have a conditional output that'd only be processed for POs created by the BAPI.

  • Customizing 'Print Purchase Order' Report

    Hi All,
    We need to customize the 'Print Purchase Orders' report, for communicating the PO to supplier. But the Fax commnds, and the output format we have to change accordingly. Also we need to move the generated output file to another directory.
    Please let me know the recommended customizing procedure for the above.
    Thans,
    Gowri.

    Hi,
    If you want to modify Print PO Report (POXPOPDF), refer to the following document.
    Note: 305307.1 - How To Modify Print PO Report POXPOPDF With Custom Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305307.1
    Regards,
    Hussein

  • Printed Purchase Order Report Custom version FAX enabling

    Hi All,
    We customized Printed Purchase Order Report(Landscape) 'POXPRPOL' and is runnig fine. Our client want FAX enabled to the output of custom report.
    Is there any option like print option for this. Or do we need to write and code for this.
    Please help.
    Thanks

    Hi;
    Please see below which could be helpful for your issue:
    http://blogs.oracle.com/xmlpublisher/entry/faxing_from_ebs
    http://www.strsoftware.com/blog/oracle-ebs-r12-1-3-submit-request-delivery-options-button-fax-4-of-6/
    Also see <a href=https://forums.oracle.com/forums/search.jspa?threadID=&q=fax&objID=c3&dateRange=all&userID=&numResults=15
    this search</a>Regard
    Helios

  • Find the purchase order from an article delivered to a customer ?

    Hi friends; 
    How to identify the purchase order from an article delivered from stock to a sales order. I only have the customer order and material number. Are there standard report that could provide me with this information.
    Thanks in advance for your help

    Thinks for your replay.
    The stored quantities come from purchase orders.
    There is no reservation. Simply a shipment for a sales order for an item that the quantity in inventory from purchase order.

  • Mass display or print Purchase Order History

    Instead of checking your Purchase Order History one at a time, you can now mass display or print them with this customized abap report.
    Mass display or print Purchase Order History
    You can request report by :
    1.  Change date
    2.  User Name
    3.  Purchase Order Number
    4.  Vendor Code
    Written by : SAP Basis, ABAP Programming and Other IMG Stuff
                 http://www.sap-img.com
    REPORT ZPOCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
                     LINE-COUNT 065(001)
                     MESSAGE-ID VR.
    TABLES: DD04T,
            CDHDR,
            CDPOS,
            DD03L,
            DD41V,
            T685T,
            VBPA,
            TPART,
            KONVC,
            EKKO.
    SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
                    XNAME  FOR CDHDR-USERNAME,
                    XEBELN FOR EKKO-EBELN,
                    XLIFNR FOR EKKO-LIFNR.
    SELECTION-SCREEN SKIP.
    TEXT-001 - Sorting Sequence
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
                SNAME  RADIOBUTTON GROUP R1,
                SOBID  RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END OF BLOCK BLK1.
    DATA: WFLAG,
          WCHANGENR LIKE CDHDR-CHANGENR.
    DATA: INDTEXT(60) TYPE C.
    DATA: BEGIN OF ICDHDR OCCURS 50.
            INCLUDE STRUCTURE CDHDR.
    DATA: END OF ICDHDR.
    DATA: BEGIN OF ICDSHW OCCURS 50.
            INCLUDE STRUCTURE CDSHW.
    DATA: END OF ICDSHW.
    DATA: BEGIN OF EKKEY,
            EBELN LIKE EKET-EBELN,
            EBELP LIKE EKET-EBELP,
            ETENR LIKE EKET-ETENR,
          END OF EKKEY.
    DATA: BEGIN OF ITAB OCCURS 50,
            BEGIN OF EKKEY,
              EBELN LIKE EKET-EBELN,
              EBELP LIKE EKET-EBELP,
              ETENR LIKE EKET-ETENR,
            END OF EKKEY,
            CHANGENR LIKE CDHDR-CHANGENR,
            UDATE    LIKE CDHDR-UDATE,
            UTIME    LIKE CDHDR-UTIME,
            USERNAME LIKE CDHDR-USERNAME,
            CHNGIND  LIKE CDSHW-CHNGIND,
            FTEXT    LIKE CDSHW-FTEXT,
            OUTLEN   LIKE CDSHW-OUTLEN,
            F_OLD    LIKE CDSHW-F_OLD,
            F_NEW    LIKE CDSHW-F_NEW,
          END OF ITAB.
    DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
    FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
    SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
                             LIFNR IN XLIFNR.
      CLEAR CDHDR.
      CLEAR CDPOS.
      CDHDR-OBJECTCLAS = 'EINKBELEG'.
      CDHDR-OBJECTID   = EKKO-EBELN.
      PERFORM GETCHGDOCS.
    ENDSELECT.
    IF SUDATE = 'X'.
      SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSEIF SNAME = 'X'.
      SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSE.
      SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
    ENDIF.
    LOOP AT ITAB.
      CLEAR: INDTEXT, EKKEY.
      CASE ITAB-CHNGIND.
        WHEN 'U'.
            INDTEXT(50) = ITAB-FTEXT.
            INDTEXT+51  = TEXT-020.
            CONDENSE INDTEXT.
        WHEN 'D'.
            INDTEXT = TEXT-021.
        WHEN 'E'.
            INDTEXT(5) = ITAB-FTEXT.
            INDTEXT+51 = TEXT-021.
            CONDENSE INDTEXT.
          WHEN 'I'.
            INDTEXT = TEXT-022.
        ENDCASE.
        RESERVE 4 LINES.
        IF WCHANGENR NE ITAB-CHANGENR.
          WCHANGENR = ITAB-CHANGENR.
          EKKEY = ITAB-EKKEY.
          WRITE:/ ITAB-UDATE UNDER 'Change Date',
                  ITAB-UTIME UNDER 'Time',
                  ITAB-USERNAME UNDER 'User Name',
                  ITAB-EKKEY-EBELN UNDER 'PO No',
                  ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ELSEIF ITAB-EKKEY NE EKKEY.
          WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ENDIF.
        CASE ITAB-CHNGIND.
          WHEN 'U'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
            WRITE: / TEXT-023  UNDER 'Changes',
                     <F_OLD>.
            WRITE: / TEXT-024 UNDER 'Changes',
                     <F_NEW>.
          WHEN 'E'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            WRITE: TEXT-023 UNDER 'Changes',
                   <F_OLD>.
        ENDCASE.
        SKIP.
    ENDLOOP.
    TOP-OF-PAGE.
    WRITE:/ SY-DATUM,SY-UZEIT,
           50 'P U R C H A S E  O R D E R   H I S T O R Y',
          120 'Page', SY-PAGNO.
    WRITE: / SY-REPID,
             60 'Purchase Orders Changes'.
    SKIP.
    ULINE.
    IF SUDATE = 'X'.
      WRITE:/001 'Change Date',
             014 'Time',
             024 'User Name',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ELSEIF SOBID = 'X'.
      WRITE:/001 'PO No',
             013 'Item',
             020 'Sch No',
             028 'Change Date',
             041 'Time',
             051 'User Name',
             065 'Changes'.
    ELSE.
      WRITE:/001 'User Name',
             015 'Change Date',
             028 'Time',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ENDIF.
    ULINE.
    FORM GETCHGDOCS.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
           EXPORTING
                DATE_OF_CHANGE    = CDHDR-UDATE
                OBJECTCLASS       = CDHDR-OBJECTCLAS
                OBJECTID          = CDHDR-OBJECTID
                TIME_OF_CHANGE    = CDHDR-UTIME
                USERNAME          = CDHDR-USERNAME
           TABLES
                I_CDHDR           = ICDHDR
           EXCEPTIONS
                NO_POSITION_FOUND = 1
                OTHERS            = 2.
      CHECK SY-SUBRC EQ 0.
      DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
      CHECK NOT ICDHDR[] IS INITIAL.
      LOOP AT ICDHDR.
        CHECK ICDHDR-UDATE IN XUDATE.
        CHECK ICDHDR-USERNAME IN XNAME.
        CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
                     EXPORTING  CHANGENUMBER       = ICDHDR-CHANGENR
                     IMPORTING  HEADER             = CDHDR
                     TABLES     EDITPOS            = ICDSHW
                     EXCEPTIONS NO_POSITION_FOUND  = 1
                                OTHERS             = 2.
        CHECK SY-SUBRC EQ 0.
        LOOP AT ICDSHW.
          CHECK ICDSHW-TEXT_CASE EQ SPACE.
          MOVE-CORRESPONDING ICDSHW TO ITAB.
          MOVE-CORRESPONDING ICDHDR TO ITAB.
          MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
          APPEND ITAB.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.
    END OF PROGRAM

    Hi,
    copied from          http://www.sap-img.com/mm001.htm

  • Purchase Order from EBP was not created

    Hi people,
    I have a problem with an approved shopping cart that must generate a Purchase Order in R3.
    But:
    - The order was not generated in R3
    - I have an entry in bbp_document_tab table in EBP system
    - When I check the status of the Shopping Cart in transaction BBP_PD I can see the item in "Item in Transfer Process" status.
    - When I check the Application Monitor in EBP system, there is no messages related to this Shopping Cart.
    - The report CLEAN_REQREQ_UP is schedule to run every 25 minutes and after it runs, the entry in bbp_document_tab remains there.
    - I checked the dumps in R3 system using transaction ST22 but I could not find entries (I have searched using the RFC user).
    What else I can check? If I have an error when BAPI_PO_CREATE1 is called, where it is logged?
    Thank you!

    Hi
    You need to take help of ABAP resource here.
    Using the same data what you are passing in the shopping cart, directly create a purchase order both
    1) using ME21N transaction directly and
    2) then using 'BAPI_PO_CREATE1' bapi using a custom program in this case.
    3) Incase you are using ECS, then implement BBP_CREATE_PO_BACK BADI and put a break-point there and then you can easily figure out, what's the problem happening as soon as BAPI - 'BAPI_PO_CREATE1' is called from SRM system using RFC call there.
    Do let me know your findings.
    Regards
    - Atul

Maybe you are looking for

  • Trouble with built in iSight macbook C2D late 2006

    I´ve resetted my smc on my macbook, nothing happens, I´ve the same problem, "there is no cam" photobooth answered, but my systemprofiler shows the builtin isight, with win xp on my bootcamp partition it works, but only win-like. Later I´ve made the p

  • IPad mini iMessage issues

    I tried using iMessage to text a phone number but it says the phone number is not registered with iMessage, problem is, that phone number can and does receive messages from other iPads just not mine! I use to be able to send messages now all of a sud

  • Select 10000 rows from Oracle in shortest way

    Looking for a good desicions for trasfering more than 10000 rows from oracle to mysql using only jdbc. Connect is mostly slow about 1 row in a second, rights on oracle are just for select, update, insert operations. I think if I can devide 10000 rows

  • Creating Oracle service in Oracle 8i Client for Oracle 10g XE

    Hi all We tried Oracle 10g XE on one Machine X - OS Windows XP Professional SP2 , It had earlier Oracle 8i Client. It installed fine. It is wonderful and easy to install. Services started automatic for listner as well as OracleXE. We are able to crea

  • "Log On" screen with new token

    Hello, I have an ASP.NET app which is opening a separate report window (IE browser instance). Each time I open this window to generate/view a report, I call CreateLogonTokenEx() to get a new token to pass to BOE. Is this the correct method? If so, th