BAPI to maintain Internal Order

Hi.
   Which BAPI I can use to maintain internal order?I know there is BAPI_INTERNALORDER_CREATE for create.If there is no BAPI for this, then how can I maintain it?Using BDC?

Hi,
I could find ALE_INTERNALORDER_DB_CHANGE function module. I have not used this myself, plus this one looks like making changes to DB. So please analyze the impacts, before using this one for changes.
Regards
Sreekanth

Similar Messages

  • Bapi for changing internal order settlement rules

    Hi
    I'm looking for BAPI to add/ modify settlement rules in internal order (like in tc KO02). BAPI_ALM_ORDER_MAINTAIN seems not working, and there's only BAPI_INTERNALORDER_CREATE and GETITEM in internal order group ( there's no MAINTAIN ).
    Is there another BAPI to do this? of FM?
    regards
    Wojciech.

    Thanks for help but this links points to discussions abut creating internal order. I want to change one. BAPI_INTERNALORDER_CREATE does not allow to change orders ( i've just tested it.)
    regards
    wojciech

  • Maintain internal order settlement rule using LSMW

    HI ALL
    I want to do mass maintenance of internal order settlement rule. Settlement category is PSG.
    But when I use LSMW to do KO02, I only can input one settlement receriver, the first line will be overwritten by the second line.
    I also see BAPI INTERNAL_ORDER_CREATE,but cannot find PSG as a settlement category.
    Does anyone know how to do this?
    THX
    Deelia

    Hi Lian
    When you do recording, enter two settlement rules..
    Then, before pressing the "DEFAULT ALL" button, change the Field names for the 2nd settlement rule
    The problem you described happens because the field names for both settlement rules are same.. Hence, it gets overwritten
    Assume that field name for Order is AUFNR... You can change the field name in recording to ZAUFNR for one of the fields
    See the screen shot, wherein I changed the name of the recorded field to _01, _15 and _70
    Br. Ajay M

  • Internal order month wise Budget maintain

    Hi,
    Please tell me any one that can i maintain internal order Budget month (Period) wise update? In the transcation code KO22 show only Yearly budget.

    Hi ,
    In Standard SAP it is not possible to enter a monthly budget for internal orders via transaction KO22. You can only enter
    the budget anually.

  • Internal order - Error - Different logical system for order

    Hello all,
    I try to send IDoc (INTERNAL_ORDER) from system A to system B.
    I have done:
    - BD64 / WE20 / WE21
    But after having customizing I have got following error:
    Different logical system for order xxxxxx
    Message no. 2075ALE001
    Diagnosis
    Internal order xxxxxxx already exists in system B. Its master system B is different from the master system A of the new internal order to be distributed with the same order number xxxxxxx.
    System Response
    Internal order xxxxxxx with master system A cannot be distributed in system B.
    Procedure
    Check customizing for ALE for internal orders.
    How to solve this?
    My aim is to maintain internal order master data in test system.
    Thanks for your help.
    David

    I have found something.
    If I change in table AUFK, logical from empty to A (master) and I run IDOC then IDOC has been correctly integrated.
    Then: how to define "master"?

  • Internal Order Report - For the documnets when the cost ele. was not create

    Hi,
    We created internal orders for tracking capital expenditure relating to assets. At that time, we were not created asset GL's as cost element. Recently we created asset GL's as cost elements (category 90).
    Now we are getting the internal order report after creation of cost element for the transactions done thereafter. We mentioned the internal order number in PO but not in accounting document earlier. Now we are maintaining internal order number in accounting document also.
    So when we run OKBA we are getting CO document but, it is not tracking against internal order (since order number was not mentioned earlier). We executed one MM document in which internal order was mentioned through OKBB but there is no change in the internal order report.
    Is there any possibility to get the internal order report for the transactions done before creation of cost element.
    Please guide me
    Best Regards
    Madhusekhar Gupta G

    Hi,
    Thanks for your quick replies.
    Can we get the report as follows.
    1. Total Po's value for the internal Order (through Table EKKN)                                                      xxx
    Less: Value already posted to Internal order after creation of cost elements (S_alr_87013019)  xxx
    Less: Total Value to be invoiced (Tcode -ME2N)                                                                             xxx
    Net amount to be posted to Internal Order manually                                                                        xxx
    Is it correct?
    Regards
    Madhusekhar Gupta G
    Edited by: gms gupta on Feb 20, 2012 4:33 PM

  • Change status in internal order

    Hi,
    Does anyone know if there is a function module to change the System-status and user status of the internal order (tcode KO02)?
    Thanks.
    Lily

    The BAPI:BAPI_INTERNALORDER_SAVEREPLICA is used to update the internal Orders in general.
    Not sure if it updates the status as well:
    Where did you see that ?
    For me it is used to copy some io from one system to another one using ALE communication.
    (from tx bapi : Replicate Individual Internal Order (ALE))
    Correct me if i am wrong because i am searching the same thing as  Lily Wu.

  • Internal order change (Transaction : ko02)

    Hi All
    Do we have any function module or BAPI to change internal order transaction (Ko02)
    I am using function module ALE_INTERNALORDER_DB_CHANGE but it is not updating the transaction.
    Please guide me.
    Thanks.

    HI Vinay rao,
    chk this
    http://www.copacustomhelp.state.pa.us/infopak/nav/finance/grants%20management/file1465/index.htm
    Please check the frieght and taxes. I had this problem before because of unplanned expense on PR. Any way check KO22
    thanks
    karthik

  • Modifying Internal Orders

    Hi,
    I was wondering if there was a BAPI for modifying internal orders. Specifically appropriations as done in KO02. I'm access this from the .Net connector though that may not make any difference. Thanks in advance.

    Hi Aaron,
    Try these
    <b>BAPI_INTERNALORDER_CREATE</b> Create Internal Order From Transferred Data
    BAPI_INTERNALORDER_GETDETAIL Display master data, status, and allowed business trans.for internal
    BAPI_INTERNALORDER_GETLIST Display list of internal orders according to various criteria
    Regards
    Aneesh.

  • BAPI   for  Changing  Status of  Internal Order Tcode : KO02

    Hello Everybody ,
    I want to change   System status  of  Internal Order   Tcode  :  KO02 .
    I.e  if  status  are  REL  (  Released  )     then  I  want to make it as  CLSD ( Closed )    and  Vice  Versa .
    In     AUFK   ,
    AUFK-PHAS2    =    REL  (RELEASED )
    AUFK-PHAS3   =    CLSD  ( Closed )  
    this field we need  to set    as    'X'   as per our requriment .
    I used    FM    "  ALE_INTERNALORDER_DB_CHANGE  "  to   changing this  field  .
    but after excution  this   FM   ,  value of this field  is changed  but  when i see the  same order in  KO03    this is not  reflecting   but value  in AUFK  is changed   .  
    this  should not be happend  if the value is chage in Table AUFK  then   must be reflect  in  KO03  .
    I also used    BAPI_INTERNALORDER_SAVEREPLICA    for  Change Internal Order  but it's  no use  ....
    Please  suggest me  any  BAPI  as per  requriment   .
    ASAP
    Regards,
    Sandeep

    Hi  ,
    You are right   .... I   want to chage the status of internal  order  if  CLSD  then  it should  be  REL    and   vice-versa   .
    and things   I am  talkinG about is   that  'X  is maintained  in  table  AUFK-PHAS1  =  'X      for  REL   and  AUFK-PHAS3 =  'X' for  CLSD   .
    So my point is that  is there any  BAPI   of  FM    available    for changing  the  status   of  Internal Order  .
    from CLSD   to  REL  and from REL  to  CLSD   ?
    i used    this   FM   :    ALE_INTERNALORDER_DB_CHANGE  and 
    BAPI                    :    BAPI_INTERNALORDER_SAVEREPLICA                        But not getting output   .
    Regards,
    Sandeep

  • BAPI KPF6 POST PLAN COST FOR INTERNAL ORDER AND COST ELEMENT

    Hi all gurus,
    I would like to use in a custom report a BAPI/Function Module that help me to simulate KPF6 in order to post planning costs for internal order and cost element (layout 1-401).
    So the input should be:
    1) Version
    2) period from
    3) periodo to
    4) year
    5) internal order n.
    6) cost element n.
    7) value
    I found a lot of BAPI but don't know the correct one and how to use it (example how to fill the input value).
    Can anyone help me on that?
    Kind Regards

    In additio  to the previous I found the BAPI_COSTACTPLN_POSTPRIMCOST but don't know if it's the correct one and how to use it (some example fitting the my case will be very appreciated).
    If the quoted BAPI is correct.
    I tested it filling all fields as following:
    HEADERINFO:
    CO_AREA=FFCA
    FISC_YEAR=2008
    PERIOD_FROM=001
    PERIOD_TO=012
    DOC_HDR_TX='blank'
    INDEXSTRUCTURE:
    OBJECT_INDEX=000001
    VALUE_INDEX=000004 (hope this point at Interna Order)
    ATTRIB_INDEX=000000
    COOBJECT:
    OBJECT_INDEX=000001
    ORDERID=ZO53-08IMZ
    TOTVALUE:
    VALUE_INDEX=000004
    COST_ELEM=3224048
    FIX_VALUE= 200,0000
    DIST_KEY_FIX_VAL=2
    The Return table is set to 0. Nothing happens.....I suspect something related to indexstructure or index is wrong..
    Could anyone help me on that?
    Kind Regards

  • 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

  • BAPI for Depriciation simulation data of Internal order(Investment tab K01)

    Hi experts,
    I am new to asset accounting.
    I have to a requirement where in the Asset class(ANIA-ANLKL) and capitalization data(ANIA-AKTIV) will be provided to me in an input file for a particular internal order(AUFK-AUFNR) and through my custom ABAP code i have to create Depriciation simulation data  for that internal order.
    is there any BAPI/FM by which Depriciation simulation data   for internal order can be created ??

    Hi Heidi,
    I also have the same requirement as yours above. have you had an answer already? If yes, could you please share how can you deal with this requirement?
    Appreciated your help,
    Huyen

  • BAPI/Function Module for posting internal order + cost center plan

    Hi Guru:
    Is there any function module/BAPI, which could be used to post internal order + cost center( both of them )plan data?
    Like post a record:
    internal order = 10000
    cost center = C1000
    amount = 1000$
    for plann version 30?
    It seems the BAPI could only contain 1 cost object, either cost center or internal order.
    Thanks.
    Eric

    Hi again,
    I think you may have missed something important here. In R/3 there can only be a single "real" cost object for any one posting. If not then the whole SAP financail model would collapse as there would be "double postings" and that is certainly not wanted.
    If there is a need to post to two cost objects, like in your case, then one of the cost objects MUST be statistical.
    In your scenario SAP has thought of a solution that might be of help for you. An internal order can be set to be statistical in master data. When posting to both the cost center and the internal order then you will get a real posting for the CC and a statisitical posting for the IO. Reporting does work with this as per your requirement.
    Hope this gives you some hints for how to proceed.
    Regards, Johan
    Aaaaah. Noted that this was only plan data. Sorry. But the same still applies for plan data postings as well as for actual data postings. If there should be just one posting that could be "drilled down" from IO to CC -> If you post twice then, when doing "Grand total" for instance, double values would appear. So, still IO should be statistical. //Johan
    Message was edited by: Johan von Reedtz

  • BAPI to release a Internal Order CO

    Hi,
    i need a BAPI to release a Internal Order CO
    thanks
    regards
    Dayana

    Thanks for the reply.
    In these BAPIs..or FMs...we can add one material or a component...
    I want to add a main material...as a first one..
    then a component of it....so it goes on..
    say i have a main material and 10 components needed and created in a single production order...
    any info???

Maybe you are looking for