CJ20N - Standard Milestone reference
In our project, we use standard milestones. When these milestones has been added into a project, we can see the description and the usage of the milestone but the standard milestone code don't appear in CJ20N and also in the MLST table .
Does somebody can help us to find the correspondance between the milestone in the project and the standard milestone.
Thanks,
Regards,
Nicolas SIROUET
That's because the Milestone in the Project is created as an Operative Milestone. As such you get an operative milestone no.
Otherwise you would have the same milestone no existing in many projects
Steve
Similar Messages
-
Standard and Reference Purchasing Org
What is the difference between standard and Reference purchasing organization?
In which scenario it is used?
Regards,
KomalDear Komal,
Please find difference of both these term & its application in simple manner.
A) Reference Purchase Organization( Also called as Central Pur Org.)
1)Used to map cross purchasing organization procurement transaction
2) Possible to use other purchasing organization to use conditions of this Purchase Organization
3) Allow to access contract
4) In customizing you can configure which data ( i.e. contract or conditions ) a purchasing organization can access
5) a multilevel reference relationship is not possible
6) Purchasing Info record for central Purchasing organization must exist.
7) This is normally at client level.
B) Standard Purchase Organization:
1) If a plant is having more than one purchasing organization , one of the purchasing organization is designated as standard Purchase Organization.
2)It is used for Transaction of pipeline material , Consignment material or stock transfer orders.
3) In source determination system automatically pulls this Purchase Organization
4) For goods issue Purchasing Info record of standard Purchase Organization is used.
5) Standard Purchase Organization info record is used for auto PO generation during GR
I thinks this will clear your concept.
If useful reward points,
Vivek Maitra -
Badi or User exit for CJ20N..Milestone date
HI...
I have to access the field of CJ20N fieldname (LST_ACTDT) (Milestone date).I have to send the alert mail using that value.
But i am unable to get the BADI or user exit to get that value.I am using the BADI WORKBREAKDOWN_UPDATE. But not reaching to solution.
Can anyone help me out..Hi Priyank,
Instead of that you can directly use the BAPI -BAPI_PROJECT_GETINFO
CALL FUNCTION 'BAPI_PROJECT_GETINFO'
EXPORTING
PROJECT_DEFINITION =
WITH_ACTIVITIES = 'X'
WITH_MILESTONES = 'X'
WITH_SUBTREE = 'X'
IMPORTING
E_PROJECT_DEFINITION =
RETURN =
TABLES
I_WBS_ELEMENT_TABLE = " send the pspnr value by appending in the table i.e. IT_WBS_ELEMENT-PSPNR
E_WBS_ELEMENT_TABLE =
E_WBS_MILESTONE_TABLE = "catch this in a internal table
E_WBS_HIERARCHIE_TABLE =
E_ACTIVITY_TABLE =
E_MESSAGE_TABLE =
If u wish to have details of wbs only..by entering WBS ELEMENT in I_WBS_ELEMENT_TABLE u have to give
WITH_ACTIVITIES X
WITH_MILESTONES X
WITH_SUBTREE X
then only u will get deatils of corresponding wbs via bapi BAPI_PROJECT_GETINFO.
In the milestone internal table you will have all the dates.
Please refer to the function module documentation for further details. -
CJ20N /standard screen 1000 modification
Hi,
Do you know how to modify screen 1000 in CJ20N transaction?
,regardsI want to modify/enhance 'module status_1000' in PBO screen 1000, but I can't find method
where I can do it.
I checked user-exits CNX* for PS module too.
Any ideas?
,regards
Edited by: Krzysztof Jacon on Oct 16, 2009 9:33 PM -
Updation of Milestone Billing % in Sales Order
Hi All,
I am using Assembly Processing scenario and having milestone billing. I am able to create a sales order which creating project automatically and milestone are coping in sales order billing plan.
My query is : after creating sales order and automatic creation of project, client changes % amount in billing milestone which is not updating in sales order. Its showing the same amount which has been put in standard milestone.
Let me know how I can update this change in Sales Order billing plan when ever I change billing % in milestone.
Regards,
Atul R. RajmaneHi,
After Maintaining billing plan types for milestone billing,Please check the following,
In CJ20N , Create milstone under the activity of WBS,Fill the invoicing percentage in Billing plan section, be sure to tick on sales document date field, then go to the sales order it will copy the data automatically from the milstone . -
Dear All,
Can anyone guide me how to create Project System - Standard Milestone.
Regards
EdigaUse CN11 for creating Standard Milestone.
http://help.sap.com/saphelp_46c/helpdata/EN/4c/225cc646e611d189470000e829fbbd/frameset.htm
is the reference for help.
Hope this helps. -
With reference to contract Purchase Order Analysis report.
Hi,
I need SAP Standard " With reference to contract Purchase Order Analysis report"
Regards,
Priya.Hi,
there is no standard report to get the PO list wrf to contracts,
but you can get through SE16 from the table EKPO, where you have to pass the contract numbers ( get through ME3L,ME3M or ME3C ) in the field KONNR,
lakshmi reddy -
Problems with reference field in material type
Hi,
I have problem with field reference in material type creation.
When I define a self-defined field reference ZERS (copy of standard field reference HERS) for a own defined material type ZERS (copy of material type HERS), I get the following error message:
Field reference ZERS has not been set up
Message no. CZ127
Diagnosis
You have specified a field reference that has not been set up.
Procedure
Set up the new field reference or use an already existing field reference.
I do not understand why because the entry ZERS is present in table T130A.
Here is the IMG config I have made:
1. Logistics general->Material Master->Field selection->Maintain field selection for Data Screens (here I made copy of field reference HERS and named it ZERS)
2. Logistics general->Material Master->Basic Settings->Material types->Define attributes of Material types (here I made a copy of material type HERS and named it ZERS. I then tried to set the field T134-FLREF "Field reference" to ZERS, but then the error message appears)
Does anyone know what config I am missing?
Or any reason why the error message CZ127 is coming up?
ThanksMust have been system error, I deleted all entries and did it all over again, it worked.
-
Milestone Billing - Block getting removed before full confirmation.
Hi friends,
i am facing a problem in Milestone billing.
I have attached a milestone to an activity.The milestone is considered in Sales order.
When the activity will be fully confirmed the BLOCK will get removed from the Sales Order & down payment can be made.
But the fact is when I am confirming the activity partially , the actual date is getting picked up in the milestone and the BLOCK is getting removed from the Sales Order.
If I remove the automatic tab from the confirmation in SPRO, then during confirming of the activity a pop-up is coming ' want to consider the actual date" . If I select NO then the actual date is not coming in the milestone. This case is OK. But the end-user wants it to be automatic.
How to prevent the actual date from getting picked up in the milestone till the activity is fully confirmed?
I have defined the Usage & considered "2" in S/F (Milestone at the end of the activity).
Thanks a lot.
Regards ,
Abhra BoseHi there,
I'm not sure if it solves the problem, but I have one remark. If you set the S/F value to 2 in SPRO it is only informative meaning. please see extract from SAP documentation:
+Milestone at the start or finish of an activity
This key determines whether the milestone should have the start date ot the finish date of an activity.
Dependencies
Please note that this key is not used in the extended milestone functions from Release 3.0. The key just helps you to edit milestones correctly, which were created before Release 3.0.+
What you need to do, is setting the offset directly in standard milestone in CN12 in block 'Offset to activity'.
Rgds, Aleksandra -
File pdf-reference.pdf doesn't print properly - only cover page
When I try to print the standard pdf reference from the Acrobat 8.0 SDK samples in all.sln in Visual Studio, only the cover page prints. Further, the sample javascript object program only says there is one page. The file consists of the cover page, and four embedded pdf files, totaling 1500 + pages. How do you make the samples print out the cover page, and then extract and print the embedded parts of the file?
C:\TEMP
CoverSheet.pdf
PDF Reference.pdf
PDF Errata.pdf
PDF Addendum.pdf
The java object sample should say "this file has 4 sub-files and totals 1500 pages", etc.
What is the problem here?I don't know if there is a sample showing you how to do this - but it's pretty easy.
Look at the documentation for the Data Object in the SDK JavaScript docs.
Leonard -
Where can I get references about install sap in aix,oracle
where can I get some references about installation of sap in AIX+ORACLE. I try to installation sap in AIX, but I encounter many problems, so I want to have a standard installation reference. thanks
Did you look at www.service.sap.com/instguides ?
-
Huge Performance issue and RSRT
Hi BW Gurus,
We are using BCS cube for our consolidation queries and reports . There is a huge prformance problem.
I need to know that wht should be the appropriate size of the Global cache as compared to Local Cache. My global cache size is 100 MB and Global Cache size is 200 MB.
Also when I go to RSRT properties
Read Mode is H: Query to read when you navigate or expand hierarchy .
Cache Mode is : 4 persistent cache across each application server
persistence mode : 3 transparent table (BLOB).
Do I have to change these settings ....please give your suggestions
will appreciated with lot of points
ThanksHi Folks,..
Could you'll please tell me where exactly we put the break point I will paste my code. I did Run SE30 and the list cube extraction simaltaneoulsy and gave me a message error generating the test frame
tatics:
FUNCTION RSSEM_CONSOLIDATION_INFOPROV3.
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(I_INFOPROV) TYPE RSINFOPROV
*" REFERENCE(I_KEYDATE) TYPE RSDRC_SRDATE
*" REFERENCE(I_TH_SFC) TYPE RSDD_TH_SFC
*" REFERENCE(I_TH_SFK) TYPE RSDD_TH_SFK
*" REFERENCE(I_TSX_SELDR) TYPE RSDD_TSX_SELDR
*" REFERENCE(I_FIRST_CALL) TYPE RS_BOOL
*" REFERENCE(I_PACKAGESIZE) TYPE I
*" EXPORTING
*" REFERENCE(E_T_DATA) TYPE STANDARD TABLE
*" REFERENCE(E_END_OF_DATA) TYPE RS_BOOL
*" REFERENCE(E_T_MSG) TYPE RS_T_MSG
*" EXCEPTIONS
*" ERROR_IN_BCS
statics:
UT begin:
this flag is switched in order to record data returned by the current query in UT
it can only be switched on/off in debug mode.
s_record_mode type rs_bool,
s_qry_memo type char256, " at the moment, for query name
package No, UUID, for unit testing
s_packageno type i,
s_guid type guid_22,
UT end.
s_first_call like i_first_call,
s_destination type rfcdest,
s_basiccube type rsinfoprov,
s_dest_back type rfcdest,
s_report type programm,
s_bw_local type rs_bool,
sr_data type ref to data,
sr_data_p type ref to data,
st_sfc type t_sfc,
st_sfk type t_sfk,
st_range type t_seqnr_range,
st_hienode type t_seqnr_hienode,
st_hienodename type t_seqnr_hienodename,
st_seltype type t_seqnr_seltype,
st_datadescr type T_DATADESCR,
s_end_of_data type rs_bool
data:
l_ucr_data_read_3 type funcname value 'UCR_DATA_READ_3',
l_packagesize like i_packagesize,
lt_message type t_message,
ls_message like line of e_t_msg,
l_xstring type xstring,
l_nr type i.
field-symbols:
<ls_message> type s_message,
<lt_data> type standard table,
<ls_data> type any,"nos100804
<lt_data_p> type hashed table."nos100804
clear: e_t_data, e_end_of_data, e_t_msg.
react on packagesize -1
if i_packagesize le 0. "nos050705
l_packagesize = rssem_cs_integer-max.
else.
l_packagesize = i_packagesize.
endif.
if i_first_call = rs_c_true.
s_first_call = rs_c_true.
clear s_end_of_data.
begin "nos100804
data:
lo_structdescr type ref to cl_abap_structdescr
,lo_tabledescr type ref to cl_abap_tabledescr
,lo_typedescr type ref to cl_abap_typedescr
data:
lt_key type table of abap_compname.
field-symbols <ls_component> type abap_compdescr.
create data sr_data_p like line of e_t_data.
assign sr_data_p->* to <ls_data>.
CALL METHOD CL_ABAP_STRUCTDESCR=>DESCRIBE_BY_DATA
EXPORTING
P_DATA = <ls_data>
RECEIVING
P_DESCR_REF = lo_typedescr.
lo_structdescr ?= lo_typedescr.
collect all key components to lt_key
loop at lo_structdescr->components assigning <ls_component>.
insert <ls_component>-name into table lt_key.
if <ls_component>-name = '&KEYEND'.
exit.
endif.
endloop.
data ls_sfk like line of i_th_sfk.
data l_key type abap_compname.
loop at i_th_sfk into ls_sfk.
l_key = ls_sfk-kyfnm.
if l_key is not initial.
delete table lt_key from l_key.
endif.
l_key = ls_sfk-value_returnnm.
if l_key is not initial.
delete table lt_key from l_key.
endif.
endloop.
create data sr_data_p like hashed table of <ls_data>
with unique key (lt_key).
create data sr_data_p like e_t_data.
create data sr_data like e_t_data.
end "nos100804
perform determine_destinations using i_infoprov
changing s_destination
s_dest_back
s_report
s_basiccube.
perform is_bw_local changing s_bw_local.
***--> convert the selection, enhance non-Sid-values.
--> Handle fiscper7
data:
lt_SFC TYPE RSDRI_TH_SFC
,lt_sfk TYPE RSDRI_TH_SFK
,lt_range TYPE RSDRI_T_RANGE
,lt_RANGETAB TYPE RSDRI_TX_RANGETAB
,lt_HIER TYPE RSDRI_TSX_HIER
,lt_adj_hier type t_sfc "nos290704
statics: so_convert type ref to lcl_sid_no_sid
, sx_seldr_fp34 type xstring
, s_fieldname_fp7 type RSALIAS
, st_sfc_fp34 TYPE RSDD_TH_SFC
create object so_convert type lcl_sid_no_sid
exporting i_infoprov = i_infoprov.
Transform SIDs...
perform convert_importing_parameter
using i_th_sfc
i_th_sfk
i_tsx_seldr
so_convert
e_t_data
changing lt_sfc
lt_sfk
lt_range
lt_rangetab
lt_hier
sx_seldr_fp34
"Complete SELDR as XSTRING
st_sfc_fp34
"SFC of a selection with
"FISCPER3/FISCYEAR
s_fieldname_fp7
"Name of Field for 0FISCPER
"(if requested)
This is the old routine, but ST_HIENDODE and ST_HIENODENAME can
be neglected, since they are not used at all.
perform prepare_selections
using lt_sfc
lt_sfk
lt_range
lt_rangetab
lt_hier
changing st_sfc
st_sfk
st_range
st_hienode
st_hienodename
st_seltype.
endif.
assign sr_data->* to <lt_data>.
assign sr_data_p->* to <lt_data_p>.
describe table <lt_data_p> lines l_nr.
while l_nr < l_packagesize and s_end_of_data is initial.
if s_dest_back is initial and s_bw_local = rs_c_true.
Local call
call function l_UCR_DATA_READ_3
EXPORTING
IT_SELTYPE = sT_SELTYPE
IT_HIENODE = sT_HIENODE "not used
IT_HIENODENAME = sT_HIENODENAME "not used
IT_RANGE = sT_RANGE
I_PACKAGESIZE = i_packagesize
I_KEYDATE = i_Keydate
IT_SFC = sT_SFC
IT_SFK = sT_SFK
i_infoprov = i_infoprov
i_rfcdest = s_destination
ix_seldr = sx_seldr_fp34
it_bw_sfc = st_sfc_fp34
it_bw_sfk = i_th_sfk
i_fieldname_fp7 = s_fieldname_fp7
IMPORTING
ET_DATA = <lT_DATA>
E_END_OF_DATA = s_END_OF_DATA
ET_MESSAGE = lT_MESSAGE
et_adj_hier = lt_adj_hier "nos290704
CHANGING
c_first_call = s_first_call.
elseif s_dest_back is initial and s_bw_local = rs_c_false.
!!! Error !!! No SEM-BCS destination registered for infoprovider!
if 1 = 2.
message e151(rssem) with i_infoprov.
endif.
ls_message-msgty = 'E'.
ls_message-msgid = 'RSSEM'.
ls_message-msgno = '151'.
ls_message-msgv1 = i_infoprov.
insert ls_message into table e_t_msg.
else.
remote call to SEM-BCS
** Call UCR_DATA_READ_3 ...
if s_first_call is not initial.
get the datadescription to create the requested return-structure
in the RFC-System.
perform get_datadescr
using <lt_data>
changing st_datadescr
endif.
call function 'UCR_DATA_READ_4'
destination s_dest_back
exporting i_infoprov = i_infoprov
i_rfcdest = s_destination
i_first_call = s_first_call
i_packagesize = i_packagesize
i_keydate = i_keydate
ix_seldr = sx_seldr_fp34
it_bw_sfc = st_sfc_fp34
it_bw_sfk = i_th_sfk
it_datadescr = st_datadescr
i_fieldname_fp7 = s_fieldname_fp7
importing c_first_call = s_first_call
e_end_of_data = s_end_of_data
e_xstring = l_xstring
tables it_seltype = st_seltype
it_range = st_range
it_hienode = st_hienode "not used
it_hienodename = st_hienodename "not used
it_sfc = st_sfc
it_sfk = st_sfk
et_message = lt_message
et_adj_hier = lt_adj_hier. "nos290704.
clear <lt_data>.
if lt_message is initial.
call function 'RSSEM_UCR_DATA_UNWRAP'
EXPORTING
i_xstring = l_xstring
CHANGING
ct_data = <lt_data>.
endif.
endif.
convert the returned data (SID & Hierarchy).
call method so_convert->convert_nosid2sid
exporting it_adj_hier = lt_adj_hier[] "nos290704
CHANGING
ct_data = <lt_data>.
e_t_data = <lt_data>.
Begin "nos100804
data l_collect type sy-subrc.
l_collect = 1.
if <lt_data_p> is initial and
<lt_data> is not initial.
call function 'ABL_TABLE_HASH_STATE'
exporting
itab = <lt_data>
IMPORTING
HASH_RC = l_collect "returns 0 if hash key exist.
endif.
if l_collect is initial.
<lt_data_p> = <lt_data>.
else.
loop at <lt_data> assigning <ls_data>.
collect <ls_data> into <lt_data_p>.
endloop.
endif.
append lines of <lt_data> to <lt_data_p>.
End "nos100804
messages
loop at lt_message assigning <ls_message>.
move-corresponding <ls_message> to ls_message.
insert ls_message into table e_t_msg.
endloop.
if e_t_msg is not initial.
raise error_in_bcs.
endif.
describe table <lt_data_p> lines l_nr.
endwhile.
if l_nr <= l_packagesize.
e_t_data = <lt_data_p>.
clear <lt_data_p>.
e_end_of_data = s_end_of_data.
else.
Begin "nos100804
<lt_data> = <lt_data_p>.
append lines of <lt_data> to l_packagesize to e_t_data.
data l_from type i.
l_from = l_packagesize + 1.
clear <lt_data_p>.
insert lines of <lt_data> from l_from into table <lt_data_p>.
clear <lt_data>.
End "nos100804
endif.
UT begin: start to record data
if s_record_mode = rs_c_true.
if i_first_call = rs_c_true.
clear: s_guid, s_packageno.
perform prepare_unit_test_rec_param
using
e_end_of_data
i_infoprov
i_keydate
i_th_sfc
i_th_sfk
i_tsx_seldr
i_packagesize
lt_key
e_t_data
s_qry_memo
changing
s_guid.
endif.
add 1 to s_packageno.
perform prepare_unit_test_rec_data
using
s_guid
s_packageno
e_t_data
i_infoprov
e_end_of_data.
endif. "s_record_mode = rs_c_true
UT end.
if not e_end_of_data is initial.
clean-up
clear: s_first_call, s_destination, s_report, s_bw_local,
st_sfc, st_sfk, st_range, st_hienode, s_basiccube,
st_hienodename, st_seltype, s_dest_back, sr_data,
so_convert , s_end_of_data, sr_data_p."nos100804
free: <lt_data> , <lt_data_p>.
endif.
endfunction.
It stores query parameters into cluster table
form prepare_unit_test_rec_param using i_end_of_data type rs_bool
i_infoprov type rsinfoprov
i_keydate type rrsrdate
i_th_sfc type RSDD_TH_SFC
i_th_sfk type RSDD_TH_SFk
i_tsx_seldr type rsdd_tsx_seldr
i_packagesize type i
it_key type standard table
it_retdata type standard table
i_s_memo type char256
changing c_guid type guid_22.
data:
ls_key type g_rssem_typ_key,
ls_cluster type rssem_rfcpack,
l_timestamp type timestampl.
get GUID, ret component type
call function 'GUID_CREATE'
importing
ev_guid_22 = c_guid.
ls_key-idxrid = c_guid.
clear ls_key-packno.
cluster record
get time stamp field l_timestamp.
ls_cluster-infoprov = i_infoprov.
ls_cluster-end_of_data = i_end_of_data.
ls_cluster-system_time = l_timestamp.
ls_cluster-username = sy-uname.
return data type
data:
lo_tabtype type ref to cl_abap_tabledescr,
lo_linetype type ref to cl_abap_structdescr,
lt_datadescr type t_datadescr,
ls_datadescr like line of lt_datadescr,
lt_retcomptab type abap_compdescr_tab,
ls_retcomptab like line of lt_retcomptab,
lt_rangetab type t_seqnr_range.
lo_tabtype ?= cl_abap_typedescr=>describe_by_data( it_retdata ).
lo_linetype ?= lo_tabtype->get_table_line_type( ).
lt_retcomptab = lo_linetype->components.
call the sub procedure to use external format of C, instead of interal format (unicode).
otherwise, when create data type from internal format, it won't be the same length as stored in cluster.
PERFORM get_datadescr USING it_retdata
CHANGING lt_datadescr.
loop at lt_datadescr into ls_datadescr.
move-corresponding ls_datadescr to ls_retcomptab.
append ls_retcomptab to lt_retcomptab.
endloop.
range, excluding
record param
export p_infoprov from i_infoprov
p_keydate from i_keydate
p_th_sfc from i_th_sfc
p_th_sfk from i_th_sfk
p_txs_seldr from i_tsx_seldr
p_packagesize from i_packagesize
p_t_retcomptab from lt_retcomptab
p_t_key from it_key
p_memo from i_s_memo
to database rssem_rfcpack(ut)
from ls_cluster
client sy-mandt
id ls_key.
endform.
It stores return data to cluster table
form prepare_unit_test_rec_data using
i_guid type guid_22
i_packageno type i
it_retdata type standard table
i_infoprov type rsinfoprov
i_end_of_data type rs_bool.
data:
l_lines type i,
ls_key type g_rssem_typ_key,
ls_cluster type rssem_rfcpack,
l_timestamp type timestampl.
ls_key-idxrid = i_guid.
ls_key-packno = i_packageno.
describe table it_retdata lines l_lines.
if l_lines = 0.
clear it_retdata.
endif.
cluster record
get time stamp field l_timestamp.
ls_cluster-infoprov = i_infoprov.
ls_cluster-end_of_data = i_end_of_data.
ls_cluster-system_time = l_timestamp.
ls_cluster-username = sy-uname.
export p_t_retdata from it_retdata
to database rssem_rfcpack(ut)
from ls_cluster
client sy-mandt
id ls_key.
endform.
form convert_importing_parameter
using i_th_sfc TYPE RSDD_TH_SFC
i_th_sfk TYPE RSDD_TH_SFK
i_tsx_seldr TYPE RSDD_TSX_SELDR
io_convert type ref to lcl_sid_no_sid
i_t_data type any table
changing et_sfc TYPE RSDRI_TH_SFC
et_sfk TYPE RSDRI_TH_SFK
et_range TYPE RSDRI_T_RANGE
et_rangetab TYPE RSDRI_TX_RANGETAB
et_hier TYPE RSDRI_TSX_HIER
ex_seldr type xstring
e_th_sfc TYPE RSDD_TH_SFC
e_fieldname_fp7 type rsalias
data lt_seldr TYPE RSDD_TSX_SELDR.
data ls_th_sfc type RRSFC01.
0) rename 0BCSREQUID > 0REQUID
data l_tsx_seldr like i_tsx_seldr.
data l_th_sfc like i_th_sfc.
data l_th_sfc2 like i_th_sfc. "nos070605
l_tsx_seldr = i_tsx_seldr.
l_th_sfc = i_th_sfc.
data ls_sfc_requid type RRSFC01.
data ls_seldr_requid type RSDD_SX_SELDR.
ls_sfc_requid-chanm = '0BCS_REQUID'.
read table l_th_sfc from ls_sfc_requid into ls_sfc_requid.
if sy-subrc = 0.
delete table l_th_sfc from ls_sfc_requid.
ls_sfc_requid-chanm = '0REQUID'.
insert ls_sfc_requid into table l_th_sfc.
endif.
ls_seldr_requid-chanm = '0BCS_REQUID'.
read table l_tsx_seldr from ls_seldr_requid into ls_seldr_requid.
if sy-subrc = 0.
delete table l_tsx_seldr from ls_seldr_requid.
ls_seldr_requid-chanm = '0REQUID'.
field-symbols: <ls_range> like line of ls_seldr_requid-range-range.
loop at ls_seldr_requid-range-range assigning <ls_range>.
check <ls_range>-keyfl is not initial. "jhn190106
if <ls_range>-sidlow is initial and <ls_range>-low is not initial.
<ls_range>-sidlow = <ls_range>-low.
clear <ls_range>-low.
endif.
if <ls_range>-sidhigh is initial and <ls_range>-high is not initial.
<ls_range>-sidhigh = <ls_range>-high.
clear <ls_range>-high.
endif.
clear <ls_range>-keyfl. "jhn190106
endloop.
insert ls_seldr_requid into table l_tsx_seldr.
endif.
*1) Convert SIDs..., so that all parameter look like the old ones.
call method io_convert->convert_sid2nosid
EXPORTING
it_sfc = l_th_sfc
it_sfk = i_th_sfk
it_seldr = l_tsx_seldr
it_data = i_t_data
IMPORTING
et_sfc = et_sfc
et_sfk = et_sfk
et_range = et_range
et_rangetab = et_rangetab
e_th_sfc = l_th_sfc2 "nos070605
Ignore the old hierachy information:
clear et_hier.
delete et_range where chanm = '0REQUID'.
delete table et_sfc with table key chanm = '0REQUID'.
*2) Eliminate FISCPER7, from new strucutres:
lt_seldr = i_tsx_seldr. "nos131004
e_th_sfc = l_th_sfc.
the fiscper7 can be deleted completly from the SID-selection, because
it is also treated within et_range...
clear e_fieldname_fp7.
delete lt_seldr where chanm = cs_iobj_time-fiscper7."nos131004
Begin "nos131004
Ensure that there is no gap in the seldr.
data:
ls_seldr like line of lt_seldr
,l_fems_act like ls_seldr-fems
,l_fems_new like ls_seldr-fems
loop at l_tsx_seldr into ls_seldr
where chanm ne cs_iobj_time-fiscper7.
if ls_seldr-fems ne l_fems_act.
l_fems_act = ls_seldr-fems.
add 1 to l_fems_new.
endif.
ls_seldr-fems = l_fems_new.
insert ls_seldr into table lt_seldr.
endloop.
end "nos131004
e_th_sfc = l_th_sfc2. "nos070605
Is fiscper7 in the query? (BCS requires allways two fields)
read table e_th_sfc with key chanm = cs_iobj_time-fiscper7
into ls_th_sfc.
if sy-subrc = 0.
==> YES
--> change the SFC, so that FISCPER3 and FISCYEAR is requested.
The table ET_RANGE does contain also the selection for
FISCPER3/FISCYEAR
But since also E_FIELDNAME_FP7 is transferred to BCS, the
transformation of the data, back to FISCPER7 is done on BCS-side.
e_fieldname_fp7 = ls_th_sfc-KEYRETURNNM.
"begin nos17060
if e_fieldname_fp7 is initial.
e_fieldname_fp7 = ls_th_sfc-sidRETURNNM.
translate e_fieldname_fp7 using 'SK'.
endif.
"end nos17060
delete table e_th_sfc from ls_th_sfc.
ls_th_sfc-chanm = cs_iobj_time-fiscper3.
ls_th_sfc-keyreturnnm = ls_th_sfc-chanm.
insert ls_th_sfc into table e_th_sfc.
ls_th_sfc-chanm = cs_iobj_time-fiscyear.
ls_th_sfc-keyreturnnm = ls_th_sfc-chanm.
insert ls_th_sfc into table e_th_sfc.
endif.
Store the SELDR in a XSTRING and unpack it just before selecting data
in BW. It is not interpreted in BCS!
export t_seldr = lt_seldr
Store also the SFC, because the BW-Systems migth be differrnt rel./SP.
t_bw_sfc = e_th_sfc to data buffer ex_seldr compression on.
endform. "convert_importing_parameter
*& Form get_datadescr
text
-->IT_DATA text
-->ET_DATADESCtext
form get_datadescr
using it_data type any table
changing et_datadescr type t_datadescr
data: lr_data type ref to data
, lo_descr TYPE REF TO CL_ABAP_TYPEDESCR
, lo_elemdescr TYPE REF TO CL_ABAP_elemDESCR
, lo_structdescr TYPE REF TO CL_ABAP_structDESCR
, lt_components type abap_component_tab
, ls_components type abap_componentdescr
, ls_datadescr type s_datadescr
field-symbols: <ls_data> type any
, <ls_components> type abap_compdescr
clear et_datadescr.
create data lr_data like line of it_data.
assign lr_data->* to <ls_data>.
CALL METHOD CL_ABAP_STRUCTDESCR=>DESCRIBE_BY_DATA
EXPORTING
P_DATA = <ls_data>
RECEIVING
P_DESCR_REF = lo_descr.
lo_structdescr ?= lo_descr.
CALL METHOD lo_structdescr->GET_COMPONENTS
RECEIVING
P_RESULT = lt_components.
loop at lo_structdescr->components assigning <ls_components>.
move-corresponding <ls_components> to ls_datadescr.
if ls_datadescr-type_kind = cl_abap_elemdescr=>typekind_char
or ls_datadescr-type_kind = cl_abap_elemdescr=>typekind_num
read table lt_components with key name = <ls_components>-name
into ls_components.
if sy-subrc = 0.
lo_elemdescr ?= ls_components-type.
ls_datadescr-length = lo_elemdescr->output_length.
endif.
endif.
append ls_datadescr to et_datadescr.
endloop.
endform. "get_datadescr
Try to give your inputs will appreciate that
thanks -
How to Set Individual Managed Metadata Navigation Links to Open in New Window?
I am using a managed metadata term set for the global navigation in my client's site. Most of the global navigation links point to pages in the current site, and should open in the current browser window/tab as the end user is just navigating within the
site content. However, I have one particular node in the navigation term set that points to related content scattered around other external sites. The client wants these links to open a new window.
Unfortunately, I can't seem to set the target for navigation links in the term set. If I was using standard global navigation, I'd be able to select the "Open in new window" checkbox when setting up the link, but that option doesn't appear to be
supported via MMD navigation.
Any clever suggestions?
Thanks!I had a similarish requirement at a client once upon a time, they wanted any links that went outside of the intranet web applications to open in a new window.
The way we managed that was to use jQuery to overwrite the standard hyperlink references for any hrefs that didn't point to internal sites to use the same javascript functions that SharePoint used for links configured to open in a new window. It worked out
as being about half a dozen lines; check the URL and if it doesn't begin with a set range of options then overwrite the on click behaviour using standard jQuery behaviour.
If you want it site wide then you just add jQuery and the code snippet to the master page, if you just want it in some places then add a CEWP or a HTML form web part to the relevant pages. -
Dear Experts,
Good Morning....
Please suggest me PS and PP integration customization steps.
Regards
LallanPP is not a major player in PS as far as integration is concerned. It is through Material Management that Production Planning is informed of Production Orders using special settings in the Material Master.
One another area, the PP and PM modules share Work Centers with Project System.
The Work Center is needed for Capacity Planning and Planning costs. If we integrate this Work Center with HR module, we will be able to select only the people who have been assigned to the Work Center. We can specify the amount of work the individual will contribute. This forms the basis for capacity planning.
Hope u must have understand.
PS - Process
After creating the project next step is u want to do cost, Revenue & Budget Planning for the project
in the t-codes CJ42, CJ30 & CJ40 respectively. Next step is creating the Sale order in va01 T-code.
But I have internal project scenario, example: Overhauling of DG set. Assigned work enter & Workforce & also material to network. So shall I do costing? As explained! Is it necessary to create of Sales Order?
CMP2 - Assign workforce to activities
CAT2 - Transfer actual time to CATS. In CAT2 we have record the actual timing correct for an activity, on day basis & with personal number.
MD51 - Run Project MRP to create Planned orders.
MD04, ME21N, MIGO - Convert planned orders to purchase requisitions and P.O, and goods receipt.
MB1A - once the goods are brought is project stock; the same needs to be consumed by mb1a -281 Q on the project.
CJ20n - Attach milestones as per the payment terms.
VA02 - Copy billing plan to sales order.
VF01 - Billing
CJ20n - Project tech complete and closure.
Hope this will help you,
Regards,
ANSAR -
Number range of BP in the Organizational Model
Hi
I created in the transaction PPOCA_CRM my Org.Model when i save de data the system assign a number of BP to the unit, but i have two different Number Range; one to create BP's type 3 that is internal range and the second one i want to use for de Organizational Model but when i save de data the system assign the first one. (Note that the second one is internal too)
Do you know any transaction where i could configure what number range the system have to take when i create the Organizational Model??
Thanks in advanced
:PHi Susana,
Unfortunately there is no unique transaction that allows the system to distinguish between CRM Organizational Unit and Business Partner assignments. Transaction BUCF is the transaction that you would go to create the number range assignments to busines partners. Whatever range you designate as the Internal Standard Grouping will be used to assign Org Unit BP Numbers as well as other business partners that utilize internal number assignment. What happens is that once you designate an internal standard group assignment in CRM that number range will be used for all assignments whether that is for Business Partners, Org Units, etc. You do not have the option to create multiple Internal Standard Group references.
If you have a requirement to assign a unique number range to an Organizational Unit different than the business partners you create, some development will be necessary. I'm not sure how complex this will be, but I can imagine it won't be easy as you are restricted to only one internal standard grouping. Hope this helps.
Gil
Maybe you are looking for
-
Set outgoing account based on address book group
Hello -- I am looking for a way to automatically set the account of new outgoing messages based on the address book group membership of the email recipient. For example, a script or rule that works something like: If [any recipient] belongs to group
-
Hi All, Can any one explain how to do budgeting cost centre group wise? Thanks in advance, Manisha
-
I'm in troubles. I've a pdf form, made with livecycle, where I've put a submit by email button with data signature. The reicever can verify the signature visually by signature tab. There is a way to verify data signatures automatically, by javascript
-
hi, i don´t know in wich table is store the deliver date of each product in a purchase order. Could anybody help me?
-
MULTIPLE_INTERVAL_SELECTION on Mac OS X
I have a JTable with selection mode set to MULTIPLE_INTERVAL_SELECTION. It works perfectly on my linux box and on windows, but it does not work on Mac OS X. I can do a contiguous range with the shift key, but no key combination or click combination s