XSLT Collaboration Definition and XSLT 2.0
Hello,
is it possible to use XSLT 2.0 in XSLT Collaboration Definition? If so, how can I manage it?
Regards,
Jirka
There are two versions of Saxon (http://saxon.sourceforge.net/). Apparently the Open-Source version does have "to the letter" support for XSTL 2.0.
Saxon uses the Mozilla Public License so you're able to include Saxon in your own projects without having to make them open-source but if you're distributing a Saxon binary, e.g. if you're working for a services company that's creating a project for some customer, you'll have to include in the documentation (or even in the project's readme.txt) that your project uses an unmodified Saxon version and that Saxon's source code can be obtained at the website I already mentioned.
Either way, I'm not much into forcing my own opinions onto others but if you ask me paying a couple of thousand quids for a few licenses of a product like the commercial version of Saxon is well worth it. It probably won't make a dent in your project's budget and you'll be doing the Right Thing, which is to fund the development of great software :-)
Similar Messages
-
How to block reusage of archived Project definition and WBS element numbers
Dear All,
We have archived our projects using the TC SARA and the Project definition and WBS elements numbers no more exist in tables PROJ and PRPS etc.. When I now try to create a new project, the system proposes the next open number or allows to enter a number which is the same as one of the archived projects. But in our organization we cannot reuse the Project definition and WBS element numbers (even if it is archived) as a rule.
Can anybody guide me what are the possibilities to block or avoid the reusage of the numbers of archived project definition and WBS elements in a fool-proof way?
Thanks and regardsOne Workaround:
Use T code OPSJ and lock the project coding mask. Doing this you can not use this mask any more.
But you want to continue using the mask but with different numbers. Not sure how this can be acheived. lets wait for others view
Regards
Sreenivas -
Content type, list definition and List instance - query
Dear all,
I created a list content type, list definition and list instance for a SessionsList.
I did mistake when created a event receiver file where field name is RegistrationsInfo - did typo error as RegistrationInfo. This field I want to make it as false in the ShowInNewForm= false
When I deploy it with event receiver file - I am getting stack trace error stating that the RegistrationsInfo field is missing.
Without event receiver file - when I deploy the solution and checked the field name - it is showing rightly as RegistrationsInfo.
Content Type:-
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field ID="{7113CBE5-57E9-4082-A0A2-492B35B69C8D}" Type="Lookup" List="Lists/Courses-List" ShowField="Title" Name="CourseTitle" DisplayName="Courses - Title" Required="FALSE" Group="Training Site Columns"/>
<Field ID="{920AE6A7-2AAE-4E43-8855-7CBD9978EC5E}" Type="Lookup" List="Lists/SessionTrainer" ShowField="FullName" Name="Trainer" DisplayName="Trainer" Required="FALSE" Group="Training Site Columns"/>
<Field ID="{F73D9A96-3C86-4E33-96D5-31E30B08BF40}" Type="Choice" Name="TrainingVenue" DisplayName="Training Venue" Required="FALSE" Group="Training Site Columns">
<CHOICES>
<CHOICE>Kerala Meeting Room</CHOICE>
<CHOICE>Orissa Meeting Room</CHOICE>
<CHOICE>Bihar Meeting Room</CHOICE>
</CHOICES>
</Field>
<Field ID="{B6E9C8F5-F1BD-4D98-BD30-194504859ACC}" Type="Number" Decimals="0" Min="0" Name="RegistrationsInfo" DisplayName="Registrations Info" Required="FALSE" Group="Training Site Columns"/>
<Field ID="{03281B47-F1D1-477E-9793-3A19118720EE}" Type="Number" Decimals="0" Min="0" Name="TotalSeatsInfo" DisplayName="Total Seats Info" Required="FALSE" Group="Training Site Columns"/>
<Field ID="{8A900663-6351-445B-ACB3-394F44D45C8D}" Type="Calculated" ResultType="Number" ReadOnly="TRUE" Name="OpenSeatsInfo" DisplayName="Open Seats Info" Required="FALSE" Group="Training Site Columns">
<Formula>=TotalSeatsInfo-RegistrationsInfo</Formula>
<FieldRefs>
<FieldRef Name="TotalSeatsInfo" ID="{03281B47-F1D1-477E-9793-3A19118720EE}"/>
<FieldRef Name="RegistrationsInfo" ID="{B6E9C8F5-F1BD-4D98-BD30-194504859ACC}"/>
</FieldRefs>
</Field>
<!-- Parent ContentType: Item (0x01) -->
<ContentType ID="0x0100a9dc01b7e78b45799fe59153d97e2b9e"
Name="SessionList"
Group="Session Content Types"
Description="Session Content Type"
Inherits="TRUE"
Version="0">
<FieldRefs>
<FieldRef ID="{7113CBE5-57E9-4082-A0A2-492B35B69C8D}" Name="CourseTitle" DisplayName="Courses - Title" Required="TRUE"/>
<FieldRef ID="{920AE6A7-2AAE-4E43-8855-7CBD9978EC5E}" Name="Trainer" DisplayName="Trainer" Required="FALSE" />
<FieldRef ID="{F73D9A96-3C86-4E33-96D5-31E30B08BF40}" Name="TrainingVenue" DisplayName="Training Venue" Required="FALSE"/>
<FieldRef ID="{B6E9C8F5-F1BD-4D98-BD30-194504859ACC}" Name="RegistrationsInfo" DisplayName="Registrations Info" Required="FALSE"/>
<FieldRef ID="{03281B47-F1D1-477E-9793-3A19118720EE}" Name="TotalSeatsInfo" DisplayName="Total Seats Info" Required="FALSE"/>
<FieldRef ID="{8A900663-6351-445B-ACB3-394F44D45C8D}" Name="OpenSeatsInfo" DisplayName="Open Seats Info" Required="FALSE"/>
</FieldRefs>
</ContentType>
</Elements>
Schema:-
<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="SessionList" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/SessionList-LD-SessionList" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
<MetaData>
<ContentTypes>
<ContentType ID="0x0100a9dc01b7e78b45799fe59153d97e2b9e" Name="SessionList" Group="Session Content Types" Description="Session Content Type" Inherits="TRUE" Version="0">
<FieldRefs>
<FieldRef ID="{7113CBE5-57E9-4082-A0A2-492B35B69C8D}" Name="CourseTitle" DisplayName="Courses - Title" Required="TRUE" />
<FieldRef ID="{920AE6A7-2AAE-4E43-8855-7CBD9978EC5E}" Name="Trainer" DisplayName="Trainer" Required="FALSE" />
<FieldRef ID="{F73D9A96-3C86-4E33-96D5-31E30B08BF40}" Name="TrainingVenue" DisplayName="Training Venue" Required="FALSE" />
<FieldRef ID="{B6E9C8F5-F1BD-4D98-BD30-194504859ACC}" Name="RegistrationsInfo" DisplayName="Registrations Info" Required="FALSE" />
<FieldRef ID="{03281B47-F1D1-477E-9793-3A19118720EE}" Name="TotalSeatsInfo" DisplayName="Total Seats Info" Required="FALSE" />
<FieldRef ID="{8A900663-6351-445B-ACB3-394F44D45C8D}" Name="OpenSeatsInfo" DisplayName="Open Seats Info" Required="FALSE" />
</FieldRefs>
</ContentType>
</ContentTypes>
<Fields>
<Field ID="{7113cbe5-57e9-4082-a0a2-492b35b69c8d}" Type="Lookup" List="Lists/Courses-List" ShowField="Title" Name="CourseTitle" DisplayName="Courses - Title" Required="FALSE" Group="Training Site Columns" />
<Field ID="{920ae6a7-2aae-4e43-8855-7cbd9978ec5e}" Type="Lookup" List="Lists/SessionTrainer" ShowField="FullName" Name="Trainer" DisplayName="Trainer" Required="FALSE" Group="Training Site Columns" />
<Field ID="{f73d9a96-3c86-4e33-96d5-31e30b08bf40}" Type="Choice" Name="TrainingVenue" DisplayName="Training Venue" Required="FALSE" Group="Training Site Columns">
<CHOICES>
<CHOICE>Kerala Meeting Room</CHOICE>
<CHOICE>Orissa Meeting Room</CHOICE>
<CHOICE>Bihar Meeting Room</CHOICE>
</CHOICES>
</Field>
<Field ID="{b6e9c8f5-f1bd-4d98-bd30-194504859acc}" Type="Number" Decimals="0" Min="0" Name="RegistrationsInfo" DisplayName="Registrations Info" Required="FALSE" Group="Training Site Columns" />
<Field ID="{03281b47-f1d1-477e-9793-3a19118720ee}" Type="Number" Decimals="0" Min="0" Name="TotalSeatsInfo" DisplayName="Total Seats Info" Required="FALSE" Group="Training Site Columns" />
<Field ID="{8a900663-6351-445b-acb3-394f44d45c8d}" Type="Calculated" ResultType="Number" ReadOnly="TRUE" Name="OpenSeatsInfo" DisplayName="Open Seats Info" Required="FALSE" Group="Training Site Columns">
<Formula>=TotalSeatsInfo-RegistrationsInfo</Formula>
<FieldRefs>
<FieldRef Name="TotalSeatsInfo" ID="{03281B47-F1D1-477E-9793-3A19118720EE}" />
<FieldRef Name="RegistrationsInfo" ID="{B6E9C8F5-F1BD-4D98-BD30-194504859ACC}" />
</FieldRefs>
</Field>
</Fields>
<Views>
<View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
<Toolbar Type="Standard" />
<XslLink Default="TRUE">main.xsl</XslLink>
<RowLimit Paged="TRUE">30</RowLimit>
<ViewFields>
<FieldRef Name="LinkTitleNoMenu">
</FieldRef>
<FieldRef Name="CourseTitle"></FieldRef>
<FieldRef Name="Trainer"></FieldRef>
<FieldRef Name="TrainingVenue"></FieldRef>
<FieldRef Name="RegistrationsInfo"></FieldRef>
<FieldRef Name="TotalSeatsInfo"></FieldRef>
<FieldRef Name="OpenSeatsInfo"></FieldRef>
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="Modified" Ascending="FALSE">
</FieldRef>
</OrderBy>
</Query>
<ParameterBindings>
<ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
</ParameterBindings>
</View>
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
<Toolbar Type="Standard" />
<XslLink Default="TRUE">main.xsl</XslLink>
<RowLimit Paged="TRUE">30</RowLimit>
<ViewFields>
<FieldRef Name="Attachments">
</FieldRef>
<FieldRef Name="LinkTitle">
</FieldRef>
<FieldRef Name="CourseTitle"></FieldRef>
<FieldRef Name="Trainer"></FieldRef>
<FieldRef Name="TrainingVenue"></FieldRef>
<FieldRef Name="RegistrationsInfo"></FieldRef>
<FieldRef Name="TotalSeatsInfo"></FieldRef>
<FieldRef Name="OpenSeatsInfo"></FieldRef>
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="ID">
</FieldRef>
</OrderBy>
</Query>
<ParameterBindings>
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
</ParameterBindings>
</View>
</Views>
<Forms>
<Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
</Forms>
</MetaData>
</List>
Event Receiver file:-
public override void FeatureActivated(SPFeatureReceiverProperties properties)
//Reference the newly created session list and perform the following
//1. Set the display name of the "Title" column to "SessID" and hide it from the New and Edit Forms
//2. Make the "SessID" column not required
//3. Set the default value of the RegistrationsInfo column to 0 and do not display it on the new form
//4. Add the built-in "Start Date" and "End Date" columns
//Reference the newly created session list
SPWeb currentWeb = properties.Feature.Parent as SPWeb;
//currentWeb.AllowUnsafeUpdates = true;
SPList sessionList = currentWeb.Lists["SessionList"];
//Title column update
SPField titleField = sessionList.Fields["Title"];
titleField.Required = false;
titleField.ShowInNewForm = false;
titleField.ShowInEditForm = false;
titleField.Title = "SessID";
titleField.Update();
//RegistrationsInfo column updates
SPField registrationField = sessionList.Fields["RegistrationsInfo"];
registrationField.DefaultValue = "0";
registrationField.ShowInNewForm = false;
registrationField.Update();
//Add the Start Date and End Date columns to the list, ensure they both display Date and Time, and add them to the default view of the list
SPFieldDateTime startDate = currentWeb.Fields["Starting_Date"] as SPFieldDateTime;
startDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
SPFieldDateTime endDate = currentWeb.Fields["Ending_Date"] as SPFieldDateTime;
endDate.DisplayFormat = SPDateTimeFieldFormatType.DateTime;
sessionList.Fields.Add(startDate);
sessionList.Fields.Add(endDate);
SPView defaultView = sessionList.DefaultView;
defaultView.ViewFields.Add(startDate);
defaultView.ViewFields.Add(endDate);
defaultView.Update();
sessionList.Update();
//currentWeb.AllowUnsafeUpdates = false;
Can somebody help me - how to overcome the RegistrationsInfo missing field - error(in the stack trace) when activating the feature in the training site?
Thanks
SathyaHi Sathya,
Seems the field “RegistrationsInfo” is not been found when deploying with Event Receiver, a possible reason is that it might be damaged.
As a workaround, I suggest you retract the solution from your farm, make sure the “RegistrationsInfo” field is deleted using PowerShell, then create another project with the same
content and perform the deployment again.
About how to delete a field using PowerShell for your reference:
https://peterheibrink.wordpress.com/2011/12/09/powershell-delete-field-and-all-references/
http://www.sharepointfix.com/2011/04/powershell-script-to-delete-site.html
Feel free to reply if there any progress.
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Creation of project definition and wbs element
I want creation of project definition and wbs element upto 4 level using bapis.
i am using transaction cj27,cj01,cj02
which function module to use for this??Hi,
to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
these bapi must be used in the sequence of call :
BAPI_PS_INITIALIZATION
BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
BAPI_TRANSACTION_COMMIT
before using the bapi, you must apply OSS note :
637345 - Syntax error with enhanced PS tables
i sent you the oss note to your mail
please reward points if helpfull. -
How to Get project definition and description by WBS element
Hi All,
Is there any way to get project definition and description by providing WBS element.
Please help .
Salman ZahirHi,
These r the tables
PRHI Work Breakdown Structure, Edges (Hierarchy Pointer)
PROJ Project definition
PRPS WBS (Work Breakdown Structure) Element Master Data
RPSCO Project info database: Costs, revenues, finances
MSPR Project stock
Thanks,
Anitha -
Collaboration Rooms and Document Uploads from Network
Hi,
We are starting to use Collaboration Rooms and would like the Documents iview to point to our network file system, so when a user uploads a file he can do it via the portal or our network drive. We are using FSR's elsewhere and are wondering how to incorporate it into a collab room document iview. Our portal environment is NW04 Stack 12.
Any assistance would be most appreciated.
Thanks,
KrisHi Kris,
what you need to do is to create a collaboration room template that would integrate a KM Navigation iView that points to the file share. Of course, first you need to integrate the share via repository manager in KM.
I hope you know how to integrate the share into KM. For more on how to create a room template check the info in this thread:
Collaboration Room Creation error on NW04 SP9
Hope this helps,
Robert -
Collaboration rooms and Inner Page == embedded
Hi,
does Inner Page Isolation Mode has always have to be set at URL?
When we set Inner Page Isolation Mode to Embedded the collaboration rooms and collaboration detailed navigation are not working anymore and the browser is redirected to:
http://somecompany.org:50100/irj/portal?standAlone=true&windowId=WID1243256552687
Any ideas what could be the cause and how to fix it, besides setting Inner Page isolation mode to URL?
Maybe EPCM.doNavigate used in collaboration rooms requires that the Inner Page Isolation Mode should be set to URL?
Regards,
Ladislav
Edited by: Ladislav Pomezny on May 25, 2009 3:34 PMI've set inner page isolation mode to url.
-
Cell Definition and Reverse sign Issue after upgrade
Hi ,
we are having a issue here after upgrade to BI 7 from 3.1c .
There is a Collision between Cell Definition and Reverse sign in the query designer.
Issue is . We have Key Figure "Net Days AR" which has Reverse Sign Checked under properties. In 3.1c when we ran the report the Net Days AR would get value like for example -40 . but now after upgrade to BI 7 SP 16 we are getting value 40. the negative sign is missing. The formula is correct.
I went and checkd if we have any cell definitions defined on this and found the cell definitions onthis keyfigure.
values are comming correct if there are no cell definitions.
Thanks in Advance and Points will be awarded.
Thanks,
Reddywe have the same problem. In BI 2004s with BEx 3.x when the cell reference is defined, the reverse sign flag is ignored.
I opened a message to SAP. Until now no solution and I think we'll never receive solution. Here are the answers we received:
SAP
I have to say this is the limitation of front end 3.5.
In designer 3.5, it works this way:
When you define a cell referance, this cell is blocked from change of the column property change. No matter how you change the column key fig proerty, it keeps the original status when you define it.
If you want the defined cell property, you need to delete the cell
referance, change property, then redefine the referance.
I agree this is very inconvinience, that's why I would recommend you to use query designer 7.0 if possible. With 7.0 front end, you can define separately the property for defined cells. It is more flexible.
ME
At the moment it is not possible to migrate to 7.0 frontend.
I tried to delete the cell reference, change properties and redefine the reference. I tried to create new columns, define cell properties, save and define the cell reference. I tried several different combinations...
No way, as soon as I define the cell reference, column properties are ignored.
1) How can we restore the correct behavour of a query in frontend 3.5?
2) If we found a way to restore it, we need a smart procedure to modify all our existing queries (including how to identify those affected by this inconvenience).
SAP
For front end 3.5, you need do following:
1. delete cell referance
2. change the column property (such as tick on or off the sign reversal)
3. re-define the cell (this cell will with the new sign status)
4. define formular base on cell
After step 3, you can't change cell property whatever you do in
column property. This is the designed behavior.
If you want to change property after step 3, you need to start
all over from step 1.
ME
I did it.
Don't work. When I define the cell reference, column properties are ignored.
SAP
It seems there is some issue in front end.
Do you use the front end 3.5 with latest patch?
Could you please check front end installation as per sapbexc.xla (described in note 197460). If there are problems shown within this check do the following:
- Remove your frontend via 'START' - 'PROGRAMS' - 'SAP FRONTEND' -'REMOVE SAP FRONTEND'
- Install the lastest frontend and GUI patch (according to note 496977or 496989 again and check the installation).
ME
I don't think so. I am using:
Sapgui 7.10 Patch 8
Bex 3.50 Patch 3
Bex 7.x Patch 5
to be continued... -
DFD diagram and ER crossmatrix for role definitions and role's privileges on objects
Hello,
Having the question on derivative use of combination of DFDs and ER diagrams ( let us be more fixes and focus on Relational model ).
In DFD there are defined external entities and functions, data flows and data stores that are forming processes.
Functions represents procedures, transactions, transformations.
Dataflows presents procedures parameters, intermediate reports, temporary table data, data that is passed , retrieved/written, signals, triggers/events that controle or trigger function...
Context of my question is focused on external entities.
External entity suppose to denote the sourced or destinationed system ( for example Archiving system ) or operator, system that is out of scope of the DFD and it is mentioned just as target or destination or source of dataflow or control flow.
In context of these understandings I am using external entitiy also for types of users of the system: staff that is triggering functions or schedulers or job managers, or reporting systems ( or components of reporting systems like for example business intelligence extraction processes ).
What is my problem that on basis of external entity definitions and E/R model also define roles and privilege classes for access to data objects.
And from those generating ddls for database roles, privileges on entitities to those roles.
But in privileges granting to role having two different kind of privileges on data objects:
- privileges that are granted on various schema objects
For example role1 has grant on tab1, view2, procedure1, package3,
- the other type of privilega is based on the scope or range of semantically defined scope or semantic area.
Semantic area is scattered through tables because of normalisation and using semantic area as entity of which primary key is
partitioning the table data through many semantic areas.
So this privilege should be granted on basis of the rows in table not column ( more semantically then structurally ...row oriented more than column ).
Both privileges that are granted to roles are also basis for functional roles
( privilege that is granted that functional role has grant to trigger or execute some function or process ).
My question is?
How do you handle modeling technology for analysis and design for role privileges and consolidation between database and functional roles ?
Grateful for any idea, experience and suggestions.Hello,
Guess I was looking for the formal sequence of steps that would bring me to the
ddls for "create role ..." and "grant privileges to role".
You can do that.
1) I assume you have logical model and it's engineered to relational model, also you have data flow diagram created
2) You need to define information structures for flows connecting "Information store" to primitive process - attribute usage of particular entities should be defined for those "information structures" processed in flows
3) You need to define create, update and delete operation for flow going from primitive process to store - read is assumed in opposite direction
4) create a role in Process model and assign primitive processes to it - list of available processes to add depends on current data flow diagram
5) You need an open physical model for your relational model
6) Select "transfer process model roles to physical model roles" from context menu of top level DFD - select roles, relational and physical model there - roles with related permissions will be created in physical model
Entity1 is divided in several subtypes for different business areas.
And account manager for business_area1 is allowed to work on subtype1 ( view on prime table )...
Different implementation of entity hierarchies are not processed correctly in that wizard - i.e to get permissions to table corresponding to child entity - that entity should be used in information structure and flow.
Philip -
IS-Retail:Definitions and Assignments in IS-Retail
Hi All,
Can anybody explain me what are the "Definitions" that we do in IS-Retail and what are the "Assignments" that we do in IS-Retail just like we do in R/3.I want complete "Definitions" and complete "Assignments" in Retail.Reply sooon
Thanks
mahiHi All,
My question is clear what are the "definitions" that we have to do like define company,Company code,sales organisation,sales office,sales group,............and what are the "assignments" that we have to do like assign company code to company,assign sales org to companycode,assing sales office to sales area...............like this. what are the "definitions" and "assignments" that are there in IS-Retail project.I want the complete "definitions and assignments" which we do in IMG>enterprise Struture>Definitions
IMG>enterprise struture>Assignments for an IS-Retail project.
Hope it is clear now.
Reply soooon
Thanks
Mahi -
Error when create project definition and 2 wbs by bapi BAPI_PROJECT_MAINTAI
Hello everyone,
I have to create project definition and 2 wbs, I use function BAPI_PROJECT_MAINTAI but I have the error:
"WBS element 0033.3332.01.R already exists" but that wbs it's created.
This is my code.
data:
I_WBS_ELEMENT_TABLE type BAPI_WBS_ELEMENT occurs 0 with header line,
I_WBS_ELEMENT_TABLE_UPDATE type BAPI_WBS_ELEMENT_UPDATE occurs 0 with header line,
I_PROJECT_DEFINITION like BAPI_PROJECT_DEFINITION,
I_PROJECT_DEFINITION_UPD like BAPI_PROJECT_DEFINITION_UP,
I_METHOD_PROJECT type BAPI_METHOD_PROJECT occurs 0 with header line,
E_MESSAGE_TABLE like BAPI_METH_MESSAGE occurs 0 with header line,
RETURN type BAPIRETURN1,
lv_index LIKE bapi_method_project-refnumber.
lv_index = 1.
I_METHOD_PROJECT-OBJECTTYPE = 'ProjectDefinition'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
lv_index = lv_index + 1.
I_METHOD_PROJECT-OBJECTTYPE = 'WBS-Element'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332.01'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
lv_index = lv_index + 1.
clear I_METHOD_PROJECT.
I_METHOD_PROJECT-OBJECTTYPE = 'WBS-Element'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332.01.R'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
clear I_METHOD_PROJECT.
I_METHOD_PROJECT-OBJECTTYPE = space.
I_METHOD_PROJECT-METHOD = 'Save'.
I_METHOD_PROJECT-OBJECTKEY = space.
I_METHOD_PROJECT-REFNUMBER = space.
append I_METHOD_PROJECT.
I_PROJECT_DEFINITION-PROJECT_DEFINITION = '0033.3332'.
I_PROJECT_DEFINITION-DESCRIPTION = 'Training project'.
I_PROJECT_DEFINITION-PROJECT_PROFILE = 'ZAF0001'.
I_PROJECT_DEFINITION-COMP_CODE = '0033'.
I_PROJECT_DEFINITION-RESPONSIBLE_NO = 1.
I_PROJECT_DEFINITION-APPLICANT_NO = 1.
I_PROJECT_DEFINITION-PLANT = '033A'.
I_WBS_ELEMENT_TABLE-PROJECT_DEFINITION = '0033.3332'.
I_WBS_ELEMENT_TABLE-WBS_ELEMENT = '0033.3332.01'.
I_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS 1'.
I_WBS_ELEMENT_TABLE-RESPONSIBLE_NO = 1.
I_WBS_ELEMENT_TABLE-APPLICANT_NO = 1.
I_WBS_ELEMENT_TABLE-COMP_CODE = '0033'.
I_WBS_ELEMENT_TABLE-PROFIT_CTR = '0033A99999'.
I_WBS_ELEMENT_TABLE-PLANT = '033A'.
append i_wbs_element_table.
clear I_WBS_ELEMENT_TABLE.
I_WBS_ELEMENT_TABLE-PROJECT_DEFINITION = '0033.3332'.
I_WBS_ELEMENT_TABLE-WBS_ELEMENT = '0033.3332.01.R'.
I_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS 2'.
I_WBS_ELEMENT_TABLE-RESPONSIBLE_NO = 1.
I_WBS_ELEMENT_TABLE-APPLICANT_NO = 1.
I_WBS_ELEMENT_TABLE-COMP_CODE = '0033'.
I_WBS_ELEMENT_TABLE-PROFIT_CTR = '0033A99999'.
I_WBS_ELEMENT_TABLE-PLANT = '033A'.
append i_wbs_element_table.
PERFORM fill_update_flags USING 'BAPI_PROJECT_DEFINITION_UP'
CHANGING I_PROJECT_DEFINITION_UPD.
PERFORM fill_update_flags USING 'BAPI_WBS_ELEMENT_UPDATE'
CHANGING I_WBS_ELEMENT_TABLE_UPDATE.
append I_WBS_ELEMENT_TABLE_UPDATE.
append I_WBS_ELEMENT_TABLE_UPDATE.
CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
EXPORTING
I_PROJECT_DEFINITION = I_PROJECT_DEFINITION
I_PROJECT_DEFINITION_UPD = I_PROJECT_DEFINITION_UPD
TABLES
I_METHOD_PROJECT = I_METHOD_PROJECT
I_WBS_ELEMENT_TABLE_UPDATE = I_WBS_ELEMENT_TABLE_UPDATE[]
I_WBS_ELEMENT_TABLE = I_WBS_ELEMENT_TABLE[]
E_MESSAGE_TABLE = E_MESSAGE_TABLE
write: / 'Finish'.
*& Form FILL_UPDATE_FLAGS
FORM fill_update_flags USING value(p_ddic_name)
CHANGING p_struc_upd.
DATA: lt_dd03l LIKE dd03l OCCURS 0,
ls_dd03l LIKE dd03l.
DATA: s(40), c(40), sc(80) TYPE c.
FIELD-SYMBOLS: <s>, <c>, <sc> TYPE ANY.
TRANSLATE p_ddic_name TO UPPER CASE.
SELECT * FROM dd03l INTO TABLE lt_dd03l WHERE tabname = p_ddic_name.
s = 'P_STRUC_UPD'.
ASSIGN (s) TO <s>.
LOOP AT lt_dd03l INTO ls_dd03l.
ASSIGN ls_dd03l-fieldname TO <c>.
ASSIGN COMPONENT <c> OF STRUCTURE <s> TO <sc>.
<sc> = 'X'.
ENDLOOP.
ENDFORM. " FILL_UPDATE_FLAGS
Please help me!
Thank you!
Edited by: kishan P on Sep 10, 2010 9:37 AMHi,
Please try creating the project definition and then call the FM again to create the WBS.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/226a7246e611d189470000e829fbbd/frameset.htm
Hope it helps.
Sujay -
Can someone please describe and provide a definition and the differences of a connection event and an intrusion event, as seen in Sourcefire's Defense Center..
Thank you,Hello friends,
Please, allow me to resurect this old post. I have already installed CSM 4.4 and now I am able to manage an ASA. I have already configured according to the nex User Guide:
http://www.cisco.com/c/en/us/td/docs/security/security_management/cisco_security_manager/security_manager/4-4/user/guide/CSMUserGuide_wrapper/evntchap.html
I am not able to see the events in the Event Viewer client. Would any body suggest me how to troubleshoot this?
Regards! -
To fetch proj.definition and its description
Hai Friends,
From CJ03 i want to fetch project definition and its description. i have WBS and AUC number.how can i fetch this?.
I checked in PROJ table but i could not able to take from WBS or AUC. where can i fetch this?.hi vennila,
i refered the tables in my ides. I think following information will be of use to u.
try out in the table PRPS
in this table there is a field PSPHI (project)
Regards
Sajid -
Hi All,
What is Site Definition and is there any OOTB Site Definition ?
How to Create Custom Site Defination?
Thanks in advance!Hello,
Please check following links for detailed explanation :
http://msdn.microsoft.com/en-us/library/aa978512(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ee231583.aspx
Regards, Shruti -
Failed to find WSDL definition and/or locate WSDL file
I am getting this exception
Failed to find WSDL definition and/or locate WSDL file:
- WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://10.126.2.78:6001/HPSDAdapter-HPSDAdapter-webapp/HPSDAdapterService/HPSDAdapterService?wsdl: HTTP connection error code is 407
while opening my SOA composite on Jdeveloper 11.1.1.5, this webservice I have added before and it was working fine but now I am getting exception continuously, I am not using proxy in Jdev and can't go for new release as other teams have this version only.
Please suggest what should I do for that.
Thanks.If the server containing the webservices is not running or something in the signature of the webservice has changed, you most likely will get this error. When opening the composite, JDev always validates that all the services that are referenced are alive.
Juan C.
Maybe you are looking for
-
TS1453 Apple TV (1st Generation) no longer synching with iTunes
Since updating to OS X 10.7.4 I am no longer able to synch my Apple TV with iTunes on my 21.5" iMac. The Apple TV appears on the list of devices in iTunes and is connected to the internet, but it will not synch with iTunes on my computer. Also sinc
-
Reg creation of patterns in smartforms 4.6c
Hi, I know that there is an option to create patterns in the smartforms version 4.7.But is there any way to create the required patterns of our own in smartforms version 4.6c. thanks in advance regards, karthik
-
my wife has icloud on our computer and I want to break out and create my own icloud account. I've built the account but can't figure out how to COPY our joint address book onto my account so I can then weed out my own addresses. Please help!
-
I created a pdf with swf embedded. Set it to autoplay. Does play fine in IE9. In Firefox and Chrome video shows up (initial picture) with a play button. Will not play, not auto nor when I click the play button. Firefox and Chrome I just downloaded, s
-
HT2052 is it possible to buy this product in Indian Rupees?
is it possible to buy this product in Indian Rupees?