CJ40/BADI/ BT events in CJ40 for transfering the Cost Planning Data
Hi ,
I need urgent help as i am unable to find any User Exit, Badi or BT events for CJ40 as my reuirement is to transfer the Cost Plannign Data into some third party System at the time of creation of Planning, so kindly help me in findinf out the Solution ASAP
Thanks in Advance
Thanks for reply,
But it is also shoing same error...
Combination T3329SOP-REV-MEXP-TRV/1399999 edited using detailed planning
Message no. K8043
Diagnosis
The characteristic combination T3329SOP-REV-MEXP-TRV/1399999 for version 005 in fiscal year 2011 was processed through detailed planning.
The plan data can only be changed by choosing Edit -> Detailed planning -> Change/Display.
System response
The entry readiness was cancelled
Pl help me this regards, why syste, block this perticuler cost element 1399999 for the year 2011 only and for this wbs only.
Thanks in Advance..
Similar Messages
-
Looking for ideas for transferring large amounts of data between systems
Hello,
I am looking for ideas based on best practices for transferring Large Amounts of Data in and out of a Netweaver based application.
We have a new system we are developing in Netweaver that will utilize both the Java and ABAP stack, and will require integration with other SAP and 3rd Party Systems. It is a standalone product that doesn't share any form of data store with other systems.
We need to be able to support 10s of millions of records of tabular data coming in and out of our system.
Since we need to integrate with so many different systems, we are planning to use RFC for our primary interface in and out of the system. As it turns out RFC is not good at dealing with this large amount of data being pushed through a single call.
We have considered a number of possible ideas, however we are not very happy with any of them. I would like to see what the community has done in the past to solve problems like this as well as how SAP currently solves this problem in other applications like XI, BI, ERP, etc.Primoz wrote:Do you use KDE (Dolphin) 4.6 RC or 4.5?
Also I've noticed that if i move / copy things with Dolphin they're substantially slower than if I use cp/mv. But cp/mv works fine for me...
Also run Dolphin from terminal to try and see what's the problem.
Hope that help at least a bit.
Could you explain why Dolphin should be slower? I'm not attacking you, I'm just asking.
Cause I thought that Dolphin is just a „little" wrapper around the cp/mv/cd/ls applications/commands. -
Gui_download for transferring the data from internal table to excel sheet.
hi all,
i am using gui_download for transferring the data from internal table to excel sheet.
I have a internal table with 3 columns col1,col2,col3 and I am getting the file at the specified path,but my problem is that,in the excel sheet(path specified) all the 3 columns values are printed in one column.Please help me.
Thanks in advance.Hi Venkata,
plz use FM 'SAP_CONVERT_TO_XLS_FORMAT' :
call function 'SAP_CONVERT_TO_XLS_FORMAT'
exporting
* I_FIELD_SEPERATOR =
* I_LINE_HEADER =
i_filename = p_file
* I_APPL_KEEP = ' '
tables
i_tab_sap_data = t_mbew
* CHANGING
* I_TAB_CONVERTED_DATA =
* EXCEPTIONS
* CONVERSION_FAILED = 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.
Hope this helps,
Erwan -
Tablesstoring the cost planning quantities distributed over periods in CJ40
Hello experts,
Can u tell me the tables in which the cost planning quatities distributed over periods in CJ40 transaction are storedHi
RPSCO is table where you can see the cost& revenue.
Use PROJ get object no. and then enter this object no. in rpsco.
hope this is useful.
Regards,
KP. -
SAP standards for retriving the Material Master Data
Can someone provide me list of all SAP standards for retriving the Material Master Data with respect to views.
Standard Reports
Function Modules
RFC's
BAPI's.
T.codes
Sample code's
useful answers will surely be awarded.
Regards
VinayakHi,
These are the standard BAPI's for Material master.
BAPI_MATERIAL_DELETE Flag Material for Deletion
BAPI_MATERIAL_DISPLAY Display Material
BAPI_MATERIAL_EDIT Change Material
BAPI_RETAILMATERIAL_CREATE Create Material
BAPI_RETAILMATERIAL_DELETE Discontinue Material
BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
BAPI_MATERIAL_SAVEREPLICA BAPI for Mass Maintenance of Material Data
BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data
BAPI_MATERIAL_EXISTENCECHECK Check Existence of Material
BAPI_MATERIAL_GETBATCHCERT Create Quality Certificate for Batch in Portable Document Format (PDF)
BAPI_MATERIAL_GETBATCHES Create Batch List for a Material
BAPI_MATERIAL_GETCHARMERCHHIER Supply Characteristics of Retail Material for Material Group Hierarchy
BAPI_MATERIAL_GETINTNUMBER Assign New Internal Numbers for a Material Type
BAPI_MATERIAL_GETINTNUMBERRET Assign New Internal Numbers for a Material Type for Retail Materials
BAPI_MATERIAL_GETLIST Supply List of Materials for Search Criteria Transferred
Thanks., -
Best practice for implementing Manufacturing Cost Planning ( MCP)
is there any best practice for implementing Manufacturing Cost Planning ( MCP) using BI-IP?
Hi:
Both options are viable. If you reverse posting in FB50 then FI GL account postings will also be reversed and along with cost center postings. Hence here advantage is that cost center reversal will be with referenced to the original document with which wrong posting were made. Disadvantage here is that you will to post the entry again in FB50 . In KB11N you will simply transfer cost center amount from wrong to new one that should be in place of it but here you will have no reference . I personally think reversing posting through FB50 is viable options , reverse postings can be seen in KSB1 as well against that cost center.
Regards -
User Exit/Badi to change the billing plan date when create sale order
Experts,
Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.Hi,
check the include MV45AFZB.
Thanks & Regards,
Sateesh. -
Best practices for using the 'cost details' fields
Hi
Please could you advise us to the best practices for using the 'cost details' field within Pricing. Currently I cannot find the way to surface the individual Cost Details fields within the Next Generation UI, even with the tick box for 'display both cost and price' ticked. It seems that these get surfaced when the Next Generation UI is turned off, but cannot find them when it is turned on. We can see the 'Pricing Summary' field but this does not fulfill our needs, as some of our services have both recurring and one-off costs.
Attached are some screenshots to further explain the situation.
Many thanks,
Richard ThorntonHi Richard,
If you need to configure dynamic pricing that may vary by tenant and/or if you want to set up cost drivers that are service item attributes, you should configure Billing Tables in the Demand Management module in 10.0.
The cost detail functionality in 9.4 will likely be changed to merged with the new pricing feature in 10.0. The current plan is not to bring cost detail into the Service Catalog module. -
Precaution for releasing the cost estimate
Hello friends,
What are the precautions to be taken for releasing the cost estimates.
Like any delivery are done and invoices to to made in Sales.
What are the other precautions. Please let me know, as we have to release the cost estimate in production.
Regards,
SKHi,
do you mean released to standard price?
1: cost estimate needs status "costed without error".
2: marking allowance in CK24 must be set for company code/period for the costing variant used.
3: Costing variant is assigned to a costing type that allows price update to standardprice.
4: Cost estimate is marked (without errors).
Aftre that its possible to release the cost estimate to S-price.
best regards, Christian -
Outbound interface for transfering the payroll results
Hi everyone,
Can any one provide me with the Outbound interface program for transfering payroll data, to the third party submission.Hi kiran.
Try PU12.
Manoj Shakya.
Technical-Fuctional Consultant
SAP-HR
******(Useful answers should be rewarded) -
Price for calculating the Cost of freight
Hello experts, would like to help, to calculate the cost of shipping by VI01 the system chooses a particular table price registered in TK11 based on the date of creation of the transport document. Is it possible to get the date of organization of transport? You know where to configure this item?
Tks,
TatianeI don't think the creation date is used to determine the price condition record - the pricing date should be used for that purpose.
Other thing is that the pricing date may equal the creation date.
Please check the setting of your shipment cost document item category in:
SPRO > LE > Transportation > Shipment Cost > Shipment Cost Document > Shipment Cost Types and Item Categories
Here choose "Define Item Categories" and check field "Pricing Date" of suitable item category (V_TVFT-DATPR).
Regards,
Csaba
(you can give the pricing date manually on selection screen in VI01)
Edited by: Csaba Szommer on Mar 3, 2010 9:43 AM -
ABAP Code for Backup the entire table data in the application server
Hello Friends,
I have to create the table data Backup and Store the entire table data in the application server and also be able to restore the data back if needed.
this should be dynamic program for any table based on the table name given on the application server.. I have developed a program for this but its having problems with the Quantity, amount. Its not writing it correctly at the application level.
ANy Suggestions on this.
Below is the program for this.
Thanks,
Ster.
* Report YWMM_TABLE_DUMP *
REPORT ywmm_table_dump .
TABLES :
dd03l.
* Type spool declaration
TYPE-POOLS:
abap, slis.
DATA: i_table_data1 TYPE REF TO data.
DATA : it_dd03l LIKE dd03l OCCURS 0 WITH HEADER LINE.
*DATA : gt_fieldcat TYPE lvc_s_fcat.
DATA : i_fcat TYPE STANDARD TABLE OF lvc_s_fcat,
l_dr_line TYPE REF TO data,
l_v_as4vers TYPE as4vers.
FIELD-SYMBOLS: <f_table_data1> TYPE STANDARD TABLE,
<f_wa_table_data1> TYPE ANY.
SELECTION-SCREEN: BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
PARAMETERS: rb_copy RADIOBUTTON GROUP map DEFAULT 'X',
rb_rest RADIOBUTTON GROUP map.
SELECTION-SCREEN: END OF BLOCK bl1.
SELECTION-SCREEN: BEGIN OF BLOCK bl2 WITH FRAME TITLE text-002.
PARAMETERS: p_table TYPE tabname OBLIGATORY,
p_plfld TYPE dd03l-fieldname.
SELECTION-SCREEN SKIP 1.
PARAMETERS: p_bkfile TYPE localfile OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK bl2.
PERFORM get_data.
IF rb_copy = 'X'.
PERFORM backup.
ELSEIF rb_rest = 'X'.
PERFORM database_update.
ENDIF.
*& Form get_data
FORM get_data.
CLEAR i_fcat.
REFRESH i_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = p_table " Table Name
CHANGING
ct_fieldcat = i_fcat
EXCEPTIONS
OTHERS = 1.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = i_fcat
IMPORTING
ep_table = i_table_data1.
IF sy-subrc = 0.
ASSIGN i_table_data1->* TO <f_table_data1>.
ELSE.
WRITE: 'Error creating internal table'.
ENDIF.
IF rb_copy = 'X'.
SELECT * FROM (p_table) INTO CORRESPONDING FIELDS OF
TABLE <f_table_data1> UP TO 20 ROWS.
ELSEIF rb_rest = 'X'.
CREATE DATA l_dr_line LIKE LINE OF <f_table_data1>.
ASSIGN l_dr_line->* TO <f_wa_table_data1>.
*Get Data from Application Server
* Opening the dataset P_BKFILE given in the selection screen
TRANSLATE p_bkfile TO LOWER CASE.
OPEN DATASET p_bkfile FOR INPUT IN TEXT MODE." ENCODING DEFAULT.
IF sy-subrc NE 0.
* MESSAGE:
ELSE.
DO.
* Reading the file from application server
READ DATASET p_bkfile INTO <f_wa_table_data1>.
IF sy-subrc = 0.
APPEND <f_wa_table_data1> TO <f_table_data1>.
ELSE.
EXIT.
ENDIF.
ENDDO.
* Closing the dataset
CLOSE DATASET p_bkfile.
ENDIF.
ENDIF.
ENDFORM. " get_data
*& Form backup
* text
* --> p1 text
* <-- p2 text
FORM backup.
TRANSLATE p_bkfile TO LOWER CASE.
OPEN DATASET p_bkfile FOR OUTPUT IN TEXT MODE.
IF sy-subrc NE 0.
WRITE: text-017.
STOP.
ELSE.
LOOP AT <f_table_data1> ASSIGNING <f_wa_table_data1>.
TRANSFER <f_wa_table_data1> TO p_bkfile.
ENDLOOP.
ENDIF.
CLOSE DATASET p_bkfile.
ENDFORM. " backup
*& Form database_update
FORM database_update.
DATA : i_mara_u TYPE STANDARD TABLE OF mara WITH HEADER LINE,
i_ekpo_u TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
i_eban_u TYPE STANDARD TABLE OF eban WITH HEADER LINE,
i_resb_u TYPE STANDARD TABLE OF resb WITH HEADER LINE,
i_plpo_u TYPE STANDARD TABLE OF plpo WITH HEADER LINE,
i_stpo_u TYPE STANDARD TABLE OF stpo WITH HEADER LINE,
i_vbap_u TYPE STANDARD TABLE OF vbap WITH HEADER LINE,
i_vbrp_u TYPE STANDARD TABLE OF vbrp WITH HEADER LINE,
i_lips_u TYPE STANDARD TABLE OF lips WITH HEADER LINE,
i_afvc_u TYPE STANDARD TABLE OF afvc WITH HEADER LINE,
i_asmd_u TYPE STANDARD TABLE OF asmd WITH HEADER LINE,
* i_cooi_u TYPE STANDARD TABLE OF cooi WITH HEADER LINE,
i_qmel_u TYPE STANDARD TABLE OF qmel WITH HEADER LINE,
i_cooi_u TYPE STANDARD TABLE OF cooi WITH HEADER LINE,
i_esll_u TYPE STANDARD TABLE OF esll WITH HEADER LINE,
i_t165_u TYPE STANDARD TABLE OF t165 WITH HEADER LINE,
i_t165e_u TYPE STANDARD TABLE OF t165e WITH HEADER LINE,
i_twpko_u TYPE STANDARD TABLE OF twpko WITH HEADER LINE,
i_tpext_u TYPE STANDARD TABLE OF tpext WITH HEADER LINE,
i_ce4mxpa_u TYPE STANDARD TABLE OF ce4mxpa WITH HEADER LINE,
i_ce4mxpa_acct_u TYPE STANDARD TABLE OF ce4mxpa_acct WITH
HEADER LINE,
i_zaim_u TYPE STANDARD TABLE OF zaim WITH HEADER LINE,
i_s012_d TYPE STANDARD TABLE OF s012 WITH HEADER LINE,
i_s012_i TYPE STANDARD TABLE OF s012 WITH HEADER LINE,
i_dummy TYPE STANDARD TABLE OF mara.
CASE p_table.
WHEN 'MARA'.
* Non-Key
PERFORM move_to_table USING <f_table_data1>
CHANGING i_mara_u[]
i_mara_u.
PERFORM update_table USING i_mara_u[].
ENDCASE.
ENDFORM. " database_update
*& Form move_to_mara
FORM move_to_table USING p_tab_from TYPE STANDARD TABLE
CHANGING p_tab_to TYPE STANDARD TABLE
p_w_table.
DATA: l_wa_fcat TYPE lvc_s_fcat.
FIELD-SYMBOLS: <f_field_from> TYPE ANY,
<f_field_to> TYPE ANY.
LOOP AT p_tab_from ASSIGNING <f_wa_table_data1>.
LOOP AT i_fcat INTO l_wa_fcat.
ASSIGN COMPONENT l_wa_fcat-fieldname
OF STRUCTURE <f_wa_table_data1> TO <f_field_from>.
ASSIGN COMPONENT l_wa_fcat-fieldname
OF STRUCTURE p_w_table TO <f_field_to>.
<f_field_to> = <f_field_from>.
ENDLOOP.
APPEND p_w_table TO p_tab_to.
ENDLOOP.
ENDFORM. " move_to_mara
*& Form update_table
FORM update_table USING p_table_update TYPE STANDARD TABLE.
SELECT SINGLE *
FROM dd03l
WHERE fieldname = p_plfld
AND tabname = p_table
AND keyflag <> 'X'
AND as4local = 'A'
AND as4vers = l_v_as4vers
AND ( comptype = 'E' OR comptype = space ).
IF sy-subrc = 0.
* Do update
IF NOT p_table_update IS INITIAL.
UPDATE (p_table) FROM TABLE p_table_update.
IF sy-subrc = 0.
COMMIT WORK.
ELSE.
ROLLBACK WORK.
WRITE: text-003.
STOP.
ENDIF.
ENDIF.
ELSE.
*delete and insert.
IF NOT p_table_update IS INITIAL.
* DELETE (p_table).
IF sy-subrc = 0.
INSERT (p_table) FROM TABLE p_table_update.
IF sy-subrc = 0.
COMMIT WORK.
ELSE.
ROLLBACK WORK.
WRITE: text-018.
STOP.
ENDIF.
ELSE.
ROLLBACK WORK.
WRITE: text-018.
STOP.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. " update_table
Edited by: Julius Bussche on Jul 18, 2008 1:43 PM
Please use a meaningfull subject title!ARS,
I am struggling a bit to get this.
there is a syntax error,
Field "FIELDS_INT-TYPE" is unknown. It is neither in one of thespecified tables nor defined by a "DATA" statement.
Again you have asked to move to a diffrent table. What is that table and how to build it.
LOOP AT <f_table_data1> ASSIGNING <f_wa_table_data1>.
LOOP AT i_fcat INTO l_fcat.
IF l_fcat-inttype EQ 'P'.
ASSIGN COMPONENT l_fcat-fieldname
OF STRUCTURE <f_wa_table_data1> TO <f_field>
TYPE fields_int-type
DECIMALS fields_int-decimals.
ELSE.
ASSIGN COMPONENT l_fcat-fieldname
OF STRUCTURE <f_wa_table_data1> TO <f_field>
TYPE fields_int-type.
ENDIF.
" Move <f_field> to a new table and use this table for download
ENDLOOP.
TRANSFER <f_wa_table_data1> TO p_bkfile.
ENDLOOP.
Ster -
Tcode for checking the Maintenance Plan
Hello,
I want the transaction code for checking the list of maintenance plan for a particular plant. I went thru tcode IP03, IP16 but could not find the option of plant there..
Kindly guide..
Regards,
NarenNaren,
As stated above, there isn't a plant field in the maintenance plan (only maintenance item, hence the reference ot IP17)
However, it is quite common to use the maintenance plan Sort field as a plant field by customising the table settings for each plant.
PeteA -
FM/BAPI for changing the inspection plan
Hi,
I need to change the inspection plan.
Can anyone suggest any FM or BAPI please.
When I am trying to use BAPI BAPI_INSPECTIONPLAN_CREATE for this purpose,
I am getting the below mentioned errors:
E BAPI 001
A CPCL 006 Task list Q Q0000171 1 already exists
A CPCC_DT 210 For further processing, the routing entry is missing
Thanks in advance.Hi,
Could you please help me with the fields that need to filled for this purpose ?
I am currently filling the TASK and INSCHARACTERISTIC structures with the following fields filled:
TASK:
TASK_LIST_GROUP
GROUP_COUNTER
VALID_FROM
VALID_TO_DATE
TASK_LIST_USAGE
PLANT
TASK_LIST_STATUS
TASK_MEASURE_UNIT
LOT_SIZE_FROM
LOT_SIZE_TO
INSPCHARACTERISTIC:
TASK_LIST_GROUP
GROUP_COUNTER
ACTIVITY
INSPCHAR
QUANTITATIVE_IND
MSTR_CHAR
PMSTR_CHAR
CHA_MASTER_IMPORT_MODUS
CHAR_DESCR
UP_TOL_LMT_IND
LW_TOL_LMT_IND
TARGET_VAL_CHECK_IND
TARGET_VAL
UP_TOL_LMT
LW_TOL_LMT
But still I am getting the error mentioned above(previous message).
Thanks
Shilpika -
Transfering the Cost from Cost center to PM Work order
Hi all,
We have a scenario.
we are doing material consumption from storage locaiton to a cost center using 201.
when the material requirement comes from work order, we are doing reverse consumption posting from Cost center to storage location using 202. and then issue the material to work order using 261.
Is there any way, that we can move the cost directly from cost center to work order (skipping the storage location in between).
Thanks in advance.
PiyushHi,
I guess Initially you are transferring material (201 movement) from Central Warehouse to Cost Center assigned to each department. After that, if you get any reservation from the particular department work order, you are issuing the components to work order by doing 202 & 261 movements.
You can follow either one way.
1. Without doing 201 movement type, once you create a order, based on reservation you can do 261 movement to order from central warehouse directly.
OR
2. Define storage location, do the stock transfer between storage locations. While creating maintenance order, assign the concern storage location in the order. So from that storage location, you can do 261 movement. Also by Material valuation, you can find the value of materials as well.
Regards,
Maheswaran.
Maybe you are looking for
-
How to downgrade from ios 6.1.4 to 6.1.2 ????
i have an iphone 5 ios 6.1.4 and can't jail break it, too shame i have downloaded the ipsw of ios 6.1.2 how can i downgarde my phone, i know that apple closes singnigios a few days from launching a new ios and the ios 7.0.2 just came out??? is there
-
Adobe Access Protection on iOS devices?
I am having an issue in terms of Adobe Access not supported in iOS. I have been developing a custom player along with a bunch of other back end Adobe Technologies only to find out now that protection is not available in iOS. DRMManager.isSupported re
-
Premiere Elements 11 (Trial) question
Hello What might be the reason why Premiere Elements 11 (Trial) will not open up when I double-click on its desktop icon? I have successfully installed it today - but not used it - and I can see it in the Control Panel and there is a folder for it un
-
My MBP has been running solely on power adapter for months, I finally bought a replacement battery for my MBP 15" and installed it to charge yesterday. The light on my adapter never turned green. And when I went to unplug it, it immediately powered d
-
Unable to play certain files on second generation nano
I have downloaded a books from audible.com. but am unable to load a certain title onto my second gen. nano.Other titles have played but not this one which will play on itunes.Any suggestions?