Get workitems based on know taskId
Is it possible to find all the workitems for a particular taskId? If so, please provide me with the XPress code, thanks.
Hi
as per my knowledge Org data which contains division and Product hierchy should match otherwise mismatch or data in consistency between division and product hierarchy occus.
So go to division or product field place mouse there F1 then go to technical data there you will find table name,label name,field name from table it is coming.
reward if helpful
regards
Similar Messages
-
Workflow initiator does not get workitems when PR Approve rejects.
Hi,
Workflow initiators does not get workitems when PR Approve rejects.Is there any thing missing in that .
Please let me know .
Regards,
Gurprit Bhatia
Edited by: GURPRIT BHATIA on Jan 28, 2009 8:38 AMHi GB,
In order that the WF initiator gets workitems on PR rejection, you need to assign method 'InfoReleaseRejected' (BO BUS2009) to a task in the PR rejection flow of your WF. If this is done, then check if you have assigned WF Initiator as the Agent in that task.
Hope this helps.
Thanks,
Ajay -
PAM-KRB5: account: unable to get host based service name for realm
I want a custom service to authenticate via PAM with Microsoft Active Directory Services on Windows 2003. kinit appears to work:
Myserver% klist
Ticket cache: /tmp/krb5cc_200
Default principal: [email protected]
Valid starting Expires Service principal
Tue 01 Aug 2006 10:42:23 AM CDT Tue 01 Aug 2006 08:42:23 PM CDT krbtgt/[email protected]
renew until Tue 08 Aug 2006 10:42:23 AM CDT
Running a sample PAM consumer using 'winsamp' as its service name complains that Kerberos doesn't know the user. syslog reports: PAM-KRB5: account: unable to get host based service name for realm 'EXAMPLE.COM'.
I'm stuggling to get any additional logging out of either PAM or Kerberos. Any advice appreciated.
/etc/pam.conf:
winsamp auth required pam_krb5.so.1 debug
winsamp password required pam_krb5.so.1 debug
winsamp account required pam_krb5.so.1 debug
winsamp session required pam_krb5.so.1 debug
/etc/krb5/krb5.conf:
[libdefaults]
default_realm = EXAMPLE.COM
default_tkt_enctypes = des-cbc-md5 ; or des-cbc-crc
default_tgs_enctypes = des-cbc-md5 ; or des-cbc-crc
[realms]
EXAMPLE.COM = {
kdc = mykdc.example.com:88
admin_server = mykdc.example.com
default_domain = EXAMPLE.COM
[domain_realm]
.example.com = EXAMPLE.COM
[logging]
default = FILE:/var/krb5/kdc.log
kdc = FILE:/var/krb5/kdc.log
kdc_rotate = {
# How often to rotate kdc.log. Logs will get rotated no more
# often than the period, and less often if the KDC is not used
# frequently.
period = 1d
# how many versions of kdc.log to keep around (kdc.log.0, kdc.log.1, ...)
versions = 10
[appdefaults]
kinit = {
renewable = true
forwardable= true
PAM sample application synopsis:
pam_start("winsamp", "someuser", &conv, &pamh);
err = pam_authenticate(pamh, 0);
if (err == PAM_USER_UNKNOWN)
printf("don't know that user\n"); // <-- we always arrive here
logout();
}Part of the problem was that the Sun server's domain was not an exact match for the ADS domain. One was XXXX.EXAMPLE.COM and the other was just EXAMPLE.COM. Adding the equiv. domains in krb5.conf improved that situation.
The sample PAM application still doesn't behave the way I want. When pam.conf is configured to authenticate against /etc/passwd, it works. Not when authenticating against ADS alone. I've come to the conclusion that PAM is for authenticating ONLY access to Solaris accounts.
My application does not need a Solaris account. Am I using the wrong authentication API? -
Hi,
In Shopping Cart-Sourcing, by default it is selecting contracts based on ORDERED_PROD,PRODUCT (material no).
But I want to implement search logic to get contracts based on CATEGORY_ID.
All the contracts related to this category_id I want to get that contracts.
Can any one give idea how I can get this?
I tried to implement BADI -BBP_SOS_BADI
Method -BBP_SOS_SEARCH
I tried to use the FM - BBP_PD_INDEX_FIND and pass the contracts to the BADI but it is not working.
Did anyone worked on this method, please let me know how to get the complete contracts info and sending back to BADI?
Thanks in advance.Hi,
there is one open point for me in your question. Would you like to search:
1) only for product category contracts (which don't have product ID)
2) for contracts, which category equals to the category ID of the SC item (practically also contracts should appear, which have from the SC items product ID different product ID)
For the first case you only need to modificate the coding in the form SOS_LOCAL_CALL_PD (LBBP_SC_APPF87):
Kontext-Block
else.
clear ev_error.
* Delete heade contract from the SOS
Delete-Block
DELETE et_con_list WHERE ctr_item_number = space.
Insert-Block
* DELETE et_con_list WHERE ctr_item_number = space.
With this change in addition to the ORDERED_PROD search also product category contracts will be found.
Regards,
Peter -
SC-Sourcing getting contracts based on category_id?
Hi,
In SC-Sourcing, by default it is selecting contracts based on ORDERED_PROD,PRODUCT (material no).
But I want to implement search logic to get contracts based on CATEGORY_ID.
All the contracts related to this category_id I want to get that contracts.
Can any one give idea how I can get this?
I tried to implement BADI -BBP_SOS_BADI
Method -BBP_SOS_SEARCH
I tried to use the FM - BBP_PD_INDEX_FIND and pass the contracts to the BADI but it is not working.
Did anyone worked on this method, please let me know how to get the complete contracts info and sending back to BADI?
Thanks in advance.Hi,
please see the answer:
SC-Sourcing getting contracts based on category_id? BADI-bbp_sos_Badi?
Regards,
Peter -
Is it possible to get the table by knowing its name only (string)
public bool IsShowTable
get { return _IsShowTable; }
set { _IsShowTable = value;
if (_IsShowTable)
//Type type = Type.GetType(GraphSelected);
//Object o = (Activator.CreateInstance(type));
using (var ctx = new PD5500DBEntities())
DataGridSrc = new ObservableCollection<object>(ctx.G2_2_6_0dot01_0dot0); //Using here the TableName in String
NotifyPropertyChanged();
private ObservableCollection<Object> _DataGridSrc;
public ObservableCollection<Object> DataGridSrc
get { return _DataGridSrc; }
set { _DataGridSrc = value;
NotifyPropertyChanged();
In the code I used ctx.TableName, would it be possible to get a reference by knowing the string of the TableName only.
I mean
TableName = "MyTable";//Type type = Type.GetType("TableName");
//Object o = (Activator.CreateInstance(type));Thanks Magnus.
But now I have difficulty setting it to datagrid source
//public ObservableCollection<Object> DataGridSrc
// get { return _DataGridSrc; }
// set
// _DataGridSrc = value;
// NotifyPropertyChanged();
or
private ICollectionView _DataGridSrc;
public ICollectionView DataGridSrc
get { return _DataGridSrc; }
set
_DataGridSrc = value;
NotifyPropertyChanged();
using (var ctx = new PD5500DBEntities())
Type type = Type.GetType("PressureVessels.Database.G2_2_6_0dot01_0dot0");
var entities = ctx.Set(type);
DataGridSrc = (ICollectionView)entities.Local;
//or
//DataGridSrc = new ObservableCollection<object>(entities.Local);
Before when I was using
DataGridSrc = new ObservableCollection<object>(ctx.G2_2_6_0dot01_0dot0);
it worked but now it doesn't. Though now by using the namespace.name I get the type but still cannot assign it to datagridSr which is ObservableCollection or ICollectionView. -
Can't get version based downloads to work
I am new to JNLP and trying to get version based downloads to work. I have read everything I can find, but I still seem to be missing something. My setup:
Tomcat 4.1.18 (running in JDK 1.4.0)
Java WebStart 1.2
Win 2k
files in .war
-launch.jnlp
-+1.0
|-testapp.jar
|-version.xml
-+images
|-Save.gif
-+META-INF
|-MANIFEST.MF
-+WEB-INF
|-+lib
| |-jnlp-servlet.jar
|-web.xmllaunch.jnlp
TS: 2002-04-23 19:21:05
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="$$codebase" href="$$name">
<information>
<title>ljtest 1</title>
<vendor>Lance</vendor>
<description>just an example</description>
<icon href="images/Save.gif"/>
</information>
<resources>
<j2se version="1.2+"/>
<jar href="1.0/testapp.jar" version="1.0"/>
</resources>
<application-desc main-class="Main"/>
</jnlp>version.xml
<jnlp-versions>
<resource>
<pattern>
<name>testapp.jar</name>
<version-id>1.0</version-id>
</pattern>
<file>testapp.jar</file>
</resource>
</jnlp-versions>web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*.jnlp</url-pattern>
</servlet-mapping>
</web-app>Things I have discovered (possibly in error?):
1) I do not need to include the jaxp.jar and parser.jar files because I am using JDK 1.4
2) I do not need to change my testapp.jar to testapp_V1.0.jar because I have included the the version.xml file in the 1.0 directory
I keep getting the following error in WebStart when I loadup the jnlp:
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)I can get everything to work without version based downloads. Does anyone have any clue what I am doing wrong?
LanceI found my own error. After loading up sun's reference implementation server in NetBean's debugger I noticed that it was only handling .jnlp files. Going back to the "Packaging JNLP Applications in a Web Archive" document I found my mistake. My web.xml files should have looked like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>JnlpDownloadServlet</servlet-name>
<servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JnlpDownloadServlet</servlet-name>
<url-pattern>*</url-pattern>
</servlet-mapping>
</web-app>The difference being the <url-pattern> tag. It now tells the web server to handle all files not just .jnlp.
This allowed me to download version based jnlp entries. I still can't get jarDiff things to work, but I will keep banging my head against the wall till I figure that out.
Lance -
In my iPhone 4 the mute is getting on automatically dont know how to release the mute
In my iPhone 4 the mute is getting on automatically dont know how to release the mute
Have the same problem with every phone call since going to IOS7 - think my face is touching the mute on the screen but I am unaware that it has happened and keep talking until I realise the other side has hung up as they can't hear me - extremely frustrating. Then when the other side calls back, I don't hear the call as it is muted!! Is there a fix for this or a way to move the mute button??
-
How to get PERNR based on user ID
Hi All,
How to get PERNR based on userid.
please help me in resolving this.
Thanks for the support.
Regards,
Dhananjaya R Ehope this will help u
DATA: t_pernr LIKE pa0105-pernr,
t_email LIKE pa0105-usrid_long.
STEP 1 - Find personnel number for UNAME
SELECT SINGLE pernr
INTO t_pernr
FROM pa0105
WHERE subty = '0001'
AND endda >= sy-datum
AND begda <= sy-datum
AND usrid = p_uname.
Employee record found*
IF sy-subrc = 0.
STEP 2 - Find email address for personnel number*
SELECT SINGLE usrid_long
INTO t_email
FROM pa0105
WHERE pernr = t_pernr
AND subty = '0022'
AND endda >= sy-datum
AND begda <= sy-datum. -
yesterday I purchased a new ipod classic to replace one that had worn out. The price was $179. I wonder if I am eligible for the extended warranty for $59. Can't seem to navigate through the apple support option to get answer. Anyone know?
Put in the serial number but was not offered an extended apple care plan. I guess if you purchase a new one because your old one is out of warranty you get a deal for $179 but you don't get a chance for an extended warranty. You don't get a new box or earbuds, just a brand new iPod. Good deal but since my first died under warranty, got a new one for free, second one I smashed the screen and got a new one for (I don't remember) and now the hard drive went and I paid $179 for a new one, I was hoping to get an extended warranty. But I guess not...
Thank you! -
Question
i do not like inbox search and want to use google but i cannot find any way to remove inbox--in fact when i search for it to remove you would think it is not there--but it is and i cant get it off. anyone know how? edit
DetailsWhat you should see on a restart is a black screen followed by a screen with the Apple (at which point you let go of the two buttons). There is no progress bar, just the Apple. The Apple will stay there for 15 seconds or so, then the "Slide to Unlock" screen will redisplay.
But, I don't think the reset will fix it for you. I just tested it, and it comes back on with the zoom still on. The only way to get it to zoom out is the tapping with the 3 fingers.
I said to double-tap....MY BAD! You need to triple-tap with three fingers!
Try that and see if it will display the zoom menu for you, or if it will zoom back out.
Cheers,
GB -
Active substitute maintained for a user is not getting workitems for approv
Hi,
Active substitute maintained for a user is not getting workitems for approval.Earlier he was getting
but now a days he is not getting.
Roles wise also , i checked, it is proper.
Please advise me on this.
Regards,
NitiHi Check Table HRUS_D2 for the user id and cross check it with the users pa record and IT 105.
Also check the email address maintained in su01. And further you can check with the org attrib forward??? is maintained.
I hope this helps.
Saj -
I get keep getting this when I get emails ( dosen't know how to open this address because the protocal(blocked http) isn't associated with any program
That is the current AKO policy, see [/questions/747157]
*http://usacac.army.mil/CAC2/MilitaryReview/EmailAnnouncementNotification.pdf -
Can 'Region' field gets defaulted based on owner of account?
Hi
Can 'Region' field in Account sales information gets defaulted based on owner of account?
Owner belongs to 'West' region then account should get defaulted with same region.
I have defined 'West' as territory for this owner.
Do anybody has expression available for making field default ?
Thanks
SantoshMahesh,
Read-only is an option, but only if you never want users to change the values. If your users always work in the same Div, Region, and Sub-Region, then it would be reasonable to lock it so they don't feel like they have to update it. If,however, you have users that work in more than one sub-region, and they need to update it, then you wouldn't make it read-only.
As far as workflow is concerned, you would need it to update the values when the ownership changes, if that is a requirement. If you choose not to update it, then it might not reflect the correct values for the new owner. Your decision on whether or not to implement the workflow would be based on whether or not your business rules require it. Most of the time, customers want the data to reflect the correct values for the current owner, but not always, so check with your customers and let the requirements drive the decision.
Good Luck,
Thom -
How to get CHARG based on matnr
Hi Experts,
I want to get PO batch(CHARG) based upon matnr.I am using BAPI_PO_GETDETAIL and receiving PO details by providing purchase order number.The line item table there is no field called charg. ..
So How to get Charg based upon matnr
Thanks & Regards
MathiHello,
Get from the table
MCHA - Batches
Regards,
Vasanth
Maybe you are looking for
-
I already enabled data plan to be used with iTunes, but it still tells me that it can only be used on a wifi connection
-
Regarding problem in function module BAPI_PO_CREATE1
Hi Guys, I have created a program for the creation of Purchase Order using Bapi_PO_CREATE1 with account assignment category as 'M' and item category as 'L'.Here when i am doing it manually i was asked to give the details of the components
-
10.4.4 Has Left My Mac In Pain
Alright I have tried everything possible, even reinstalling OS X 10.4 from the dvd. After the reinstall it was like magic - No problem trying to move windows around on my screen in 10.4 without the updates. Then I was too sure of myself, and I did th
-
HT1926 iTunes reopens after I exit the program
On my laptop running Windows 7 after I quit iTunes it keeps re-opening itself. Any ideas?
-
I have a Probook 4510s that I got from work. I ordered the original CD's and loaded the OS and drivers. I was getting it set up for my church and had all the software installed. I wanted to remove the Credential Manager so that there wasn't 2 icon