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.
Similar Messages
-
BAPI_PO_CHANGE not updating internal order no. in account assignment
Hi,
I am using 'BAPI_PO_CHANGE' to update the internal order no.
I am first fetching the existing account assignment line items using 'BAPI_PO_GETDETAIL1' and then modifying the internal order no. as below.
lt_poaccount-orderid = '310021000000'.
MODIFY lt_poaccount INDEX lv_poacc_tabix TRANSPORTING orderid.
lt_poaccountx-po_item = gt_po-ebelp.
lt_poaccountx-orderid = 'X'.
APPEND lt_poaccountx.
but while calling the BAPI, the original values are returned and the message is 'No Data Changed'.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = gt_distinct_po-ebeln
TABLES
return = lt_return
poaccount = lt_poaccount
poaccountx = lt_poaccountx.
(The internal order no. is different than the original)
Can somebody please assist me on this?
Thanks in advance.Hi Kumar,
I recommend you to try changing the internal order manually through transaction ME22N and see if that is possible in your system first.
After that if that isn't possible you should contact your MM Expert for advise.
Regards,
Gilberto Li -
How to create a service order and check the internal order in R/3
Required Solution:
1. How to copy existing service order and create new one and check the internal order in R/3, whether the certain service order is correctly created in r/3, can you polease explain the steps plz.
2. If i am creating service order by service template finally the service order is getting created but it is not showing me in the table iaom_crm_aufk, how to check this.
can any one help me in this issues as soon as possible.Hello Zita,
Try to restart your portal after creating <b>ServiceUser</b> in both UME and KM.
One more major difference between ServiceUser and normal portal user is that a ServiceUser does not have a UserAccount (IUserAccount)
Object serviceContext = null;
try {
serviceContext = AccessController.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws WcmException {
return ResourceFactory.getInstance().getServiceContext(CONTRACT_SERVICE_USER);
} catch (PrivilegedActionException e) {
logger.severe(e, "ResourceContext for the technical " + serviceUser +
" user could not be retrieved.");
IResourceContext resCtx = (IResourceContext) serviceContext;
So I modify all KM resources with this resCtx.
Hope this helps ...
Greetings,
Praveen Gudapati
p.s. Points are always welcome for helpful answers -
Block creation of new Internal Order Type
Hello,
We have several internal Orders types and we want to block the creation of new IO. Is there any way through customizing to do that?
I have considering to do it using an step in a validation but I think can be a better way.
Thanks,Hi,
Ravi is right, you can restrict through authorizations. To do that, you have to modify the role assigned to users that allow them to create internal orders of any type. Use the transaction SUIM, search the role by user or by transaction (KO01). Then, in the role, there is an entry that corresponds to Controlling (CO) -
> CO-OPA: General authorization object for internal orders (K_ORDER) -
>
Order Type (AUFART) : Select for example RA01
Internal order authorization (AUTHPHASE) :
Actions for CO-OM Authorizatio (CO_ACTION) : 0000 Master Data.
Cost Element (KSTAR) :
CO-OM Responsibility Area (RESPAREA) :
Usually a BASIS do the modification of the role.
Regards,
David Z. -
Internal Order Settlement to GL account
Hi,
I am trying to settle a Internal order to a GL account. A cost centre is also mapped in automatic account assignment for this GL account.
Everything is fine but the settled cost is not appearing in cost centre report. But there is an statistical posting on this report.
I want to see the real psoting on cost centre report and not statistical postings.
Any advice or workaround....
Thanks a lot.
GovindWhy are you posting to a GL? Where did the Internal Order gets its costs from? Something doesn't make sense here.
Modify your settlement rule by creating a settlement to this Cost Centre. As long as your Allocation Structure is defined well, you don't need to mention a Cost Element. Make sure the Settlement Profile, etc. are defined and assigned to the Order Type etc. That config I hope is in place.
Now run your settlement and it should work well.
Cheers. -
Hi!
I really need some info if there by any chance SAP has standard transaction for mass data change of internal orders (more particular, distribution rules in settlement rule section, which can be found in <b>KO02 transaction</b> ).
I am trying to change distribution rules for settlement receivers in <b>settlement rule section</b>, that is finish past distribution rules by filling TO PERIOD and TO FISCAL YEAR fields on the right of each rule, and then entering new rules (which i get from external source -flat file, ms excel, csv...).
If i wanted to import data in SAP i guess i would have to develop a Batch Input. But that would take me some time to develop because it is pretty complicated.
I found tcode KO08 but i do not really know how to use it. Maybe there is another tcode that i am not aware of?
I would appreciate any suggestions!
Thnx, UKHi Srilakshimi,
If you are familiar with MASS transaction, then you can modify User Responsible field for Internal Orders from transaction KOK2.
As first step you must create a selection variant in order to define which orders you want to modify. Once selection variant was created, excute transaction with it and you'll get a screen similar to MASS transaction. Select the field you want and massively replace it. Do not forget to save.
Best Regards!
Mgitur -
Impute revenue to Internal Order from SD
Hi Experts,
Is it possible to impute revenues to Internal Order from SD? Is necessary some configuration?
Thanks in advance.
José LuisIf your cost of sales account is not setup as a cost element (which it shouldn't be if you are using cost based COPA), then you will need to created another cost of sale G/L account which does have a cost element and use that account for this transaction. The G/L account that is selected for cost of sales is based on the movement type selected in the sales transaction and the valuation class assigned to the material.
The easiest way of having the system find a different G/L account for this is to use a material in the sale transaction with a different valuation class that can be assigned to this new G/L account. You can use transaction code (FBKP) to assign the G/L account to the correct account modifier for that valuation class.
If you can't use a different valuation class (because this material is used in other situations as well), then the process is more complicated. You will need to have the sales transaction find a different movement type for this so that you can assign a different account modifier and G/L account. You will probably need to work with your S/D consultant to make this work, but I'll take you through some of the steps.
In the standard system, movement type 601 is usually used to issue the inventory against the delivery and record the cost of goods sold accounting posting. The trick here is to assign a different movement type to this speicific transaction. The movement type is assigned to the schedule item category that is assigned to the sales line. The schedule item category is derived from the item category, so you may need to have your S/D consultant create a new item category, a new schedule item category, and a new movement type for you. Now that you have a new movment type, you assign a account key and modifier to the movment type. From there assign the correct G/L account to the account key and modifier for your valuation class.
thanks, -
Internal order settlement query
Hi Experts,
I have settled the internal order to an Asset,
my requirement is, the value should also be viewed even after settlement in t code - S_ALR_87013019.
How this would be possible.
Thanks
SKKSHi Sudhir
You would see it here, S_ALR_87012993 - Orders: Actual/Plan/Variance
Report S_ALR_87013019 has a different purpose.. That is meant for BUdgeting
You cant modify the Standard 3019 report... You can create a Z Copy of if for your purpose
GRR3 -> Library 6O1 - > Report 6O00-001 is the report behind 2993 T code
GRR3 - > Library 6O2 - > Report 6OBU-001 is the report beind 3019 T code... See if you can create a copy of it and include the Credits as done in 2993
Br. Ajay M -
Hi Folks,
Please clarify below:
1) Internal Order Budget is updated / modified in t-code KO22. Below fields are displayed for budget balances:
a. Budget
b. Transaction Currency
c. Current Bedget
d. Assigned
e. Planned Total
f. Cumulative
g. Remainder (Balance)
Question: From which transparent table we can extract the "Remainder" budget amount for each internal order. I saw that there is structure named BPDY. Couldn't find any tranparent table that has internal order - budget balance.
Kindly provide your inputs.
Thanks,
Sreeni.It can be a functional module which calculates the balance
-
Dear Users,
We have an issue, we created PO against Cost Center and now we want to book its expenses(MIR7) against internal order. So if possible suggest me any solution for this.
Thanks,
Manoj.Hi
The only other way is to post a manual JV for such a PO where in you debit the expense account with reference to IO and credit the cost center with expense account. Now do the GRN against the PO with reference to Cost Center.
If you cannot modify the PO, unfortunately, this can be the only way out.
Regards
Sanil Bhandari -
Budget removal for Internal Order
Dear,
I had assigned budget to an internal order for year 2007. But now i am trying to remove that budget using Tcode K026. While selecting time frame system is giving error and asking me to select period only between 2008 to 2014.... Why this is so?
How to remove budget assigned for year 2007Hi,
I guess, your budget profile does not allow to touch budget 2 years after the current year. You can change the budget profile in customization (IMG - Controlling - Internal Orders - Budgeting and Availability Control - Maintain Budget Profile) and then modify your budget.
Regards,
Eli -
Internal Order match-code fail becuase Upper-Lower case
Hi
I'need to search Internal Order using a piece of teh Order description.
Unfortunately the description COAS-KTEXT is case sensitive, and the Order is not found if Upper/lower case rules are not respected. I Have create a new Z match-code, bust this has the same problem.
Any Idea to solcve thsi issue ???
Thanks for your help.
ClaudioHello
pls check OSS note 75233, is decribed the solucion you are looking for.
Solution
Check whether an F4 search for short text is required.
You must then either allow for the fact that the selection criteria "short text" is case-sensitive, or you can change all the short text to uppercase. This change is then effective during all displays and entries of the short text for the order and cannot be reversed. Any information which is provided in lowercase letters is then lost.
You should also consider creating an index for the field AUFK-KTEXT.
If you want to change to uppercase letters, proceed as follows:
1. Modify the table AUFK. The field KTEXT requires another data element with a domain in which the flag "lowercase letters" is not marked. The most effective solution is to copy the data element and the domains and in addition to the descriptions, change only flag "lowercase letters"
This change means that for overhead cost orders (transactions KO01, KO02) only short text in uppercase letters can be recorded.
2. To change the already existing database entries to uppercase letters run report RDOTXT2U which is contained in the standard program and the current version of which is shown below. Please read the documentation for this report. -
Internal Order Budget Check for PO with reference to PR / RFQ
Hi All,
I have a scenario where the budget availability control is not working for PO created with reference to PR or RFQ. While creating the PO if i modify the PO value more than RFQ or PR value then system is looking for budget control.
If we create a direct PO system is checking for Budget control where the PO value is more than availability budget.
We have the budget control check with internal order for services and non stock material based on substitution rule created for cost element group and cost center group.
In tolerance limits budget availability control we have not activated for PR, itu2019s activated from PO.
Kindly let me know what is the reason for budget availability control is not active where the PO is created with reference to PR or RFQ.
Thanks & Regards,
Rama Mohan493900 - FAQ: Release Strategy:
It is not possible to create a purchase order if the referenced purchase requisition is not released. But the system allows you to put the purchase order on hold and then release the purchase requisition.
On the other hand you can create a purchase order with reference to an unreleased request of quotation. -
hi,
I have just configurated internal order. But when I tried to post document in fb50 or fb60 with internal order number, i got the following error;
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
when i refer to ST22 and how to correct the error the messege is as follows;
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLKAID" or "LKAIDF0B"
"MESSAGE_SEND"
Can you please manage me to solve the problem?HI,
any message number information (Message number KI xxx) for this short dump?
Check SAPNET note 370250, maybe the trace described there is helpful.
best regards, Christian -
How can I undelete an internal order - error KO444
We have an internal order that is marked for deletion. I need to undelete to modify some of the content as it is being referenced by another process and causing an error
However when I go to KO02 I get error message
Order R00765436 is flagged as "deleted" -> display only
Message no. KO444
So I can't modify the order because it is flagged as deleted but I can't undelete as it is flagged as deleted !
ANyone know how I can undelete?Run this program: ZKLOEKZ
*$*$ $*$*
*$ Correction Inst. 0120024545 0000135593 $*
*$ $*
*$ Valid for : $*
*$ Software Component SAP_APPL SAP Application $*
*$ Release 30F All Support Package Levels $*
*$ Release 31G To SAPKH31G13 $*
*$ Release 31H All Support Package Levels $*
*$ Release 31I All Support Package Levels $*
*$ Release 40A To SAPKH40A25 $*
*$ Release 40B All Support Package Levels $*
*$ Release 45A All Support Package Levels $*
*$ Release 45B All Support Package Levels $*
*$ Release 46A To SAPKH46A34 $*
*$ Release 46B All Support Package Levels $*
*$ Release 46C All Support Package Levels $*
*$ Release 310 All Support Package Levels $*
*$ Release 470 All Support Package Levels $*
*$ Release 500 All Support Package Levels $*
*$ Release 600 All Support Package Levels $*
*$ $*
*$ Changes/Objects Not Contained in Standard SAP System $*
*$*$ $*$*
*& Object REPS ZKLOEKZ
*& Object Header PROG ZKLOEKZ
*& PROGRAM ZKLOEKZ
*>>>> START OF INSERTION <<<<
PROGRAM ZKLOEKZ.
TABLES: vsaufk, aufk.
SELECTION-SCREEN: ULINE,
COMMENT /1(72) LINE1,
COMMENT /1(72) LINE2,
COMMENT /1(72) LINE3,
COMMENT /1(72) LINE4,
ULINE, SKIP 1.
PARAMETERS:
TESTMODE DEFAULT 'X' AS CHECKBOX.
SELECT-OPTIONS:
order FOR vsaufk-aufnr MATCHCODE OBJECT orde.
DATA: count LIKE sy-dbcnt.
DATA: BEGIN OF auf OCCURS 1.
INCLUDE STRUCTURE vsaufk.
DATA: END OF auf.
DATA: BEGIN OF status OCCURS 1.
INCLUDE STRUCTURE jstat.
DATA: END OF status.
INITIALIZATION.
MOVE 'ATTENTION !!!' TO LINE1.
MOVE 'SAP does not accept responsibility for problems that' TO LINE2.
MOVE 'might arise from the use of this report !' TO LINE3.
MOVE 'Please see note 196637.' TO LINE4.
START-OF-SELECTION.
SELECT * FROM vsaufk INTO TABLE auf
WHERE aufnr IN ORDER
AND stat = 'I0013'
AND ( autyp = '01' OR autyp = '04' )
AND loekz = 'X'.
status-stat = 'I0013'.
status-inact = 'X'.
APPEND status.
IF sy-subrc <> 0.
WRITE 'No internal/CO-production orders found !'.
EXIT.
ENDIF.
LOOP AT auf.
CALL FUNCTION 'STATUS_CHECK'
EXPORTING
objnr = auf-objnr
status = 'I0013'
EXCEPTIONS
status_not_active = 2.
IF sy-subrc = 2.
WRITE: / 'Order ', auf-aufnr, ': Deletion indicator not active.'.
CONTINUE.
ENDIF.
IF testmode IS INITIAL.
CALL FUNCTION 'ENQUEUE_ESORDER'
EXPORTING
aufnr = auf-aufnr
EXCEPTIONS
foreign_lock = 1.
IF sy-subrc <> 0.
WRITE: / 'Order ', AUF-AUFNR, ' is currently blocked.'.
CONTINUE.
ENDIF.
CALL FUNCTION 'STATUS_CHANGE_INTERN'
EXPORTING
objnr = auf-objnr
TABLES
status = status.
CHECK sy-subrc = 0.
UPDATE aufk SET aenam = sy-uname
aedat = sy-datum
WHERE aufnr = auf-aufnr.
IF sy-subrc <> 0.
WRITE: / 'Order ', auf-aufnr, ': Error during AUFK-Update.'.
ENDIF.
ENDIF.
WRITE: / 'Order ', auf-aufnr, ': Deletion indicator removed.'.
IF NOT testmode IS INITIAL.
WRITE: ' - Testmode'.
ENDIF.
ADD 1 TO count.
IF count = 100.
IF TESTMODE IS INITIAL.
COMMIT WORK.
ENDIF.
CLEAR count.
ENDIF.
ENDLOOP.
IF TESTMODE IS INITIAL.
COMMIT WORK.
ENDIF.
SKIP 1.
WRITE: 'Program finished.'.
*>>>> END OF INSERTION <<<<<<
Maybe you are looking for
-
Never before had a problem with iTunes 10.1.1 seeing my iPhone. Recently updated my 10.5.8 system to 10.6.6 by installing it over the 10.5.8 system. Everything went well until I discovered that iTunes 10.1.1 wouldn't recognize my iPhone when I connec
-
My ipad is not recognized by iTunes on my mac
Need your help gang. I connect my Ipad to my Mac and initialize Itunes. From Itunes it seems it is not recognized. My UPS conx works as it shows the battery symbol and starts to charge (92% charged). My Macbook Pro is 10.8.3 and Itunes is ver 11.0.2
-
What is the path and filename where the profile paths are stored?
I currently am storing my profiles on a network drive. Due to some changes coming up in my home network I need to relocate them to a different drive and drive letter. I know there is a file in Firefox that has the locations of the profiles in it. I n
-
CallableStatement.getResultSet()
My Code: cstmt = dbConn.prepareCall("{ call by_tick_nbr1(?, ?) }", ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); cstmt.setInt(1, Integer.parseInt(ticketNum)); cstmt.registerOutParameter(2, Types.VARCHAR); cstmt.execute(); System.out.print
-
Convert scanned handwriting (raster) into digital ink (vector)
Do any of the Adobe products (or any other software) convert raster based images into vector... specifically I am wanting to convert pages of scanned handwriting into digital ink (NOT editable text). I will then use a suitable tablet and stylus to a