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
Similar Messages
-
Internal orders used in account assignment
Hi,
Pl let me know about internal orders used in account assignment. How it works?
Tx
UtsHi,
Posting to Cost Center and Internal Order
If you have added the field Internal order in the Asset Master as a statistical order and you want your depreciation
posted not only to the cost center but also to this order.
In transaction OAYR in the IMG you define how depreciation posts to the depreciation posting rules - there is a CO assignment box where you have to tick both cost centers and internal orders.
What is internal order? Explain with example and how it is related to cost center.
An internal order is used to accumulate cost for a specific project or task for a specific time period. An internal order is therefore used for a short period with a specific deadline.
Your internal order will usually settle to cost centers (and not visa versa) according to the settlement rule in the order setup.
An internal order can therefore be used to group all the expenses incurred to plan and hold a conference over a 3 month period. The order can be settled on a monthly basis to cost centers. When the conference is finished the order can be settled finally. The cost of the conference will then be spread over 2 or more cost centers, but can be viewed in total on the internal order when needed.
Internal Orders - It is an instrument used to monitor costs and, in some instances, the revenues of an organization.
Uses of Internal orders
Monitoring the costs of short-term jobs
Monitoring the costs and revenues of a specific service
On going cost control
Internal order categories
Overhead Orders
Investment Orders
Accrual Orders
Orders with revenue
Cost centers are not for specific job. e.g If you have open Trade-fair / exhibition (1 month period), then to allocate cost, you can use Internal Orders (Say IO) you can post to IO, and from their to various cost centers. If management were to ask you the cost of that exhibition, Internal Order will help you
Cost center is a responsible center in SAP. It cannot be defined as statistical but in transactions it may become as per other co objects.You will be able to find out the performance of the cost center using activities and plan values with actual value. This is lowest cost object in SAP. This will become a statistical object when you allocate the cost to other higher objects. Cost can be allocated to other cost centers or co objects but not fi objects like GL,assets, inventory etc. can be defaulted in transactions through cost element. It cannot be a cost object for a revenue element, revenues are always taken for other higher CO objects. No budget functionality is available but planning functionality is available and is always measured for a year in business.
Internal order is the second CO object - which can be defined as statistical or real. You will be able to define Budget and planning figures - more than one year also. Can control the postings of FI through budget controls. You can have the report of Plan vs actual including commitment. Cost cannot be allocated but settled through settlement rules and profiles. The receiver of the values can be any object not like Cost center - can be CO objects and FI objects. Ideal for R&D expenses capitalizations, etc. Status profile is linked to this which controls many individual transactions in each status which is a part of this Internal order. It can also receive postings of activities from Cost center. Settlement profile is an wonderful tool for variety of settlement - needed for FI and CO - legal requirements also and Revenue requirements also for any country.
All SAP CO orders like Production order, Plant maintenance order, etc will behave like Internal order with more functionalities.
Internal Order (Definition as per CO): -
An instrument used to monitor costs and, in some instances, the revenues of an organization.
Internal orders can be used for the following purposes:
Monitoring the costs of short-term jobs
Monitoring the costs and revenues of a specific service
Ongoing cost control
Internal orders are divided into the following categories:
Overhead orders - For short-term monitoring of the indirect costs arising from jobs. They can also be used for continuous monitoring of subareas of indirect costs. Overhead orders can collect plan and actual costs independently of organizational cost center structures and business processes, enabling continuous cost control in the enterprise.
Investment orders - Monitor investment costs that can be capitalized and settled to fixed assets.
Accrual orders - Monitor period-based accrual between expenses posted in Financial Accounting and accrual costs in Controlling.
Orders with revenues - Monitor the costs and revenues arising from activities for partners outside the organization, or from activities not belonging to the core business of the organization.
Thanks & regards,
Kiran -
Invoice get twice to internal order and to accounting
Hi All,
The order is invoiced once in CRM but in ECC internal order and in accounting the same invoice is getting twice.
Any idea how this is happening and how to resolve such cases.
Best Regards,
DPHi,
is the internal order a real order or a statictical one?
Regards,
Greta -
PSL not creating internal orders in ECC
Hi
We have a scenario were we are creating a Product Service Letter of type 'PSLH'.
We are creating Service Orders based on a template attached to this transaction type.
We also need to capture the cost for this PSL Type. But the system is not creating internal orders in ECC to capture the costs.
Please guide as to how the cost capture can work for product service letters of type 'PSLH'.
RegardsHi,
Please check the below link.(Controlling section)
http://help.sap.com/saphelp_crm50/helpdata/en/c1/704348030bc64b8b40118e10ad98f1/frameset.htm
as per this, integration of PSLH with ECC is not present, you may have to custom code it.
Regards,
Krishna -
i could not update my applications since the account that applied was when i was in the US...it says that i needed to change itunes store here in the philippines and how do i do that?
Click here and follow the instructions to change the iTunes Store country.
(87167) -
Add field 'asset' in sales order line item account assignment tab
Hi,
I would like to add the following field: 'asset' in sales order line item account assignment tab.
I can enter order, or wbs, but not Asset.
How can I make this field visable?
Anybody?
thanks,
klundert
Edited by: Eric Van Zundert on Oct 30, 2010 8:43 AMHi
There is perform which moves the values to VBAP field.
This PRCTR field is stored in VBAP (i.e., SO line item table)
USEREXIT_MOVE_FIELD_TO_VBAP
Hope it works.
VVR -
Billing user exit not letting internal order assignment
Hello,
I am assigning an internal order to a line item in billing user exit EXIT_SAPLV60B_004. But when the accounting document posts the IO field is blank.
System is letting me assign line item text using the same exit.
Please suggest a solution.
Thanks,
Sanjay W.Hi
Is the IO also available in Sales Order? I think the Sales Order Account Assignment has a priority over what you try to enter at the time of release to Accouting interface, specifically with relation to Account Assignment. Logically SAP will loose track if IO is not there in the Sales Order and you try to update the same through the Exit
Regards
Sanil -
Not Check Internal Order - Budgeting in ME21N
Hi Expert;
Please help me.
When PR is converted into a PO using account assignment:F, System do not check budget ???
Internal Order = 30007 and Budget = 100,000.
Thanks.Hi,
Have you activated Committement management in transection code KOT2_OPA, KOAO and OKKP
Regards,
Manish -
BAPI_PO_CHANGE not updating existing condition type value.
Hi,
I am using 'BAPI_PO_CHANGE' to update the existing condition records.
MOVE-CORRESPONDING wa_pocond_40 TO gt_pocond_40.
gt_pocond_40-change_id = 'U'.
gt_pocond_40-cond_value = '20'.
gt_pocondx_40-itm_number = <fs_pocond_41_new>-itm_number.
gt_pocondx_40-cond_st_no = <fs_pocond_41_new>-cond_st_no.
gt_pocondx_40-itm_numberx = 'X'.
gt_pocondx_40-cond_st_nox = 'X'.
gt_pocondx_40-cond_type = 'X'.
gt_pocondx_40-cond_value = 'X'.
gt_pocondx_40-currency = 'X'.
gt_pocondx_40-change_id = 'X'.
MODIFY gt_pocond_40 INDEX sy-tabix.
APPEND gt_pocondx_40.
I am using 'BAPI_TRANSACTION_COMMIT' also.
Still, the condition value is not changing.
what and where do u think is the problem?
Kindly assist.
Thanks.check the following link
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm -
PO should not exceed Internal Order Value ( Check Required )
Hi experts,
Ideally PO should not be made for more value than the sanctioned amount raised through Internal Order no ( KO01).
But we find that users are creating PO for more value than the sannctioned value in internal order no.
Check is required . Pl. suggest how it can achieved.
Regards,
( Rajneesh Gulati )Hi,
In SPRO
Controlling>Internal Orders>Budgeting and Availability Control-->Maintain Budget Profile
Maintain Budget profile and assign to the order type.(Controlling>Internal Orders>Order Master Data-->Define Order Types)
Maintain Tolerances in below path.
Controlling>Internal Orders>Budgeting and Availability Control-->Define Tolerance Limits for Availability Control
You can maintain the tolerance limits with which in PO, you can give error or warning message when the value exceeds.
Regards
Edited by: Varaghamurthy Chakravarthy Kannan on Sep 2, 2009 11:14 AM
Edited by: Varaghamurthy Chakravarthy Kannan on Sep 2, 2009 11:16 AM -
In service order Issu:No account assignment found for this service process
Issue:No account assignment found for this service process
An error has occurred in the system RT1400LS while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
Transmission log
No account assignment found for this service process (Notification E CRM_SRV_LOG_EXT_OLTP 008)
While we created the service order as a fallow up document of the quotation system unable to create the PR. System showing the above error in the service order.
We created the service order with same items directly not as fallow up document to quotation PR created with out any fail.
As per my analyses above error because system unable to find out the Internal order to create the PR hence we created service order as a fallow up document of the service quotation.
Revert require data to understand the issue more.
Best Regards,
PrakeshDear Gurus,
Thanks for your update. we checked as per your suggestion but the issue is PR is not determining the IO while creating the PR.
We used the different item cat in quotation and service order system generating the PR, But our Clint want to use the same item cat in the both service order and quotation.
If we created the quotation after that service order with the service line item and spare part line item system creating the IO (internal order) but PR not generating.
Please help me in this scenario what should we do.
Best Regards,
Prakesh. -
Cost center not committed on shopping cart, for account assign cat "Asset"
Hello,
We are implementing extended classic scenario in SRM 5.0 with ECC 6.0 backend.
While creating a shopping cart in SRM, in the cost assignment tab when we select an account assignment category as Asset", and then try to enter a value in the cost center in the basic details of cost assignment, it is not getting committed to shopping cart screen. The cost center field value is lost when we move to the next screen for ordering the shopping cart. For the asset related purchases, we are using main account assignment category as "asset" and it also requires cost center, because while the asset master record is being created in R/3 for these items,it requires the cost center. We also using internal order. So for the account assignment category "Asset", the other account assignment fields that can be entered are cost center, internal order and one custom field called "project code".
We have created this user-defined field in the cost assignment tab in the shopping cart, purchase order and confirmation documents in SRM in accordance with the OSS note 672960. We have implemented BBP_CUF_BADI_2 & BBP_DOC_CHANGE_BADI, BBP_DOC_CHECK_BADI for the shopping cart object.
Can someone please help me with this issue?
Thanks,
Krupathanks Ramakrishna and Yann for your prompt reply..
Ramakrisha,
I know that for assets, SC requires asset number and G/L is automatically derived from the corresponding asset class from the backend. In our case, we are putting dummy asset number in shopping cart and this asset number exists in R/3. But we are not generating asset creation during shopping cart creation but we are doing it during the PO creation in doc change badi. During this asset generation you also need cost center on the asset record. So we have added cost center field for Asset account assignment category and I can see it in the details of account assignment. But when I enter this cost center on shopping cart, it doesnot get committed, it disappears when I order the shopping cart.
Does anybody have any clue why this might be happening?
Thanks,
Krupa -
Sales Order/Item as Account Assignment in Accounting Doc.
I have a scenario where we are selling some services. Process is to create sales order --> Create billing document in reference to sales order & then release it to accounting. I am using materials of type DIEN( service) for the purpose and have customized the sales order / item category. Process is working fine till creation of accounting document but the accounting document is missing sales order/item in it [as account assignment]. I am not sure what config I am missing.
Attached file shows where I am expecting the sales order / item to be seen.
Please provide hints on this.
Thanks in advance.
SonalHi Sonal
If you want the billing doc to post in the sales order as cost object, then your GL has to be cost element and the account assignment category in Sales order must be E
Check the Requiremebt Type in the Procurement tab of sales order.
This RT is assigned to a Requirement Class and the RC is mapped to Acct Assgn Catg.
Spro - Cost object controlling - prod cost by sales order - control of sales order related.....
In this node you can see which RC is assigned to RT
Br. Ajay M -
Service order-Error during account assignment
HI experts,
I am facing a problem in CRM when saving Service Orders.
Issue:No account assignment found for this service process
An error has occurred in the system XXX while copying the document
Message no. CRM_ORDER_MISC 020
Diagnosis
Errors occurred while transferring the document into another system.To view the error messages,see the enclosed log.
Transmission log
No account assignment found for this service process (Notification E CRM_SRV_LOG_EXT_OLTP 008)
Actually,We have a problem about service order,how to integration with WBS element.
We can see Account assignment in service order item from GUI,but search help is nothing.
Account assignment is missing in UI.
If anyone know it,please share with me.
Thank you.Hi Fan Ding,
1. Would you please check the Controlling integration settings in CRM and ECC systems.
Most importantly, Replicate service characteristics relevant to controlling
Assigning cost centres to service org units
Establishing controlling type, controllin glevel and scenarios
Assigning plant and storage location to service org units
etc.,
2. Please check whether Sales/Service organization assigned to Billing unit and in turn the Billing Unit is assigned to company code or not.
Regards, -
Purchase Order Error in account assignment
Hi all,
I am running SRM 7.0 Extended Classic scenario for the creation of purchase orders.
Purchase Orders are correctly created in SRM and passed to ECC in our DEV system. But in our QAS system we are getting the following error in SRM Purchase Order:
BBP_PD 822 Error in account assignment for item 1
Any idea what I am missing in the QAS system?
Thanks
EzequielHi Jay, thanks for the explanation,
From our customer message SAP answered us that the error is coming from a Finance Validation that is checking that the field Segment (COBL-SEGMENT) in the Account assignment is filled with a value.
The call stack is the following:
13 FUNCTION BBP_PD_MSG_ADD SAPLBBP_PDH_MSG
12 FORM COBL_CHECK_ALL SAPLBBP_PDACC
11 FORM ACCOUNT_MAINTAIN_ALL_RECORDS SAPLBBP_PDACC
10 FORM ACCOUNT_F_CHECK SAPLBBP_PDACC
9 FUNCTION BBP_ACCOUNT_CHECK SAPLBBP_PDACC
8 FORM ITEM_F_CHECK_FROM_WTAB SAPLBBP_PDIAD
7 FORM ITEMLIST_F_CHECK SAPLBBP_PDIAD
6 FUNCTION BBP_ITEMLIST_CHECK SAPLBBP_PDIAD
5 FORM PROCDOC_DB_CHECK SAPLBBP_PD
4 FORM PROCDOC_CHECK SAPLBBP_PD
3 FUNCTION BBP_PROCDOC_CHECK SAPLBBP_PD
2 FORM DISPLAY_DOCUMENT BBP_PD
1 EVENT ATUSER-COMMAND BBP_PD
In form COBL_CHECK_ALL, error message is coming from calling function 'META_ACCSERV_CHECKACCASSIGNMT'
CALL FUNCTION 'META_ACCSERV_CHECKACCASSIGNMT'
EXPORTING
logical_system = p_com-logsys_fi
TABLES
bbp_cobl = t_cobl
exp_cobl = t_new_cobl "note 202684
return = t_return
control_record = control_record.
I think we have two ways to solve it:
1. If we manage to deactivate somehow this error in SRM, then when PO is generated the value will be mapped from PR in ECC.
2. This field Segment is not available in customizing for account assignments for SRM (table BBP_V_C_ACCFC). Is it any way to have it in SRM?
Can you suggest please,
Many thanks,
Thanks,
Ezequiel
Maybe you are looking for
-
After upgrading to mountain lion my calendar does not print in weekly mode anymore
after upgrading to mountain lion my calendar does not print in weekly mode anymore
-
Music in one room @ a time!!!!! what!!!
I recently got AirPort Express so that I could hear music in more than one room in my house! Please tell me I'm not the only person who just assumed that the whole point to this device is to have the same music playing in more than one room AT THE SA
-
When I print a document on Indesign CS5 on pdf it prints texts, images, but not the anchored objects! Can anybody help me?
-
Bill of exchange payable bank subaccount issue
Hello I have configured BOE Payables, but unable to see the list of accepted BIlls of exchange from vendors. Please guide me whether how to define bank sub account for payables like we define for receivables. Regards Keyin.12345
-
AOL always JUNKS mobile me messages
I have a persistent problem where any and all of my AOL recipients get my messages filtered into Junk Mail. Is the me.com domain always labels JUNK? Is there anyway around this form the senders side?