How to attach iBase to iBase through code
Hi all,
If there are iBase A and B, in transaction IB52 (on A), [Directly subordinate objects], [Installation], one could add B as 'Installed iBase', and B becomes a 'Component' of A.
My task is to do this in a program, but CRM_IBASE_COMP_CREATE does not work, and I could not find a suitable function module.
I'd be greatly appreciated if someone could help me out.
Thanks
-- Sam Shi
Hi Sumit,
Can you elaborate on this ? Do you mean that a user should be given access to an iview only through UWL ? Or is it that if he clicks on a UWL item, he sees the iview there ?
You can surely open an iview on the click of an item in UWL. The configuration has to be made in SWF_VISU by selecting type as portal application, giving the pcd location of the iview (portal object).
Regards,
Sunil
Similar Messages
-
How to handle Iviews and UWL through Code?
Hi All,
I want to know
1)Is it possible to assign a iview to a user as a UWL task.
2)If yes how to do it through code?
Please reply soon!
Points will surely be given to helpful answers.
SumitHi Sumit,
Can you elaborate on this ? Do you mean that a user should be given access to an iview only through UWL ? Or is it that if he clicks on a UWL item, he sees the iview there ?
You can surely open an iview on the click of an item in UWL. The configuration has to be made in SWF_VISU by selecting type as portal application, giving the pcd location of the iview (portal object).
Regards,
Sunil -
How to generate selection change event through code in JTree?
I am developing an application which downloads the file from other system and adds it into the tree. On selecting any file in the tree I m displaying it's contents. But now i am trying to display the contents of downloaded file as soon as it's download completes. Here i am not getting the way to how to generate the event as the download completes, because i tried that setSelectionPath(TreePath path), but it also don't generates the selection change event. Is there any other way to do so?
Put null in place of oldLeadSelectionPath. From the API for TreeSelectionEvent:
protected TreePath oldLeadSelectionPath:
leadSelectionPath before the paths changed, may be null.
I'm at the office and can't try out anything, so please let me know whether that works for you.
db
edit Or it may be easier to put all code from your valueChanged (...) override in a new method and invoke that method both from valueChanged (...) and wherever else you need.
Edited by: Darryl.Burke -
How to prevent parallel job scheduling through code?
Hai,
if user schedule one job as background , prevent again scheduling of the same job before finishing the first one. if any function module or code is available for that purpose.
Plz Help.
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on Apr 27, 2011 3:37 PMHi,
You have to use FM SHOW_JOBSTATE, this FM lets you know if the JOB is finished or active.
If itu2019s active you have to put a WAIT, and put all this inside a WHILE.
Regards,
Gabriela -
How to attach Form to Transaction Code F-92
Dear All,
I have a reuirement from my client, where in they need Printout for Transaction Code f-92, I want to know how to attach Form to the Transaction Code or is there any standard Form availabale in the system.
Thanks in advance
Dnyanesh ShenwaiHi
The user menu is the set of menu of all roles of user, so you should check the roles of the user and update one of menu of user roles.
You can do it by transactions PFGC, but if you change a role you'll change the menu of all users have that role.
This operation usually is made by the administrators of system.
Max
Message was edited by: max bianchi -
How to attach documents to crmd_order
can any one tell me how to attach document in crmd_order through fm
Use cl_crm_documents=>create_with_file method.
Regards. -
How to attach the T.CODE to a report created through REPORT PAINTER
Hi all,
Please tell me "<b>How to attach the T.CODE to a report created through REPORT PAINTER".</b>.
Please show me the way how to do it as its getting too firing issue !!
Awaiting for the early responses !!
M.SoniDear All,
I got some good inputs from <b>Jessie</b> on this issue and observed that the reports which are created through report painter are standard one having entries in the TSTCP table .
<b>But the reports(Through Report Painter) which are creaed by us has no entry in TSTCP table !!</b>
Kindly show the way, how to attach the T.code to the reports which are created through report painter. as its getting so buggy now !!
Please tell me if someone know about this.
<b>Please note all my reports are created directly in the 500(Production</b>).
Waiting for quick inputs !!
Regards,
M.soni -
CRM-T-code-IB52 Attaching warranty to ibase component automatically.
Hi,
In CRM IB52 transcation how to attach warranty to the Ibase component realtionship Automaticaly.
Please provide your suggestions and solutions.
Thanks in Advance.
Regards
AnbuHello,
I am aware of the fact that this topic is almost a year old but perhaps my answer will be beneficial for someone else.
To assign Warranty to IBase Component use FM: CRM_IBWTY_IL_API_CREATE.
Export parameters:
iv_object_guid " GUID of the Product/Component/IBase/IObject
to which you want to assign warranty
iv_object_reference = '01' " Product
'02' " Installed Base Component
'03' " Installed Base Header
'04' " Individual Object
it_interlinkage_to_create " internal table with Warranty GUID, start
date and dates determination method.
The actual data containing thhese relations is retained in CDBD_IL_IBCWTY table.
Cheers,
Mark -
How to create a Xfdf doc. in Acrobat Pro 10 through code?
Hi All..!!!
I wanted to know whether there is a way to create an XPdf document in Acrobat Pro 10. I know that we can create a pdf document through code using the SDK.. I wanted to know whether the same can be done for XPdf documents..
Thanks!!Writing an XFDF is not that difficult; all you need is a tool allowing you to assemble text strings.
The preferred way to get a sample on how the XFDF should look like is to export one from the form concerned, and to repeat it using your code. In this case, the document knows best how the XFDF should look like.
Hope this can help.
Max Wyss. -
How to give acces to app to use the images in device through code
Hi,
I am writting an Iphone app, in some part of my application there is a facility to the users to upload their files , but the device is asking to give permission to the app to access files, i have to do that manually , my question is there any way to acheive that through code, In am using Xcode to create my app
Thanks.Hi Kasturi,
> not accepting the points
It worked on this and on one other thread, but this is still open: How to upload the image
> want upload the images from the client side machine
> to KM
In the thread I just referred to, I already provided information about the HTMLB upload control. With this at hand, you'll get the file from the client to the server.
At server side, get an ICollection instance where you want to store the file and create the corresponding resource. See https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/knowledge management/com/sapportals/wcm/repository/icollection.html#createresource(java.lang.String,%20com.sapportals.wcm.repository.IPropertyMap,%20com.sapportals.wcm.util.content.IContent)
Hope it helps
Detlev -
How to fill values in the system matrix through code
hi
All
i want to fill the system matrix in the sales order in such a way that
Items will be filled in system matrix in the lost focust event of the Customer Code selection in the Sales order Document
how can i fill the system matrix through code
one thing that first column(ItemCode) of the system matrix column is a Icombbox type
Now i need to fill out item code using code
can any one suggest the answer
thanks in advancemadhu,
You need to catch the Validate event, when pVal.BeforeAction = False for form items 4 (CardCode) and 54 (CardName) of the Sales Order form.
Concerning the form's matrix, you can fill it but you cannot change it (you cannot change the ItemCode column into a ComboBox. Is is a EditText)
Fill a System matrix's Cell with the following code:
Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
oMatrix.Columns.Item("ItemCode").Cells.Item(Row_Num).Specific.Value = "Item_Code"
Regards,
Vítor Vieira -
Can any one tell me how to attach a pdf file to the mail through workflow
I have a smart which i am able to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow
Hi,
To create the task for attachment
Use the BOR SELFITEM and method NOTES_APPEND.
The out come of this task contain a link called attachment with a clip attached. Clisk on that icon and choose the type of attachment u want . RAW , EXCEL , TXT , PDF... Then using the import icon u can attach the document u like.
But the TYPE : OBJ.
Similarly using NOTE_DISPLAY method u can display the documents u like.
In any work item u have the facility to attach any atttchment for further circulation .
Attchment @ WORKITEM
1.Click the workitem for which you want to create the attchment
2.Press create attachment
3. Add the attachment u like (PDF)
Reward points for useful answer.
Richard A -
Hello,
I am trying to find a code to find all the references of the property defined in a class which is very similar to 'Find All References' function available in Visual Studio environment. But I want to have it in code during run time. How to do it?
e.g
=>Property 1
private int _Salary;
public int Salary()
get{return _Salary;}
set{_Salary = value;}
=> Property 2
private int _Bonus;
public int Bonus()
get{return Salary * 2;}
Like in the above example I have two properties Salary & Bonus. Bonus is calculated from salary. As soon as I set a value to Salary, value of Bonus gets updated.
Similarly I want to get reference of all other properties or methods in the class or program which are affected when value of Salary is changed through code.
Conclusion - I want to have a method or function, so that whenever I set a value to some property in a class, I want to have a list of all the other properties(List<Property>) or methods which are affected and in which the changed property is referenced.
Please help me to achieve this.
Siddharth.ShindeThis is not something possible, as requested, even with reflection.
I can't find the reason for having that kind of implementation at runtime.. your compiled assembly is not going to change once it's compiled.
The way references are listed from within visual studio is probably using metadata gathered from the background compiler. When you write code, the compiler run pre-compilation tests, this is the same feature that will display error in your code before you
compile, or complete your intelisense for types that aren't even compiled in the assembly.
So, the only way for you to analyze this kind of thing would be to use something like ILDASM to disasemble your compiled libraries and gather metadata from the resulting MSIL. That would not work if you are using code obfuscation by the way. -
How to add invitees to an event through code?
How to add invitees to an event through code? Attendees property in EKCalendarItem is readonly, is there any way to do it?
Sorry by email only iCloud: Share a calendar with others
-
How to press key through code in B1
Hi All,
How to press key through code in B1 ?
Is there any event?Hi Anuj
This is one solution
If pVal.CharPressed = 35 Then
Else
If pVal.CharPressed = 8 Or pVal.CharPressed = 36 Then
oForm.Items.Item("txtpass").Specific.Value = ""
oForm.Items.Item("txtvpass").Specific.Value = ""
txtPass1.Value = ""
Else
Try
If pVal.CharPressed Then
ls = ""
For i = 1 To Len(oForm.Items.Item("txtvpass").Specific.value)
ls = ls + "*"
Next
oForm.Items.Item("txtpass").Specific.Value = oForm.Items.Item("txtpass").Specific.Value + Chr(pVal.CharPressed)
txtPass1.Value = oForm.Items.Item("txtvpass").Specific.Value
oForm.Items.Item("txtvpass").Specific.Value = ls
oForm.Items.Item("txtvpass").Click()
SBO_Application.SendKeys("")
End If
Catch ex As Exception
SBO_Application.MessageBox("Password :" & ex.Message)
End Try
End If
End If
Catch ex As Exception
SBO_Application.MessageBox("txtvpass Key Down:" & ex.Message)
End Try
-Anto -
How to close a running exe through java code
hai friends,
i need to close a running exe file through code...
i tried
Runtime r;
Process p;
try {
r = Runtime.getRuntime();
p=r.exec("d:\\aaa");
} catch (IOException ex)
p.destroy();but its not closing the application properly...
pls anyone help meksnagendran26 wrote:
how to exit the application which is running in quick launchWell my guess, since you are not providing specific information, is that java is in fact closing the application that it ran. What you are seeing is some other application that was spawned by whatever it is that you did. And java isn't going to close that because it doesn't even know it exists.
Maybe you are looking for
-
How can I get my music back onto my iPhone from the the cloud
I have a new primary PC. My music Library is on an old dying laptop. I have found all my music has disappeared from my phone. Some is on the cloud, but it appears to only be the music purchased on iTunes, only about 1/3 of my collection. Now I fi
-
Best Practices for Content Management
Hi All, Could anybody suggest me what are the best practices for Content Management. Regards, Tom
-
When I start iTunes, how do I get rid of the message "To use this machine for downloads, enter you Apple ID and password" which I now see twice since I downloaded the latest version of iTunes. Once is enough and no checkbox exists to say "do not sho
-
Photoshop CS5 printer functions unavailable on new 21" imac, OS X version 10.6.4
Epson Stylus Photo 2200 printer, with the newest driver will not allow me to perform several important functions in Photoshop CS5 These functions are available to me in Photoshop CS2 on a G4 laptop. When photoshop (as opposed to the printer) is assig
-
Unknown error when using daq express vi's
Hi there i get unknown error when trying to use DAQ express VI's. I have downloaded and installed NI device drivers which was required to generate EXE since then this problem was occuring what should i do i have done all that was mentioned in the fol