Which BAPI for PO Print

Anyone know which Bapi/interface i would use to intercept Output Message (PO Print)? My hope is to convert the smartform at print time to a PDF and store it on network as opposed to sending it to a printer.

Hi,
Why you need BAPI for PO print?
You can create PO message type(PO output type) and  assign a SmartForm to your PO message type  in t.code:NACE.
Based on requirement you need to decide your PO layout and with help of ABAPer you can design PO layout with your PO  SmartForm in t.code: SMARTFORMS.
Refer details steps for customisation for PO layout with PO message type
How to configure PO message ?
During creation of PO, your PO will triggers message type  and upoan saving PO-you will view your PO layout.
Regards,
Biju K

Similar Messages

  • Which BAPI for FB01

    Hi,
    which is BAPI for FB01 which will help me to update following fields. like
    1) Doc Date
    2) Doc Type
    3) company Code
    4)Currency Key
    5)Referen
    6)Posting Key
    7) G/L account
    8) Speical G/L indicatior
    9)Profit Center
    10)Sales Doc. with sample code.
    thanks.

    Hi,
    it may help u.
    BAPI for FB01
    Thanks,
    Sree.

  • Which bapi for create activity type

    i use ecc 4.6
    i just find
    BAPI_ACTIVITYTYPEGRP_CREATE
    for create activity group
    but i do not find the bapi for create the activiy type
    which bapi is for create activiy type
    if the sap does not supply this bapi
    wich method to create the activity type (i know shdb can do it)

    BAPI_ACTTYPE_CREATEMULTIPLE

  • Who does know which bapi for Clearing,sucu as F-32 F-44  ,thank you!

    i want to find a bapi for Clearing,such as F-32 F-44 ,
    but i can't find it ,i don't kown whether have such bapi,
    who can tell me ,thank you very much!

    You can use the report RFBIBL00.
    Please read the documentation of this report to have a better idea.
    Generally, this report can post all type of FI douments like document creation, clearing of the documents. So, I think this will solve your purpose.
    Regards,
    Naimesh Patel

  • Which BAPI meets my req. for creation of Pur Order - PO??

    Hi Experts,
    User enters a Sales Order on the selection screen, say Order_1.
    So, my requirement is to create the Purchase Order - PO, by pulling the data of Order_1.
    1 - I need to focus the to populate the Order Customer # into PO's HEADER TEXT
    2 - After pulling the Order line items, I need to do small manipulation to them & then, I need to create them as line items of creating PO.
    So, pls. let me know that, Which BAPI is good/correct for me to create a PO.
    I did F4 in SE37 for PO , but found amny!!
    thanq

    Hi,
    You can take help of this code.
    DATA : po_header LIKE bapiekkoc,
           po_items LIKE bapiekpoc OCCURS 0 WITH HEADER LINE,
           po_item_schedules like bapieket occurs 0 with header line,
           wa_po_add_header TYPE bapiekkoa,
           return LIKE bapireturn OCCURS 0 WITH HEADER LINE,
           pno like bapiekko-po_number.
    *POPULATE ITEM DATA.
    CLEAR po_items.
    REFRESH po_items.
    po_items-po_item = '00010'.
    po_items-material = '0000000000000G0001'.
    po_items-pur_mat = 'G0001'.
    po_items-short_text = 'PO created by HIRAL'.
    po_items-net_price = '10'.
    po_items-plant = '0001'.
    *po_items-ACCTASSCAT = ' '.
    po_items-unit = 'EA'.
    APPEND po_items.
    *POPULATE SCHEDULES DATA
    clear po_item_schedules.
    refresh po_item_schedules.
    po_item_schedules-po_item = '00010'.
    po_item_schedules-deliv_date = sy-datum.
    po_item_schedules-quantity = '100'.
    append po_item_schedules.
    *POPULATE HEADER DATA
    po_header-DOC_DATE = SY-DATUM .
    po_header-purch_org = '0001' .
    po_header-pur_group = '001' .
    po_header-vendor = 'ABCD' .
    po_header-doc_type = 'NB'.
    po_header-co_code = '0001'.
    po_header-doc_cat = 'F'.
    po_header-created_by = sy-uname.
    po_header-langu = 'E'.
    po_header-langu_iso = 'EN'.
    CALL FUNCTION 'BAPI_PO_CREATE'
      EXPORTING
        po_header                        = po_header
        PO_HEADER_ADD_DATA               = wa_po_add_header
    *   HEADER_ADD_DATA_RELEVANT         = '1'
    *   PO_ADDRESS                       =
    *   SKIP_ITEMS_WITH_ERROR            = 'X'
    *   ITEM_ADD_DATA_RELEVANT           = '1'
    *   HEADER_TECH_FIELDS               =
    IMPORTING
       PURCHASEORDER                     = pno
       tables
        po_items                         = po_items
    *   PO_ITEM_ADD_DATA                 =
        po_item_schedules                = po_item_schedules
    *    PO_ITEM_ACCOUNT_ASSIGNMENT       =
    *   PO_ITEM_TEXT                     =
       RETURN                            = return
    *   PO_LIMITS                        =
    *   PO_CONTRACT_LIMITS               =                                                                                "
    *   PO_SERVICES                      =                                                                                !                               !
    *   PO_SRV_ACCASS_VALUES             =
    *   PO_SERVICES_TEXT                 =
    *   PO_BUSINESS_PARTNER              =
    *   EXTENSIONIN                      =
    *   POADDRDELIVERY                   =
    LOOP AT return.
        WRITE:/ pno, return-message.
    ENDLOOP.
    Hope this helps to solve your problem.
    Plz reward if useful.
    Thanks,
    Dhanashri.

  • How to know which BAPi is being used for creation of PO in classic scenario

    Hello Experts,
    We are in SRM 7.0 classic scenario.
    How can we know which BAPI is being used in the calssic scenario i.e. How can we know if we are usind BAPI_PO_CREATE or BAPI_PO_CREATE1 for creation of PO?
    Any pointers will be highly appreciated.
    Thank you in advance,
    Thanks & Regards,
    RKS

    Hi RKS
    yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
    /people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
    Good work Summer wang !!
    Muthu

  • IPhoto was working fine. Performed update for HP printer, which  should have nothing to do with iPhoto. But the next time I tried to open iPhoto, got this message. "To open your library with this version of iPhote, it first needs to be prepared." When I g

    iPhoto was working fine. Performed update for HP printer, which  should have nothing to do with iPhoto. But the next time I tried to open iPhoto, got this message. "To open your library with this version of iPhote, it first needs to be prepared." When I g

    What version of iPhoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

  • I installed 10.5.8 to my IMac 5 and now it won't recognize a driver for my printer which is an HP PSC 1610.  I downloaded the software from HP again and it still says it is searching for drivers

    I installed 10.5.8 to my IMac 5 and now it won't recognize any drivers for the printer which is an HP PSC 1610.  I downloaded the software and driver from HP and it still says it is searching for drivers to install the printer.

    May be worth looking here:
    Printer & scanner drivers for OS 10.5 and 10.6:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • I have a Lexmark printer which is a little old. So when i connect my iphone to it via the USB cable my printer doesn't recognise it. If i bought a bluetooth adaptor for the printer would i be able to print photos via bluetooth?

    I have a Lexmark printer which is a little old. So when i connect my iphone to it via the USB cable my printer doesn't recognise it. If i bought a bluetooth adaptor for the printer would i be able to print photos via bluetooth?

    The only way to print from an iPad is to have a printer that supports AirPrint. Here's a link to an Apple support page on AirPrint.
    http://support.apple.com/kb/ht4356
    AirPrint is way to print wirelessly via Wi-Fi  but it requires that the printer supports AirPrint. The iPad cannot use Bluetooth to print and it will not print when connected via USB.

  • Which BAPI can Create handling Unit for VL02N.

    Dear All,
         Which BAPI can Create handling Unit for VL02N.
    The Business is: VL02N, click head toolbar PACK, then call up handling Unit.
    Thanks

    Hi sun!
    I'm facing the same requirement since three days and i'm not able to get it workin.
    Did you resolve the problem and if yes which function modules did you use?
    Thanks in advance!
    Florian
    Edited by: Florian Visintin on Sep 17, 2009 10:21 AM
    Edited by: Florian Visintin on Sep 17, 2009 10:22 AM

  • Oki Printer scan to mail function - which settings for icloud?

    I am using an Oki MC560 multifunction printer.
    It also has a scan-to-mail function which i now intend to use with my @me.com address.
    Unfortunately i can't find any information what to enter in the setup.
    At least in the preferences it only suggests a server number (like 192.168.3.5), not a name (like smpt.me.com).
    Does anybody know the correct preferences for that printer or where to get it?
    Oki itself couldn't provide me that information.
    Thanks a lot.

    Incoming server: imap.mail.me.com
    Outgoing server: smtp.mail.me.com
    username: your email address
    smtp server port: use defaults. SSL Enabled
    All this means practically nothing
    1. "Incoming server: imap.mail.me.com"
         (Tried To set-up new mail account with this - nothing)
    2. "Outgoing server: smtp.mail.me.com"
         (Is already set to this!)
    3. "username: your email address"
         (where?)
    4. "smtp server port: use defaults. SSL Enabled"
         (Where? There is no "default setting" in Mail 2.1.3)
    My mail settings are all messed up and need to be completely re-set.
    I need more descriptive instructions (illustrated), if possible, for setting up a new mail account in Mail 2.1.3 that will work with the new iCloud.

  • Is there any BAPI for creating Debit memo request

    Hi all,
    I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
    Thanks and regards,
    Meena.

    hi,
    I could find the following
    Exit Name           Description
    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Regards,
    Manish

  • EH&S WWI for GLM print request processing

    Hi all,
    we installed EH&S WWI for GLM print request processing scenario, following the note:"1394553", but when we try to print we receive this error from WWI:
    Start Function 'WWI_PRINTREQUEST_CREATE'
      Initializing parameters
      Receiving data from client
       calling RfcGetData returned 0
        receiving data lasted: 0.0 sec.
        Retrieving print request data from RFC interface
        Using Temp Directory E:\WWI\TEMP\BSV100000000000062
       Delete files in E:\WWI\TEMP\BSV100000000000062
        Creating text file E:\WWI\TEMP\BSV100000000000062\r000000000062.val
        Writing data to text file 39 lines, 1009 characters
        Updating print request status from 0 to 1
        [DB time] Writing print request lasted 9 ms
      Start processing command 'Create print request' in synchronous mode
      Creating print request 000000000062
    WwiSapDms::retrieveDocument: RFC error when calling ABAP function moduleRFC connection is not Unicode
    WwiSapDms::retrieveDocument: RFC error when calling ABAP function module
    key     : RFC_ERROR_SYSTEM_FAILURE
    message : See RFC trace file or SAP system log for more details
    Reading SBV document IB0120510 from Cache failed
        WwiCacheRead resulted with -1
        Updating print request status from 1 to 5
        [DB time] Writing print request lasted 4 ms
      ##### Command 'Create print request' finished with status E #####
        Storing ERR file E:\WWI\TEMP\BSV100000000000062\l000000000062.err into DMS succeeded
        22 lines
      Sending data to client
       calling RfcSendData returned 0
        sending data lasted: 0.0 sec.
    Elapsed time : 0.1 sec.
    We don't understand what kind of RFC or what part of customizing we have to check, could you please help us?
    Thanks,
    Christian

    Dear Pugal
    we are not using GLM + and I am not sure about the technqiue used there to handle load balancing. Regarding general WWI setup I assume you know this Note: EH&S: Availability and performance of WWI and Expert servers
    On the top there is a further SAP Note abvailable which might be of interest. This is referenced here:
    http://de.scribd.com/doc/191576739/011000358700000861002013-e
    May be check OSS note: 1958655; OSS Note 1155294 is more related to normal WWI stuff; but may be check it as well. May be 1934253 might help better
    May be this might help.
    C.B.
    PS: may be check as well: consolut - EHS_MD_140_01 - EH&S-Management-Server einrichten
    The load balancing of synchron WWi servers is donein the "RFC" layer, therefore you have no inffluence here, for asynchron WWI servers you can do a lot to manage the WWI load balancing by using "exits" etc.

  • Bapi for open PO

    Hi!
    Can anyone let me know where to find the bapi for open po and how to use it in my report program.
    Thanks in advance.
    Note: Mr Anji Reddy vangala has answered me for which iam very much thankful to him, but i need to know about the concerned bapi.
    Regards,
    Parwez.

    Hi,
    Refer the sample code below which creats PO using BAPI_PO_CREATE1.
    Hope this helps your querry.
    *& Report  YDM_PO_CREATE                                               *
    REPORT  ydm_po_create.
    *-- Input File Declaration
    TYPES: BEGIN OF ty_input_file,
           column1 TYPE char50,
           column2 TYPE char50,
           column3 TYPE char50,
           column4 TYPE char50,
           column5 TYPE char50,
           column6 TYPE char50,
           column7 TYPE char50,
           column8 TYPE char50,
           column9 TYPE char50,
           column10 TYPE char50,
           column11 TYPE char50,
           column12 TYPE char50,
           column13 TYPE char50,
           column14 TYPE char50,
           column15 TYPE char50,
           column16 TYPE char50,
           column17 TYPE char50,
           column18 TYPE char50,
    END OF ty_input_file.
    DATA: i_input_file  TYPE STANDARD TABLE OF ty_input_file,
          wa_input_file TYPE ty_input_file.
    CONSTANTS: c_path     TYPE char20 VALUE 'C:\',
               c_mask     TYPE char9  VALUE ',*.*,*.*.',
               c_mode     TYPE char1  VALUE 'O',
               c_filetype TYPE char10 VALUE 'ASC',
               c_x        TYPE char01 VALUE 'X'.
    PARAMETERS : p_fname   LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
    *-- Browse Presentation Server
      PERFORM f4_presentation_file.
    START-OF-SELECTION..
    *-- Read presentation server file
      PERFORM f1003_upload_file.
      IF NOT i_input_file[] IS INITIAL.
        PERFORM split_data.
      ENDIF.
    *&                  Form  f4_presentation_file
    *&                F4 Help for presentation server
    FORM f4_presentation_file .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = c_path
          mask             = c_mask
          mode             = c_mode
          title            = text-001
        IMPORTING
          filename         = p_fname
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " f4_presentation_file
    *&                      Form  f1003_upload_file
    *&                         Upload File
    FORM f1003_upload_file .
      DATA: lcl_filename TYPE string.
      lcl_filename = p_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lcl_filename
          filetype                = c_filetype
          has_field_separator     = c_x
        TABLES
          data_tab                = i_input_file
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
    ENDFORM.                    " f1003_upload_file
    *&      Form  split_data
          Collect data for creating Purchase Order
    FORM split_data .
      DATA: i_poitem        TYPE STANDARD TABLE OF bapimepoitem,
            i_poitemx       TYPE STANDARD TABLE OF bapimepoitemx,
            i_poitem_sch    TYPE STANDARD TABLE OF bapimeposchedule,
            i_poitem_schx   TYPE STANDARD TABLE OF bapimeposchedulx,
            i_acct_***      TYPE STANDARD TABLE OF bapimepoaccount,
            i_acct_assx     TYPE STANDARD TABLE OF bapimepoaccountx,
            i_services      TYPE STANDARD TABLE OF bapiesllc ,
            i_srvacc        TYPE STANDARD TABLE OF bapiesklc,
            i_return        TYPE STANDARD TABLE OF bapiret2,
            wa_header       TYPE bapimepoheader,
            wa_headerx      TYPE bapimepoheaderx,
            wa_poitem       TYPE bapimepoitem,
            wa_poitemx      TYPE bapimepoitemx,
            wa_poitem_sch   TYPE bapimeposchedule,
            wa_poitem_schx  TYPE bapimeposchedulx,
            wa_acct_***     TYPE bapimepoaccount,
            wa_acct_assx    TYPE bapimepoaccountx,
            wa_services     TYPE bapiesllc,
            wa_srvacc       TYPE bapiesklc,
            wa_return       TYPE bapiret2,
            ws_po           TYPE bapimepoheader-po_number.
      break gbpra8.
      wa_services-pckg_no = 10.
      wa_services-line_no = 1.
      wa_services-outl_no = '0'.
      wa_services-outl_ind = c_x.
      wa_services-subpckg_no = 20.
      APPEND wa_services TO i_services.
      wa_srvacc-pckg_no = 10.
      wa_srvacc-line_no = 1.
      wa_srvacc-serno_line = 01.
      wa_srvacc-serial_no = 01.
      wa_srvacc-percentage = 100.
      APPEND wa_srvacc TO i_srvacc.
      LOOP AT i_input_file INTO wa_input_file.
        IF wa_input_file-column2 EQ 'HD'.
          wa_header-doc_type = wa_input_file-column3.
          wa_header-creat_date = sy-datum.
          wa_header-created_by = sy-uname.
          wa_header-vendor = wa_input_file-column4.
          PERFORM conversion_output USING wa_header-vendor
                                    CHANGING wa_header-vendor.
          wa_header-comp_code = 'DE03'.
          wa_header-purch_org = 'DE03'.
          wa_header-pur_group = 'DE1'.
          wa_header-vper_start = wa_input_file-column9.
          wa_header-vper_end = wa_input_file-column10.
          wa_headerx-comp_code = c_x.
          wa_headerx-doc_type = c_x.
          wa_headerx-creat_date = c_x.
          wa_headerx-created_by = c_x.
          wa_headerx-vendor = c_x.
          wa_headerx-purch_org = c_x.
          wa_headerx-pur_group = c_x.
          wa_headerx-vper_start = c_x.
          wa_headerx-vper_end = c_x.
        ENDIF.
        IF wa_input_file-column2 EQ 'IT'.
          wa_poitem-po_item = wa_input_file-column3.
          wa_poitem-short_text = wa_input_file-column6.
          wa_poitem-plant = wa_input_file-column8.
          wa_poitem-quantity = '1'.
          wa_poitem-tax_code = 'V0'.
          wa_poitem-item_cat = 'D'.
          wa_poitem-acctasscat = 'K'.
          wa_poitem-matl_group = wa_input_file-column7.
          wa_poitem-pckg_no = '10'.
          APPEND wa_poitem TO i_poitem .
          wa_poitemx-po_item = wa_input_file-column3.
          wa_poitemx-po_itemx = c_x.
          wa_poitemx-short_text = c_x.
          wa_poitemx-plant = c_x.
          wa_poitemx-quantity = c_x.
          wa_poitemx-tax_code = c_x.
          wa_poitemx-item_cat = c_x.
          wa_poitemx-acctasscat = c_x.
          wa_poitemx-matl_group = c_x.
          wa_poitemx-pckg_no = c_x.
          APPEND wa_poitemx TO i_poitemx.
          wa_poitem_sch-po_item = wa_input_file-column3.
          wa_poitem_sch-delivery_date = sy-datum.
          APPEND wa_poitem_sch TO i_poitem_sch.
          wa_poitem_schx-po_item = wa_input_file-column3.
          wa_poitem_schx-po_itemx = c_x.
          wa_poitem_schx-delivery_date = c_x.
          APPEND wa_poitem_schx TO i_poitem_schx.
          wa_acct_***-po_item = 10.
          wa_acct_***-serial_no = 01.
          wa_acct_***-gl_account = '0006360100'.
          wa_acct_***-co_area  = '1000'.
          wa_acct_***-costcenter = 'KC010000'.
          APPEND wa_acct_*** TO i_acct_***.
          wa_acct_***-po_item = 10.
          wa_acct_***-serial_no = 02.
          wa_acct_***-gl_account = '0006360100'.
          wa_acct_***-co_area  = '1000'.
          wa_acct_***-costcenter = 'KC010000'.
          APPEND wa_acct_*** TO i_acct_***.
          wa_acct_assx-po_item = 10.
          wa_acct_assx-serial_no = 01.
          wa_acct_assx-po_itemx = c_x.
          wa_acct_assx-serial_nox = c_x.
          wa_acct_assx-gl_account = c_x.
          wa_acct_assx-co_area  = c_x.
          wa_acct_assx-costcenter = c_x.
          APPEND wa_acct_assx TO i_acct_assx.
          wa_acct_assx-po_item = 10.
          wa_acct_assx-serial_no = 02.
          wa_acct_assx-po_itemx = c_x.
          wa_acct_assx-serial_nox = c_x.
          wa_acct_assx-gl_account = c_x.
          wa_acct_assx-co_area  = c_x.
          wa_acct_assx-costcenter = c_x.
          APPEND wa_acct_assx TO i_acct_assx.
          wa_services-pckg_no = 20.
          wa_services-line_no = 2.
          wa_services-service = wa_input_file-column9.
          wa_services-quantity = '100'.
          wa_services-gr_price = '100'.
          wa_services-userf1_txt = wa_input_file-column13.
          APPEND wa_services TO i_services.
          wa_srvacc-pckg_no = 20.
          wa_srvacc-line_no = 1.
          wa_srvacc-serno_line = 02.
          wa_srvacc-serial_no = 02.
          wa_srvacc-percentage = 100.
          APPEND wa_srvacc TO i_srvacc.
        ENDIF.
      ENDLOOP.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader                     = wa_header
          poheaderx                    = wa_headerx
      POADDRVENDOR                 =
      TESTRUN                      =
      MEMORY_UNCOMPLETE            =
      MEMORY_COMPLETE              =
      POEXPIMPHEADER               =
      POEXPIMPHEADERX              =
      VERSIONS                     =
      NO_MESSAGING                 =
      NO_MESSAGE_REQ               =
      NO_AUTHORITY                 =
      NO_PRICE_FROM_PO             =
       IMPORTING
         exppurchaseorder             = ws_po
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
       TABLES
         return                       = i_return
         poitem                       = i_poitem
         poitemx                      = i_poitemx
      POADDRDELIVERY               =
         poschedule                   = i_poitem_sch
         poschedulex                  = i_poitem_schx
         poaccount                    = i_acct_***
      POACCOUNTPROFITSEGMENT       =
         poaccountx                   = i_acct_assx
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
      POLIMITS                     =
      POCONTRACTLIMITS             =
         poservices                   = i_services
         posrvaccessvalues            = i_srvacc
      POSERVICESTEXT               =
      EXTENSIONIN                  =
      EXTENSIONOUT                 =
      POEXPIMPITEM                 =
      POEXPIMPITEMX                =
      POTEXTHEADER                 =
      POTEXTITEM                   =
      ALLVERSIONS                  =
      POPARTNER                    =
      break gbpra8.
      LOOP AT i_return INTO wa_return.
      ENDLOOP.
    ENDFORM.                    " split_data
    *&      Form  conversion_output
          Conversion exit input
    FORM conversion_output  USING    p_ip
                            CHANGING p_op.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = p_ip
        IMPORTING
          output = p_op.
    ENDFORM.                    " conversion_output
    <b>Reward points if this helps.
    Manish</b>

Maybe you are looking for

  • How can I retrieve all of my Itune songs back?

    I reccently had my computer re-booted because it was freezing a lot so they restored my computer like new. The bad thing about that is that all of my itune songs are gone now and when i plugged in my ipod it deleted them as well.If there is any way t

  • Brand new mac pro crashing. Software or hardware problem?

    Hi! First of all, I just wanna say - help from as many as possible would be highly appreciated, as I've talked to apple service center etc. No one knows what the problem is. Alright, here we go. I purchased a Mac Pro with 2x500GB HD, 4GB Ram and 2x2,

  • Standard Query Issue.

    Hi All, In Query Definition, for a query "Browse Product Category Tree view", when im trying to duplicate the query and save it then its throwing an error as : "The Java execution type is not allowed in a custom query." But we have a requirement to e

  • Run streaming video in smplayer or mplayer

    I have an url: http://www.mayapur.tv/newTemples/index. - @Chowpatty If i open in the browser it shows the the streaming video. but when i open in smplayer it doesnot show. I want to view the streaming video in smplayer or vlc or mplayer

  • My After Effects CS6 keeps giving me Error 16 when i try to run it.

    Hi. I have just installed After Effects CS6. It worked fine yesterday, but when i tried to run it today it kept giving me, Error:16. Please help me as i have a project to finish this week.