on 12-05-2008 7:11 AM
Hello Experts,
Below is wdDomodify function of Overview of Address iview.
TO create bizcards create overview function of FcPersInfo is called.
Here I want to send fieldinfo1 as the parameter to that fnction if the subtype is permanent office. can any one please give me a hint how to proceed on this.
//@@end
public static void wdDoModifyView(IPrivateBizCardsView wdThis, IPrivateBizCardsView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
{
//@@begin wdDoModifyView
BizcardFieldInfo[] fieldInfo;
BizcardFieldInfo[] fieldInfo1;
Date defaultBegda = wdContext.currentContextElement().getDefault_Begda();
String bizcardField1 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField1");
String bizcardField2 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField2");
String bizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3");
String BizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3"); // House #
String BizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField4"); // City
String BizcardField5 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField5"); // State
String BizcardField6 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField6"); // Zip Code
String BizcardField7 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText
fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras"),
new BizcardFieldInfo(bizcardField2, "Ort01"),
new BizcardFieldInfo(bizcardField3, "Telnr"),
};
fieldInfo1 = new BizcardFieldInfo[] {
new BizcardFieldInfo(BizcardField3, "Stras"), // House #
new BizcardFieldInfo(BizcardField4, "Ort01"), // City
new BizcardFieldInfo(BizcardField5, "State"), // State
new BizcardFieldInfo(BizcardField6, "Pstlz"), // Zip Code
new BizcardFieldInfo(BizcardField7, "Land1") };
wdThis.wdGetFcPersInfoInterface().CreateOverview(
wdThis.wdGetContext().nodeInfotypeList(),
view,
fieldInfo, "Anssa");
Thanks,
Boiler
Hello Bolier !!
Were you able to do the same ? " capture the Subtype value in Overview view of Address iview"
Since I am in similar soup , I would like your help on that matter .If this can be done we can identify and control the delete button for the subtype (2 & 1)
Please suggest !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.