Reg: automatic PR to PO creation

Hi Guru,
i have created the PR Manually.  by using this PR , i  trying to convert the PR to PO with the help of ME59N T.code. while converting the PR to PO, the system gives the error like No suitable purchase requisitions found. please help me out to rectify this error.
Please give me the valid information on this issue.
Thanks
siva

1. For Auto PO , yo should proceed as follows:
Auto P.O.: In MMR & Vendor Master Record - checked(MM02/XK02)
Maintain Source List & select the indicator for source list record as MRP relevent.(ME01)
If more than one source list records are generated, make one of  them as fixed.
Run MRP , the PR's generated will be preassigned with the source of supply.(MD01)
Enter T Code ME59 for automatically creating PO's from PR's.
2.* Check if the assigned Source in PR is not fixed in Source List.
Check if the info record for source not assigned,  is having valid conditions.
Regards,
Ashok

Similar Messages

  • Automatic storage location view creation in maintenace order (IW31)

    Hello,
    Seems like I need some help.
    Have configured automatic storage location view creation for GR and reservation. Configured movement types are 101, 201, 261. While creating reservations (201, 261 mvmnt. types) with mb21 the sloc view is automatically created in material master, and everything seems fine.
    But in iw31 when I specify material number and sloc in a Components tab, I get an error message CO312: "The storage location data is not created". Automatic reservation is not created, and maintenance order can not be saved. Movement type 261 is used for automatic reservations for the maintenance order.
    If I configure message CO312 as a (W)arning  message, then it allows me to save the order and reservation, but sloc view in material master still is not created. Think that's not good and may lead to MRP issues.
    How can I configure automatic sloc view creation in iw31? Is that possible?
    Edited by: Konstantin Dudura on Nov 17, 2009 8:11 PM

    Hi,
    The customization required for Automatic Storage location creation at reservation are:
    Goto : SPRO -> MM -> inventory Management and physical inventory -> Goods issue/ Transfer posting -> Create storage location automatically
    first of all go to Plant and tick the automatic Storage location creation for the Plant. After that goto Movement type and tick the automatic Storage location for movement type 261.
    Regards

  • Automatic serial number&equipment creation in goods receipt

    Dear gurus,
    We use to automatic serial number&equipment creation in goods receipt. While serial number master datas and equipment master datas were creating in goods receipt, how can we fill some fields for serial number and equipment master datas? (Instead of to use IQ02 and IE02 after every goods receipts for some default enteries) Any user exit or BADI?
    Thank you.

    Use user exits EXIT_SAPLIE01_005 and EXIT_SAPLIE01_007 in customer exit IQSM0005.
    Regards,
    Lakshman

  • BAPI for Automate direct debit proposal creation for selected customers.

    Hello ABAP Gurus,
    Requirement is - Changing the process for Automate direct debit proposal creation for selected customers from a custom BDC program to a BAPI.
    Explanation -
    Currently as per the process, we are using a BDC call transaction program for F110 - Automate direct debit proposal creation for selected customers. The main pupose of this BDC program is to automate F110 Bank Run for A/R (Selected Customers Only). It creates payment proposal which is the first step in order to create payment runs.This program will run in background.
    We wanted to change the process from a BDC call transaction process to a BAPI call . In this process I am trying to chase for a valid BAPI in order to sync to my requirement.
    It would be appreciate for your << removed >> response.
    Thank you.
    Regarsd,
    Kumar.
    Edited by: Rob Burbank on Nov 11, 2009 3:33 PM

    Hello gurus,
    Is there any implicit or explicit enhancement point for F110 process or is there any alternative for payment proposal creations?
    is there any BAPI for F110 functionality?
    can you please let me know.
    Thank you
    Regards,
    Kumar.

  • LE-TRM: automatic and immediate TASK creation at TO creation

    Hi guys,
    Up to know, I succeed in creating TASK either manually in the TRM monitor or by running the report RLTRQSCHEDULER.
    I'd like to know how to get the following behavior in SAP LE-TRM (Task and Resource Management) module : automatic and immediate task creation in TRM at TO (transfer order) creation in LE.
    Does anyone know how to set this up?
    Thx a lot in advance for your valuable inputs.

    Activate this BADI and set up Request Scheduler program as a background Job.
    method IF_EX_LTRM_RQST_GLOBL_SCAN~RQST_GLOBL_SCAN.
      TYPE-POOLS: TRMGC.
      DATA: lt_where_tab   TYPE ltrqt_it_where,
            lv_where_line  TYPE ltrqt_where.
      data: lv_pick(3).
      clear: lv_where_line.
    lv_where_line = 'rqact IN (trmgc_rqact_removal, trmgc_rqact_putaway, trmgc_rqact_replen, trmgc_rqact_move)'.
    append lv_where_line to et_where_tab.
    lv_where_line = 'rqact IN (trmgc_rqact_removal, trmgc_rqact_putaway,'.
      append lv_where_line to et_where_tab.
       clear: lv_where_line.
    lv_where_line = 'trmgc_rqact_replen, trmgc_rqact_move)'.
      append lv_where_line to et_where_tab.
    endmethod.

  • Reg. G/L Account automatic assign in PR creation

    Dear Experts
    I am configure MM module in ECC 6.0, in which, when I try to create PR then the G/L account number is not assigned automatically. Only I did the below settings
    OBYC - BSX
                GBB -VBO,VKA and VBR
                WRX
    What are the other settings to be done for the above problem.
    Kindly advise as soon as possible.
    Thanks
    Rajakumar.k

    Hi
    What is the type of PR u r trying create ==service or material
    what is the account assignment u r using
    if u use a material PR and account assignment as K then its consumption a/c will come automatically from OBYC.
    G/L a/c will depend on the account assignment u r using
    reg
    Raja

  • Reg: Automatic creation of one PO from more than one PR

    Hi ,
           I have an issue from user.
    Requirement : The PR's which are generated on vendor and delivery date combination will convert automatically into a single PO irrespective of the material when we run the batch job.
    Ex: To day for example we created ( roughly ) 30 to 40 PR's of the same vendor. Then when we run the batch job , with the today delivery date and vendor combination , it should combine all the PR's and should create only one PO.
    Please help me to solve this issue.
    I able to combined the PR's to one PO but when we use the same material in all the PR's only, I am unable to convert the PR's of different materials.
    Thanks&Regards,
    Usha.

    Hi ,
                Thanks for your prompt response.
    My inputs are : delivery date and vendor.  ( check on per delivery date )
                              When i check on Generate schedule line , it is combining the PR's of same item only but not the others.
    Please let me know if you want want anything else for this issue.
    Regards,
    Usha.

  • Automatic form generation on creation transfer order for delivery note?

    Hi,
    I have to create a form that should automatically be generated on the creation of a transfer order for delivery note. How do I trigger this automatic creation of the form? And how can the transfer order number be passed to my print program?
    Thx!

    hi christophe,
    To issue the delivery output, go to transaction VL02N.
    Then go to EXTRAS-> OUTPUT->HEADER->EDIT
    In the Message output screen enter the relevant output type created for the delivery.
    Choose the relevant medium of output.
    Choose Simple Mail, in this case the field NAST-NACHA will be having a value of 7.
    Specify the Partner Function; in this case it is MA -> Mail partner address
    Select the Communication Method for the output type maintained.
    This will take you to the SAPOFFICE screen.
    Enter there the  E-Mail Address to which you want to send the delivery document as PDF.
    A mail will be sent to the e-mail address of the E-Mail Address specified, with the delivery output form as a PDF attachment.
    hope it will help u ..
    *& Report  ZZ_TEST                                                     *
    REPORT  zz_test                                 .
    INCLUDE zz_test_top.
    INCLUDE zz_test01.
          FORM entry                                                    *
    -->  RETURN_CODE                                                   *
    -->  US_SCREEN                                                     *
    FORM entry USING return_code us_screen.
      CLEAR retcode.
      xscreen = us_screen.
      PERFORM processing USING us_screen.
      CASE retcode.
        WHEN 0.
          return_code = 0.
        WHEN 3.
          return_code = 3.
        WHEN OTHERS.
          return_code = 1.
      ENDCASE.
    ENDFORM.                    "entry
    *&  Include           ZZ_TEST_TOP                                      *
      TABLES : nast,
               tnapr.
    TYPES : BEGIN OF t_SOUDNAMEI1.
            INCLUDE STRUCTURE SOUDNAMEI1.
    TYPES : END OF t_SOUDNAMEI1.
    Internal Table declarations
      DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
      i_tline TYPE TABLE OF tline WITH HEADER LINE,
      i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
      i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    *Objects to send mail.
      i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
      i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
      i_lips LIKE lips OCCURS 0 WITH HEADER LINE,
      i_SOUDNAMEI1 TYPE STANDARD TABLE OF t_SOUDNAMEI1.
    Work Area declarations
      DATA:w_objhead TYPE soli_tab,
      wa_control_parameters TYPE ssfctrlop,
      wa_output_options TYPE ssfcompop,
      w_return TYPE ssfcrescl,
      w_doc_chng TYPE sodocchgi1,
      w_data TYPE sodocchgi1,
      w_buffer TYPE string,"To convert from 132 to 255
      wa_SOUDNAMEI1 TYPE t_SOUDNAMEI1,
    Variables declarations
      w_form_name TYPE rs38l_fnam,
      w_len_in LIKE sood-objlen,
      w_len_out LIKE sood-objlen,
      w_len_outn TYPE i,
      w_lines_txt TYPE i,
      w_lines_bin TYPE i,
      retcode      TYPE sy-subrc,
      xscreen      TYPE c,
      w_spld TYPE usr01-spld,
      w_receiver TYPE SOXNA-FULLNAME,
      w_OBJ_RECORD TYPE OBJ_RECORD,
      w_user type sy-uname,
      w_email TYPE ad_smtpadr.
    Constants Declaration
      CONSTANTS : c_x TYPE c VALUE 'X',
                  c_atrate(1) TYPE c VALUE '@'.
    *&  Include           ZZ_TEST01                                        *
          FORM PROCESSING                                               *
    FORM processing USING proc_screen.
      SELECT * FROM lips
        INTO TABLE i_lips
        WHERE vbeln = nast-objky.
    Call Function module to Getfunction Module name Generated by Smartform
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = tnapr-sform
        IMPORTING
          fm_name            = w_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        retcode = sy-subrc.
      ENDIF.
      CLEAR : wa_control_parameters,
              wa_output_options.
      CASE nast-nacha.
        WHEN '1'.
          wa_control_parameters-device    = 'PRINTER'.
        WHEN '7'.
          DATA: l_email TYPE ad_smtpadr.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the default output device maintained in the
    User profile
         SELECT SINGLE spld FROM usr01
          INTO w_spld
          WHERE bname EQ nast-usnam.
          IF sy-subrc EQ 0.
            MOVE w_spld TO  wa_output_options-tddest   .
          ENDIF.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the email address maintained for the particular output
          CALL FUNCTION 'NAST_GET_MESSAGE_OBJECT_RECV'
            EXPORTING
              pi_objkey             = nast-tdname
            IMPORTING
              pe_addr               = w_receiver
            CHANGING
              pc_objhandle          = w_obj_record
            EXCEPTIONS
              maildata_not_readable = 1
              OTHERS                = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          IF w_receiver NA c_atrate.
    To retrieve the E-Mail Id in case we get the User name from NAST
            CLEAR wa_soudnamei1.
            REFRESH i_soudnamei1.
            MOVE w_receiver TO wa_soudnamei1-fullname.
    To get the user name
            CALL FUNCTION 'SO_NAME_CONVERT_API1'
              EXPORTING
                name            = wa_soudnamei1
              TABLES
                names           = i_soudnamei1
              EXCEPTIONS
                user_not_exist  = 1
                parameter_error = 2
                x_error         = 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.
            CLEAR wa_soudnamei1.
            READ TABLE i_soudnamei1 INTO wa_soudnamei1 INDEX 1.
            MOVE wa_soudnamei1-sapname TO w_user.
    To get the e-mail Id maintained in the user profile
            CALL FUNCTION 'FTR_CORR_CHECK_EMAIL_SAP_USER'
              EXPORTING
                i_user              = w_user
              IMPORTING
                e_email_address     = l_email
              EXCEPTIONS
                mail_address        = 1
                determination_error = 2
                OTHERS              = 3.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            MOVE l_email TO w_receiver.
          ENDIF.
          MOVE  w_receiver TO w_email.
      ENDCASE.
      wa_control_parameters-no_dialog = c_x.
      wa_control_parameters-langu     = nast-spras .
      wa_output_options-tdteleland    = nast-tland.
      wa_output_options-tdtelenum     = nast-telfx .
      wa_output_options-tdsenddate    = nast-erdat .
      wa_output_options-tdsendtime    = nast-eruhr .
      wa_output_options-tddataset     = nast-dsnam .
      wa_output_options-tdsuffix1     = nast-dsuf1 .
      wa_output_options-tdsuffix2     = nast-dsuf2 .
      wa_output_options-tdimmed       = nast-dimme .
      wa_output_options-tddelete      = nast-delet .
      wa_output_options-tdautority    = nast-tdautority.
      wa_output_options-tdcovtitle    = nast-tdcovtitle .
      wa_output_options-tdcover       = nast-tdocover .
      wa_output_options-tdreceiver    = nast-tdreceiver.
      wa_output_options-tddivision    = nast-tddivision.
      wa_output_options-tdcopies      = nast-anzal .
      wa_output_options-tdnewid       = c_x.
      wa_output_options-tdarmod       = nast-tdarmod.
      wa_output_options-tdnoarmch     = c_x.
      CALL FUNCTION w_form_name
        EXPORTING
         archive_index      = toa_dara
         archive_parameters = arc_params
          control_parameters = wa_control_parameters
          output_options     = wa_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = w_return
        TABLES
          it_lips            = i_lips
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF nast-nacha EQ 7 AND sy-subrc EQ 0.
        i_otf[] = w_return-otfdata[].
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
            max_linewidth         = 132
          IMPORTING
            bin_filesize          = w_len_in
          TABLES
            otf                   = i_otf
            lines                 = i_tline
          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.
    Convert PDF from 132 to 255.
        LOOP AT i_tline.
    Replacing space by ~
          TRANSLATE i_tline USING ' ~'.
          CONCATENATE w_buffer i_tline INTO w_buffer.
        ENDLOOP.
    Replacing ~ by space
        TRANSLATE w_buffer USING '~ '.
        DO.
          i_record = w_buffer.
    Appending 255 characters as a record
          APPEND i_record.
          SHIFT w_buffer LEFT BY 255 PLACES.
          IF w_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
        REFRESH: i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
        CLEAR w_objhead.
    Object with PDF.
        i_objbin[] = i_record[].
        DESCRIBE TABLE i_objbin LINES w_lines_bin.
    Document information.
        w_doc_chng-obj_name = 'Smartform'.
        w_doc_chng-expiry_dat = sy-datum + 10.
        CONCATENATE 'Delivery' 'Note'
        INTO w_doc_chng-obj_descr.
    *w_doc_chng-obj_descr = 'Smart form output'.
        w_doc_chng-sensitivty = 'F'. "Functional object
        w_doc_chng-doc_size = w_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
        CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
        i_objpack-head_start = 1.
    Number of lines of an object header in object packet
        i_objpack-head_num = 0.
    Start line of object contents in an object packet
        i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
        i_objpack-body_num = w_lines_txt.
    Code for document class
        i_objpack-doc_type = 'RAW'.
        APPEND i_objpack.
    Packing as PDF.
        i_objpack-transf_bin = 'X'.
        i_objpack-head_start = 1.
        i_objpack-head_num = 1.
        i_objpack-body_start = 1.
        i_objpack-body_num = w_lines_bin.
        i_objpack-doc_type = 'PDF'.
        i_objpack-obj_name = 'Smartform'.
        CONCATENATE 'Delivery' 'Note' '.pdf'
        INTO i_objpack-obj_descr.
        i_objpack-doc_size = w_lines_bin * 255.
        APPEND i_objpack.
    Document information.
        CLEAR i_reclist.
    e-mail receivers.
        i_reclist-receiver = w_email.
        i_reclist-express = 'X'.
        i_reclist-rec_type = 'U'. "Internet address
        APPEND i_reclist.
    sending mail.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = w_doc_chng
            put_in_outbox              = 'X'
          TABLES
            packing_list               = i_objpack
            object_header              = w_objhead
            contents_bin               = i_objbin
       contents_txt               = i_objtxt
            receivers                  = i_reclist
          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.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    "processing

  • Reg:error during transfer order creation

    hi,
    after quality inspection i move the stock into warehouse integrated storage location. if i clear inspection lot in qa32 for a material after saving it will pop up express message"error during creation of transfer order for a material".i configured that after qc inspection automatic TR is created.i just proceed with manual.
    its a issue related with workflow or configuration....i checked with automatic TO all the things are deactivated.....where i am missing
    Thanks
    Muthuraman.D

    hi,
    goto VOV8
    choose your sales order type
    transaction flow - variant (remove the transaction variant if any)
    but this will remove the transaction variant(custom) which you created , it will take the standard variant for your transaction VA01
    regards
    senya

  • Purchase Requsition is not closing automatically During ME59 PO creation

    Hi,
    We are using PO creation through ME59,
    In ME59 we have set the indicator 1 Set reqs. to "closed"
    In PR we have 1 qty and in PO was created for 1 qty. But the PR was not closed.
    When we check the F1 help for the filed it say it will work with respect to the rounding value. as for my concer the PR qty 1 was fulfilled by po with 1 qty creation.  I dont know why the PR was not set to Closed automatically.
    If we try 2 Set reqs. to "closed" It is working
    Can any once explaing why it is not wroking for indicator 1
    Regards
    Palani

    Is your order unit and requisition unit same ?

  • Automatic GR after PO creation

    Hello everyone,
    I have implemented the flow below :
    1) Creation of a PO (ME21N)
    2) Creation of the GR (MIGO)
    3) Creation of the invoice with ERS functionality (MRRL)
    Everything is working fine.
    Now I would like to know if it is possible to automate also the 2nd step which is the good receipt of the PO.
    The purpose is to avoid having to run MIGO transaction manually.
    For instance, is it possible to do the GR in background while saving the PO ?
    Or do the ERS functionality enables also to do the GR before the invoice ?
    Thanks a lot for your help.

    Hi
    As mentioned, Auto PO based on GR is one way to automate PO creation upon GR. But whether this PO meets all the business requirement needs to be checked.
    You can develop custom programs which can post GR for the POs created, as far as i know there isnt any standard solution for auto GR upon PO creation.
    Thanks !
    E.Avudaiappan

  • Automatic clearing upon CM creation

    Hi guys,
    Just want to ask if there's a possibility for automatic clearing of CM created against customers open items in FBL5n while using t-code FB75 (Creation of CM)?  The scenario will be like this...  Before saving the CM created in FB75, there will be an icon/button to be ticked so that all open items on that particular customer will be displayed perhaps another window/session for FBL5n and can clear the items right there and then by clicking the said transaction.  After saving, CM can now be generated and at the same time open items are already included in the cleared items.  So that we dont have to use t-code F-32 for clearing.  Is this possible in SAP R/3, that there's a link somehow between FB75 and F-32 to clear the CM created and the open items at the same time in one saving?  And if not, what are the reasons/limitation of the system?  Please help me...
    Thanks and more power....
    carol

    Hi Dave,
    Good Day!
    Thank you so much.  But what im trying to ask is that, it is possible in SAP R/3, to have a link somehow between FB75 and F-32 to clear the CM created and the open items at the same time in one saving, without using F-32 and F.13 as another step for clearing? And if not, what are the reasons/limitation of the system?
    Thanks and more power...
    carol

  • Automatic release on order creation

    Hello,
    I want an order to be automatically released on creation but not through the production scheduling profile (OPKP) since the order does not consist in a material (CO07).
    Any idea ?
    Thanks
    Guillaume

    Guillaume,
    You are correct, since in CO07 you dont have a material referance you cannot directly derive the production scheduling profile.
    How ever you can derive the production scheduling profile through "Production Schedular", so first assign a suitable production scheduling profile to production schedular in transaction OPJ9. Now use this production schedular also in the intial screen of CO07 when you are creating an order without material.
    Regards,
    Prasobh

  • Automatic Stock Transfer PO creation

    hello all,
    i have two plant  say 'ABC' & 'XYZ' and i want to transfer some component every time from ABC to XYZ so when i run MRP in XYZ plant then it generates PR, then i want that these PR should automatic convert into Stock Transfer PO.
    can anyone tell me the complete process? is it possible thru ME59?
    regards saurabh

    Hi,
    As for automatic PO creation, please check this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11e655c811d189900000e8322d00/frameset.htm
    Prerequisites
    The system selects only those requisitions for automatic PO generation for which the indicator Automatic purchase order has been set for both the material and the vendor.
    It can only generate purchase orders from requisitions to which a unique source of supply has already been assigned.
    As for how to get STO requisition:
    http://help.sap.com/saphelp_47x200/helpdata/en/f4/7d2d4d44af11d182b40000e829fbfe/frameset.htm
    In MRP, multi-plant planning is carried out by means of special procurement keys. You assign the special procurement key to the material in the material master.
    In Customizing for MRP, you define the special procurement key in the IMG activity Define special procurement type (see also  Procurement Type and Special Procurement Type). You define the special procurement key at the material level according to plant, procurement type and special procurement
    Regards,
    Csaba

  • Automatic PGI and Invoice creation

    Hi Friends,
                   I had a requirement in SD area where once we create sales order, the PGI and Invoice process should run in the background ( Automation Process).  The scenario here is --  when we create sales order, the delivery document also gets generated.
    My approach --  for PGI and Invoice process, I need to develop the BAPIs. ( for Post Goods Issue and Invoice creation).
    After the creation of BAPIs, I need to call these bapis in the standard sales order creation process.
    Searched the forum on this issue. But cant find the appropriate answers.
    Please suggest me the solution for this issue.
    Murali Krishna. T

    You don't call anything else from the standard sales order process.  Sales order creation stands alone; every other process is a subsequent process.  Automatic delivery creation can be implemented by sales document type config, which it sounds like you already have in place, or you're using the delivery due list.  You also don't need another program for billing doc creation; use the billing due list program scheduled at certain intervals.
    The limitation on billing is the PGI if your copy control specifies that you can't bill until PGI occurs.  I don't understand why you would do this automatically, without confirmation that the shipment has left your warehouse.  If your items aren't really relevant for PGI, then you can configure them that way so that it's not required.  However, auto-picking and auto-packing are done via delivery output determination code using the functions WS_DELIVERY_UPDATE_*.  You might also try to PGI the delivery there as well with WS_DELIVERY_UPDATE.  Otherwise, just use table drop and trigger the WS_DELIVERY_UPDATE function for the PGI from a custom program; you can then run billing due as a second step in the job.

Maybe you are looking for