Function Module/Badi to change internal order

Hi All,
Can any one please let me knw the FM or BADI to change an internal order.

Hi Shilpa.
I would like to suggest a few,
BAPI_INTERNALORDER_CREATE - Create Internal Order From Transferred Data.
BAPI_INTERNALORDER_GETDETAIL - Delivers master data, statuses, and allowed transactions for internal orders
BAPI_INTERNALORDER_GETLIST - Delivers lists of internal orders according to various criteria.
BAPI_INTERNALORDER_SAVEREPLICA - Replicate Individual Internal Order (ALE).
A few more apart from BAPIs are -
ALE_INTERNALORDER_CREATE                                                                            
ALE_INTERNALORDER_DB_CHANGE                                                                         
ALE_INTERNALORDER_SAVEREPLICA                                                                       
IDOC_INPUT_INTERNAL_ORDER                                                                           
IDOC_INPUT_INTERNAL_ORDER_CREA                                                                      
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Edited by: Harsh Dave on Jul 14, 2008 2:37 PM
Edited by: Harsh Dave on Jul 14, 2008 2:40 PM

Similar Messages

  • I am trying to find a function module or BAPI for internal order change. I

    I am trying to find a function module or BAPI for internal order change. I did come across a function module ALE_INTERNALORDER_DB_CHANGE which directly updates the internal order using insert statements. Can i use this for internal order change or this is any other Function module for updating the internal order.
    I dont want to use BDC as a option. Please suggest.

    This is possible using the Rotator Component Widget from Infosemantics.com.au but it is only compatible with  SWF output, not HTML5.
    Go to this page and scroll down to the video tutorials about the Rotator Component widget:
    http://www.infosemantics.com.au/adobe-captivate/youtube-video-tutorials

  • Function Module to update the sales order header status

    Hi,
      I am looking for a function module to update the Sales order header status.
      Pls. let me know if anybody has used any FM to update the SO status.
    Thanks,

    By mentioning status do you mean Object status or Document status??
    For Object status you may use FM: STATUS_MAINTAIN
    For document status it changes according to flow.
    Regards
    Eswar

  • Function Module for .xlsx to Internal table

    Hi Gurus,
    Please let me know if there is any function module for .xlsx to internal table.
    Kind regards,
    Varun

    Hi,
    try the below FM's
    ALSM_EXCEL_TO_INTERNAL_TABLE
    TEXT_CONVERT_XLS_TO_SAP
    Thanks,
    Vinayaka

  • Bapi or function module to create a sales order in CRM 5.1 system

    Hi experts,
    Anyone knows any Bapi or function module to create a Sales order in CRM 5.1 system directly.
    Thanks.
    regards.
    Ruchi.

    hi ruchi,
    sory for the late respond, got a lot works to be done.
    based on my experience, you need several more information such as currency, uom for quantity, sales organization, etc.
    and honestly, i have never tried to create an order by just using 3 information ( sold to party, item, and quantity ),
    but i think it is possible because some of the information can be determined using configuration, but still some information is missing and the order that you create will have an error and you can't do next process of the order unless somebody fix / fill the information needed.
    just an idea, perhaps you need some z-tables to put your certain information needed for order creation and the information is maintained for each sold to party ( sold to party is a key of z-tables ) and each time order is created, all information will be query in this tables.
    and for this tables may be you can create an offline maintainance scenario using an adobe document. by this way, the sold to party can maintained all his/her/their information by them self.
    and by using this scenario, you can still maintain / create the order by programming ( perhaps using function module CRM_ORDER_MAINTAIN or else ).
    actually i want to implement in my company but don't have a chance becuase all has been set up and the management will think twice for implementing this scenario.
    hopes it hels
    cheers

  • Function Module to create a Sales Order in CRM

    Hi Experts,
    I want to create a function module which creates a Sales Order in CRM.
    As of now, I'm making use of the function module 'BAPI_BUSPROCESSND_CREATEMULTI'.
    I have product ID and Quantity.
    Please let me know what all rest of the fields are mandatory to create a Sales Order using this function module.
    Thanks in Advance,
    lakshman.

    Depending upon the configuration many things could be mandatory. Assuming no such things in your system, Process type (order type) is required and it is good to give the Sold-To business partner and the Org Details, for the Header information. For the item information, you need the Product and Quantity.
    In theory, in CRM, you can create a transaction and "save" it with lot of errors. So, even if you don't give enough information, you will have a transaction with error. You can later fix it the input to fix the errors.
    Best way to know is to use your SAPGUI (CRM Online) version crmd_order and find for your implementation.
    Easwar Ram
    http://www.parxlns.com

  • Function module for mass changes in Scheduling agreements in 4.7

    Dear All,
    Can any one tell me the function module for mass changes in Scheduling agreements in 4.7
    Regards
    MSR

    closing question

  • Bapi's or function modules to create, change( delete) partner functions

    Hi,
       Can anyone suggest BAPI or Function Modules for creating , changing the Partner Functions of the customer
    eg: To create customer XYZ as  bill-to-party of customer ZYX , i need  either a BAPI or Function Module.
    Thanks in Advance,
    Sabu

    Hi The following are the BAPI's to create and change the Partner Function.
    BAPI_BUS2001_PARTNER_CHANGE_M
    BAPI_BUS2001_PARTNER_CREATE_M
    Regards
    Vijay

  • Function Module/BADI

    Hi,
    We are implementing ESS for US.
    Our client wants the employee to create the Benefit adjustment reason in ESS itself wherein standard SAP does not have this provision.
    Hence kindly let me know the RFC Function module/BADI to create Adjustment reason and then follow the enrolment.
    I want the input parameters like employee number, date, adjustment reason.....
    3 input field

    check BAPI "EmployeeBenAdjReason.Create" or function module "HR_BEN_BENADJREAS_CREATE".
    it creates an adj. reason (IT0378) based on: Employee number, date of validity and adj. reason.
    note: you need to pass the adj. reason as a BOR object to the function module.
    Tiberiu

  • Function module for detailes description of Order and long text in task

    Hello gurus,
                       please help me with Function module for detaile description of Order and long text in task list(operation Tab)?
    regards,
    YK

    Hi, 
    You should be able to read the Order short text directly from table AUFK. The Order long text or task list long text can be read by using FM "Read_text". Use Goto> Header on every long text screen to identify the parameters that need to be passed hen using this FM.
    Regards
    Narasimhan

  • Function Module/Document to change Reversal date for FI  document.

    Can anyone please provide me with the Function Module/Document to change Reversal date for FI  document.

    Hi Vikram,
    Normally, you post a reversing document in the same period you posted the original document.  The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
    Regards,
    Manoj.

  • BADI or function module for updating open purchase orders

    Hi all,
    Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
    All helpful answers are highly appreciated!
    Regards,
    MV

    1 ) execute this program  in se38 .enter the input as transaction code  for which you want list of User
    Exit.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    2) Second way is to go to transaction code SE93 .enter transaction code click on display.
    There you will see the package. Copy that package name.
    Go to transaction code se84
    Enhancements -customer exits-enhancementsu2014enter package there and execute.
    You will get list of exits.
    3) BAPI for PO change is
    BAPI_PO_CHANGE

  • BAPI or FM for CHANGING Internal Order

    Hi all,
    I am looking for a BAPI or Function module for changing a End of Work field (DATE field) for that Internal Order.  Transaction for internal order KO02
    Please suggest.
    Edited by: Anu on Jul 6, 2009 3:30 PM

    Look at [BAPI_INTERNALORDER_SAVEREPLICA|https://forums.sdn.sap.com/search.jspa?objID=c42&q=BAPI_INTERNALORDER_SAVEREPLICA] (parameter MASTERDATA field DATE_WORK_ENDS)
    Regards,
    Raymond

  • Changing internal order's via Inbound IDOC

    Hi,
          We are having Inbound interface set for creating internal order's using message type 'INTERNAL_ORDER_CREATE01'.
           But when any existing internal order is changed it is giving status 51 with error 'Order already exists'.
          I am wondering how can we handle the changed order situation via inbound IDOC . Is it possible to do it via message type 'INTERNAL_ORDER_CREATE01'.
    Regards,
    ganesh

    Hi ganesh,
    The idoc Status 51 for indound idoc is....
    51 Application document not posted
    the possible solution is checkthe Partner profile for the Idoc and Port number..
    and go to T_code we20 and check the Partner.and check the Syntax in the application tool bar...
    then you will come to know the problem..
    and if you wan to changed order situation via inbound IDOC , yes it is possibel.
    go to t-code we57 and check the Function module attached to the message type .
    and go to FM and find hte customer exit and read the segment which contains order situation and modify the segment..
    i hope this will solve the problem..
    Regards,
    Prabhudas

  • Function module for maintaining a PM order

    Hi all,
    We are working in version 4.6 C. The BAPI to maintain a PM order 'BAPI_ALM_ORDER_MAINTAIN' is not available here. Is there any other function module/ BAPI which I can use to maintain the PM order.
    Any pointers related to this would be appreciated.
    Regards,
    Manasee

    Hi,
    You can download them i guess, and you can upload
    OSS Note  <b>655926</b> is important.
    check this thread.
    Re: BAPI for service order create/change
    Regards
    Vijay D T T

Maybe you are looking for

  • Icons in alv report....

    Hi all, I am creating an ALV report using oops concept all the things are working fine but i can not able to see all the icons enabled (icon for sum and and the next to that both are disabled) plz give the solution ASAP.... Thanks and Regards Ashu

  • Since upgrading to Firefox 6 my computer has gone from staying up until yearly power failures to crashing many times a day.

    VERY strange. I upgraded to 6 when it came out and it took me quite a few days later to figure out WHY I went from no crashes to nvidia driver crashes MANY times a day. It was firefox 6.0. I thought my nvidia drivers were out of date. They were one v

  • Bridge to Elements

    How do i change the default setting when i open a photo in from bridge to go straight to elements 10

  • CME GUI ISSUE

    Hi , We have a CME set-up for one of our location. Since last few days whenever we are trying to access  CME through WEB , we are getting " javascript:void(0)" error. No issue with WEB login , but option are not clearly visible once we login. If I cl

  • Viewing average throughput of rtp stream

    Hi!! I'm trying to write a program that streams audio and is able to view the average bit rate streamed from transmitter to receiver. Anybody have any help on this for me no matter how little or big the help is? Also, let's say if I use the getbitrat