Need help on accessing transaction?

Hi,
I am doing an SOD audit and come across one role where the user is given authorization to ME21N (create purchase order) for example in auth object S_TCODE.
But he has been given display (and not create) authorization in Document Type in Purchase Order.
So I would like to know whether user still can access transaction ME21N and create purchase order?
Thx.

HI:
The user should NOT be able to fully execute ME21N without additional "create" authorizations for the object "Document Type in Purchase Order" (M_BEST_BSA) as this is usually the first object checked in standard execution of this transaction code.  He might be able to get into the first screen of ME21N without an authorization error...but he will not be able to save anything. 
If the intent was to allow user to display PO's only...then they should use ME23 or ME23N.
If the user has display (03) access for doc type NB, and create (01) authorization for doc type XX, then the user would be able to use ME21N to create PO of doc type XX, but not NB.  Check the role to validate that there isn't multiple authorizations...and you might also want to run a report to see if the user has an authorization for the object M_BEST_BSA through another role...since it doesn't matter where this authorization came from (ie: whether it is in the same role as ME21N or not), but rather he "steals" it from another role assigned to him as well.
You can fully prove this by running an authorization trace and you will see that this object is required to have activity 01 of certain doc type in order to "save" the newly created PO.  
Margaret

Similar Messages

  • I Need Help to Access The Source Code From A Form to Know the Calculation Formula

    Hi,
    I Need Help to Access The Source Code From A Form to Know the Calculation Formula. The application is a windows form application that is linked to SQL Server 2008. In one of the application forms it generates an invoice and does some calculations. I just
    need to know where behind that form is the code that's doing the calculations to generate the invoice, I just need to get into the formula that's doing these calculations.
    Thank you so much.

    Hi, 
    Thanks for the reply. This is a view and [AmountDue] is supposed to be [CurrentDueAmount] + [PastDueAmount] - [PaidAmount]. The view is not calculating [PaidAmount] right . Below is the complete code of the view. Do you see anything wrong in the code ?
    Thanks. 
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [iff].[FacilityFeeID], [LoanID] = NULL, [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = [isis_fee].[SectionType], [Name]
    = [iff].[Name], [ReceivedAmount], [dates].[CurrentDueAmount], 
                          [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
    0) > 0 THEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply reset to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [pastdue].[PastDueFeeAmount]
    + ISNULL([ReceivedAmount], 0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [pastdue].[PastDueFeeAmount] < 0 THEN 0 ELSE
    [pastdue].[PastDueFeeAmount] END, [PaidAmount] = CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([pastdue].[PastDueFeeAmount]
    + ISNULL([ReceivedAmount], 0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [pastdue].[PastDueFeeAmount] < 0 THEN - [pastdue].[PastDueFeeAmount]
    ELSE 0 END, [AmountDue] = [unpaid].[UnpaidFeeAmount], [ID] = [iff].[FacilityFeeID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_FacilityFee] iff ON [if].[ID] = [iff].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_fee].[ID],
    [sis_fee].[SectionTypeCode], [SectionType] = [st_fee].[Name], [sis_fee].[INV_FacilityFeeID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_fee JOIN
                   [dbo].[INV_SectionType] st_fee ON [sis_fee].[SectionTypeCode] = [st_fee].[Code]
                                WHERE      [INV_FacilityFeeID]
    IS NOT NULL AND [StatusCode] = 'BILL') isis_fee ON [iff].[ID] = [isis_fee].[INV_FacilityFeeID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedFeeAmount]), 
                   [ReceivedAmount] = SUM([iffa].[ReceivedFeeAmount])
                                FROM      
       [dbo].[INV_FacilityFeeAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_fee].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     *
                                FROM      
       [dbo].[INV_FacilityFeeAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [SectionID],
    [PastDueFeeAmount] = SUM([PastDueFeeAmount])
                                FROM      
       [dbo].[INV_FacilityFeeAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]
    UNION
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = [isis_loan].[SectionType], [Name]
    = [il].[Name], [ReceivedAmount], [CurrentDueAmount], [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount], 
                          0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount],
    0) WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
    0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
    END, 
                          [PaidAmount] = CASE WHEN [isis_loan].[SectionTypeCode]
    = 'LOAN_PRIN' THEN 0 ELSE CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
    0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN - [PastDueAmount]
    ELSE 0 END END, 
                          [AmountDue] = CASE WHEN [isis_loan].[SectionTypeCode]
    = 'LOAN_PRIN' THEN [CurrentDueAmount] ELSE [unpaid].[AmountDue] END, [ID] = [il].[LoanID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_loan].[ID],
    [sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_loan JOIN
                   [dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
                                WHERE      [INV_LoanID]
    IS NOT NULL AND [StatusCode] = 'BILL') isis_loan ON [il].[ID] = [isis_loan].[INV_LoanID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[ExpectedPrincipalAmount]), 
                   [ReceivedAmount] = SUM([ReceivedPrincipalAmount])
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization] iffa
                                GROUP BY [iffa].[SectionID]
                                UNION
                                SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                  [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                  [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID]
                                UNION
                                SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                  [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                  [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     [AmountDue]
    = [UnpaidPrincipalAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization]
                                UNION
                                SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual]
                                UNION
                                SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [PastDueAmount]
    = SUM([PastDuePrincipalAmount]), [SectionID]
                                FROM      
       [dbo].[INV_LoanPrincipalAmortization]
                                GROUP BY [SectionID]
                                UNION
                                SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
      [dbo].[INV_LoanCashInterestAccrual]
                                GROUP BY [SectionID]
                                UNION
                                SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
      [dbo].[INV_LoanPIKInterestAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]
    UNION
    SELECT     [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
    [FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio], 
                          [PaymentType] = 'PIK Interest Applied', [Name]
    = [il].[Name], [ReceivedAmount], [CurrentDueAmount] = - [dates].[CurrentDueAmount], 
                          [PastDueAmount] = - CASE WHEN ISNULL([ReceivedAmount],
    0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
    0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
    END, [PaidAmount] = - CASE WHEN ISNULL([ReceivedAmount], 0) 
                          < 0 THEN /* We bring past due to zero and
    apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) 
                          < 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
    0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND 
                          [PastDueAmount] < 0 THEN - [PastDueAmount]
    ELSE 0 END, [AmountDue] = - [AmountDue], [ID] = [il].[LoanID]
    FROM         [dbo].[INV_SubInvoice] isi JOIN
                          [dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
    = [ii].[ID] JOIN
                          [dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
    JOIN
                          [dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
    JOIN
                              (SELECT     [sis_loan].[ID],
    [sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
                                FROM      
       [dbo].[INV_SubInvoiceSection] sis_loan JOIN
                   [dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
                                WHERE      [INV_LoanID]
    IS NOT NULL AND [StatusCode] = 'BILL' AND [sis_loan].[SectionTypeCode] = 'LOAN_INT_PIK') isis_loan ON 
                          [il].[ID] = [isis_loan].[INV_LoanID] JOIN
                              (SELECT     [iffa].[SectionID],
    [AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]), 
                   [AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]), 
                   [ReceivedAmount] = SUM([ReceivedInterestAmount])
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual] iffa
                                GROUP BY [iffa].[SectionID])
    dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
                              (SELECT     [AmountDue]
    = [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND 
                          [dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
    LEFT JOIN
                              (SELECT     [PastDueAmount]
    = SUM([PastDueInterestAmount]), [SectionID]
                                FROM      
       [dbo].[INV_LoanPIKInterestAccrual]
                                GROUP BY [SectionID]) pastdue
    ON [dates].[SectionID] = [pastdue].[SectionID]

  • Need help with accessing the program.

    I need help with accessing my adobe creative cloud on my windows 8.1 laptop. I have an account but do not have an app. I need this for my online classes. Please help!

    Link for Download & Install & Setup & Activation may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • Need help for access list problem

    Cisco 2901 ISR
    I need help for my configuration.... although it is working fine but it is not secured cause everybody can access the internet
    I want to deny this IP range and permit only TMG server to have internet connection. My DHCP server is the 4500 switch.
    Anybody can help?
             DENY       10.25.0.1 – 10.25.0.255
                              10.25.1.1 – 10.25.1.255
    Permit only 1 host for Internet
                    10.25.7.136  255.255.255.192 ------ TMG Server
    Using access-list.
    ( Current configuration  )
    object-group network IP
    description Block_IP
    range 10.25.0.2 10.25.0.255
    range 10.25.1.2 10.25.1.255
    interface GigabitEthernet0/0
    ip address 192.168.2.3 255.255.255.0
    ip nat inside
    ip virtual-reassembly in max-fragments 64 max-reassemblies 256
    duplex auto
    speed auto
    interface GigabitEthernet0/1
    description ### ADSL WAN Interface ###
    no ip address
    pppoe enable group global
    pppoe-client dial-pool-number 1
    interface ATM0/0/0
    no ip address
    no atm ilmi-keepalive
    interface Dialer1
    description ### ADSL WAN Dialer ###
    ip address negotiated
    ip mtu 1492
    ip nat outside
    no ip virtual-reassembly in
    encapsulation ppp
    dialer pool 1
    dialer-group 1
    ppp authentication pap callin
    ppp pap sent-username xxxxxxx password 7 xxxxxxxxx
    ip nat inside source list 101 interface Dialer1 overload
    ip route 0.0.0.0 0.0.0.0 Dialer1
    ip route 10.25.0.0 255.255.0.0 192.168.2.1
    access-list 101 permit ip 10.25.0.0 0.0.255.255 any
    access-list 105 deny   ip object-group IP any
    From the 4500 Catalyst switch
    ( Current Configuration )
    interface GigabitEthernet0/48
    no switchport
    ip address 192.168.2.1 255.255.255.0 interface GigabitEthernet2/42
    ip route 0.0.0.0 0.0.0.0 192.168.2.3

    Hello,
    Host will can't get internet connection
    I remove this configuration......         access-list 101 permit ip 10.25.0.0 0.0.255.255 any
    and change the configuration ....      ip access-list extended 101
                                                                5 permit ip host 10.25.7.136 any
    In this case I will allow only host 10.25.7.136 but it isn't work.
    No internet connection from the TMG Server.

  • Need help with Monthly Transaction By Hour Report

    Post Author: cbcombs
    CA Forum: General
    Hello,Newbie needs to write a transaction report that is grouped by days of the week for a calendar month. It will have one column for each day of the week and each of those columns will contain a whole months of week day data. Then it will be grouped by each hour of the day. It will contain the number of transactions for each hour. And then a weekly average of the number of transactions for each hour of the day. The week starts on a Monday and goes through Sunday. They are probably going to want the dollar amount of the transactions too. Below is an example with the first two rows of data populated. Monthly Transaction Report For August 2007                   Mon            Tue             Wed             Thu            Fri             Sat             Sun            Average08:00                0                2               2                1                10                    5                    2                      3.1409:00                    25                    3                    5                    4                  5                    8                    6                      4.43  10:00                    5011:00                  10012:00                 15013:00                  15013:00                   12514:00                  10015:00                    5016:00                     1017:00                       2 Any help would be appreciated. 

    Post Author: kbrinton
    CA Forum: General
    You could use the cross tab expert and set the columns to the day and the row to hours with it summing your transactions. So for the rows choose your date field and then choose Group options and have it set to "for each hour". Then the column choose your date field and have it set to "for each day".  Then have it summarize your transactions.
    Hope this helps!!

  • Role based provisioning - need help in access policies

    Hello experts,
    We have the following requirement
    1. If corresponding Role is not there then resource should not be allowed to get provisioned
    2. And whenever Role is present for the user then corresponding reource provisioning should get triggerred automatically ?
    Please advise whether the above could be achieved OOTB in OIM 11g ?

    875142 wrote:
    1. After configuring the access policy still we could able to provision the resource manually without the role. How do we restrict it ? What needs to be done for that ?As far as I know there's no way to stop the administrator to go to the resource profile and manually assign the resource. May be you can try some authorization policies for that. But I am not sure.
    2. We have a scenario in which we are disabling a user. This will deprovsion a resource say Retail. Then we are enabling that user again. Then ideally it should provision a new resource of Retail. But thats not happpening.Check this for it: Re: Help required with Access policy trigger on Enable User in OIM 11.1.1.5
    Also here we have selected 'Retrofit Access Policy' flag and ran the 'Evaluate user ploicy' scheduled task but we could n't see any changes because of that.Retrofit Flag- If it is set to true, then all the users who already had a Role (before access policy was created) will also get evaluated. If set to false, then only newly added users to the role will be evaluated for access policy. What is the status of the resource when you disable the user the first time?
    -Bikash

  • Need help on accessing Synclink HDLC card

    I am using  synclink GT2E PCI express card and I need to access the same using labview.
    Can any one help me on the same.
    Thanks for support

    Hi Srinivas,
    Initial thing is to set the webservice details in the J2ee engine.
    Go to visual adminstrator/services/webservices Container
    1.Click on to the settings tab
    here u need to enter the webservice Host name and the port name.
    2.If the portal is in remote machine ,check that the LAN settings for http communication is open .(else you get the SSL socket exception ).
    3.Now in webdynpro prespective.
    The steps to consume a webservice are:
    - Expand your webdynpro project.Now right click on models/Create a model.
    - In the wizard  Select the wsdl client/url/localsystem
    -Mention the Wsdl url
    -The wizard displays all the webservice methods .check the one to use.
    -Now open the datamodeler,the webservcice used model is displayed.
    -Next would be context binding.
    -In implementation u need to bind the webservice and this will be the final step.
    for eg:
    Request_CalculatorServiceViDocument web=new Request_CalculatorServiceViDocument();
    wdContext.nodeRequest_CalculatorServiceViDocument_add().bind(web);
    try
      {wdContext.currentRequest_CalculatorServiceViDocument_addElement().modelObject().execute();}
    catch(Exception e)
      {e.printStackTrace();}
    where Request_CalculatorServiceViDocument is webservice method u are consuming.
    These links can be helpful ,
      <a href="/people/anilkumar.vippagunta2/blog/2006/11/20/secured-webservices--i
    <a href="WebService Tutorials
    Numerous webdynpro webservcie samples can be found here,
    <a href="http://For numerous Web-Dynpro tutorials, including using Web Services see:">tutorials</a>
    I have got the word docs with screen shots which will be very easy to follow.will send u monday..
    Thanks,
    Swathi

  • Need Help for Non Transactional Data

    Hi,
    I need your help for getting the non-transactional data. I am looking for some solution where I can have employee list with both transaction and non transaction along with the measure in the report.
    Thanks in advance.
    Phani.

    Looks like you either want a procedure with OUT parameters, or to return a record (which you'd need to declare somewhere that your function and calling procedure can both see)

  • Need help to access a web page using midlet to retrieve some informations

    Hi everyone i'm trying to access a web page using midlet to retrieve some informations in text format, the web page is [http://daviddurand.info/D228/?villes|http://daviddurand.info/D228/?villes] for my project.
    the problem is that i always get error 10049 in socket::open meaning no adresse could be found i tried IP adresse and still the same.
    i managed to recreate the same web page to test it on local and the surprise that it works fine but when accessing it online i have this error.
    i tried also to get the page i created on a webserver i own to try it saying that there might be security issues but the same error appears again. so help plz
    here is my code :
    package mobileapplication5;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class GetMidlet extends MIDlet {
    private Display display;
    String url = "http://dayaati.com/villes/index.php?villes";
    public GetMidlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    try {
    getBirthdayFromNameUsingGet(url);
    } catch (IOException e) {
    System.out.println("IOException " + e);
    e.printStackTrace();
    public void pauseApp() {   }
    public void destroyApp(boolean unconditional) {  }
    public void getBirthdayFromNameUsingGet(String url) throws IOException {
              HttpConnection httpConn = null;
              InputStream is = null;
              OutputStream os = null;
              try {
    httpConn = (HttpConnection)Connector.open(url);
    httpConn.setRequestProperty("User-Agent", "Profile/MIDP-2.1 Configuration/CLDC-1.1");
    httpConn.setRequestProperty("Content-Language", "en-US" );
    httpConn.setRequestProperty("Content-Type", "text/html; charset=iso-8859-1");
    httpConn.setRequestProperty( "Connection", "keep-alive" );
    httpConn.setRequestProperty("Content-Length","51200");
              getConnectionInformation(httpConn);
              int respCode = httpConn.getResponseCode();
              if (respCode == httpConn.HTTP_OK) {
                   StringBuffer sb = new StringBuffer();
                   os = httpConn.openOutputStream();
                   is = httpConn.openDataInputStream();
                   int chr;
                   while ((chr = is.read()) != -1)
                   sb.append((char) chr);
                   // Web Server just returns the birthday in mm/dd/yy format.
                   System.out.println(sb.toString());
              else {
                   System.out.println("Error in opening HTTP Connection. Error#" + respCode);
              } finally {
                   if(is!= null)
                   is.close();
                   if(os != null)
                        os.close();
              if(httpConn != null)
                        httpConn.close();
    void getConnectionInformation(HttpConnection hc) {
    System.out.println("Request Method for this connection is " + hc.getRequestMethod());
    System.out.println("URL in this connection is " + hc.getURL());
    System.out.println("Protocol for this connection is " + hc.getProtocol());
    System.out.println("This object is connected to " + hc.getHost() + " host");
    System.out.println("HTTP Port in use is " + hc.getPort());
    System.out.println("Query parameter in this request are " + hc.getQuery());
    **Heeeeeeelp Please**

    [http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/crashes.html]
    SIGSEGV (0xb)Most common cause of that is JNI code used directly or indirectly through a 3rd party library.
    64-Bit Server VM (11.2-b01 mixed mode linux-amd64)Conversely that VM gets less traffic than others so you might have hit a bug in it.

  • Need help on access of network settings on apple tv 2

    Hi , can anyone tell me how to fix my apple tv, the remote will let me move across to general , but I can not access any of the following to change info , eg  can not access network , itune store , etc...I unpaired the remote and repaired it 3 times , did hard boot and boot from remote , still not working .
    Can anyone suggest a fix please ..thanks Steven

    Hello,
    EXCLUDE=SCHEMA:"IN ('SYS','SYSTEM','OUTLN','PS','SYSADM','DBSNMP','PEOPLE','DIP','ORACLE_OCM','CSMIG','PSMON','PERFSTAT'"It seems that it lacks the right parenthesis on the above syntax.
    According to the Note *1133013.1* of My Oracle Support, a wrong syntax of the EXCLUDE parameter may cause the error ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS* if you use IMPDB with a Network Link.
    So you may correct the EXCLUDE parameter and try again.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Need help in  Receiving Transaction Processor  concurrent in Oracle Apps

    Hi every one,
    Please give me idea about Receiving Transaction Processor concurrent in oracle application.
    I am inserting values in following table like:
    **rcv_transactions_interface**
    **rcv_headers_interface**
    **MTL_TRANSACTION_LOTS_INTERFACE**
    RCV_LOTS_INTERFACE
    for getting DELIVER/ RECEIVE in a single submit..
    but the problem is RECEIVE will happening as GOOD. but DELIVER process not happening... please help me...
    i am using following QUERIES to insert,
    INSERT INTO RCV_HEADERS_INTERFACE
              (HEADER_INTERFACE_ID,
              GROUP_ID,
              PROCESSING_STATUS_CODE,
              RECEIPT_SOURCE_CODE,
              TRANSACTION_TYPE,
              AUTO_TRANSACT_CODE,
              LAST_UPDATE_DATE,
              LAST_UPDATED_BY,
              LAST_UPDATE_LOGIN,
              CREATION_DATE,
              CREATED_BY,
              SHIPMENT_NUM,
              FROM_ORGANIZATION_ID,
              SHIP_TO_ORGANIZATION_ID,
              EXPECTED_RECEIPT_DATE,
              SHIPPED_DATE,
         -- PACKING_SLIP,
         --     INVOICE_NUM,
         --     PAYMENT_TERMS_ID,
              EMPLOYEE_ID,
         --     COMMENTS,
         --     ATTRIBUTE1,
         --     ATTRIBUTE3,
         --     ATTRIBUTE10,
         --     ATTRIBUTE12,
              VALIDATION_FLAG)
    VALUES
         l_headers_interface,                               -- INTERFACE_TRANSACTION_ID
         rcv_interface_groups_s.nextval, GROUP_ID  - rcv_interface_groups_s.nextval,
         'PENDING',                                                        --PROCESSING_STATUS_CODE
    'INTERNAL ORDER',                                    --RECEIPT_SOURCE_CODE
         'NEW',                                                                  --TRANSACTION_TYPE
    'DELIVER',                                                        --AUTO_TRANSACT_CODE
         SYSDATE,                                                             --LAST_UPDATE_DATE
         l_user_id,                                                        --LAST_UPDATED_BY
         l_login_id,                                                   --LAST_UPDATE_LOGIN
         SYSDATE,                                                             --CREATION_DATE
         l_user_id,                                                        --CREATED_BY
         d.SHIPMENT_NUM,                                         --SHIPMENT_NUM
         d.from_organization_id,
         d.TO_ORGANIZATION_ID,                          --TO_ORGANIZATION_ID
         SYSDATE+1,                                                        --EXPECTED_RECEIPT_DATE,
         SYSDATE,                                                             --SHIPPED_DATE
         d.employee_id,                                              --EMPLOYEE_ID
         'Y'                                                                           --VALIDATION_FLAG
    --Insert values into RCV_TRANSACTION_INTERFACETABLE
    commit;
    INSERT INTO RCV_TRANSACTIONS_INTERFACE
              (INTERFACE_TRANSACTION_ID,
              GROUP_ID,
              LAST_UPDATE_DATE,
              LAST_UPDATED_BY,
              CREATION_DATE,
              CREATED_BY,
              LAST_UPDATE_LOGIN,
         TRANSACTION_TYPE,
              TRANSACTION_DATE,
              PROCESSING_STATUS_CODE,
              PROCESSING_MODE_CODE,
              TRANSACTION_STATUS_CODE,
              QUANTITY,
              UNIT_OF_MEASURE,
              INTERFACE_SOURCE_CODE,
              ITEM_ID,
              EMPLOYEE_ID,
              AUTO_TRANSACT_CODE,
              SHIPMENT_HEADER_ID,
              SHIPMENT_LINE_ID,
              SHIP_TO_LOCATION_ID,
              RECEIPT_SOURCE_CODE,
         FROM_ORGANIZATION_ID,
              TO_ORGANIZATION_ID,
              SOURCE_DOCUMENT_CODE,
              REQUISITION_LINE_ID,
              REQ_DISTRIBUTION_ID,
              DESTINATION_TYPE_CODE,
              DELIVER_TO_PERSON_ID,
         LOCATION_ID,
              DELIVER_TO_LOCATION_ID,
              SUBINVENTORY,
              SHIPMENT_NUM,
              EXPECTED_RECEIPT_DATE,
    --     SHIPMENT_LINE_STATUS_CODE,
              SHIPPED_DATE,
              HEADER_INTERFACE_ID,
         --     COMMENTS,
         --     OE_ORDER_HEADER_ID,
         --     OE_ORDER_LINE_ID,
         --     ATTRIBUTE1,
    --          ATTRIBUTE3,
         --     ATTRIBUTE10,
         --     ATTRIBUTE12,
              VALIDATION_FLAG
    VALUES
              (l_trans_id,                                                   -- INTERFACE_TRANSACTION_ID
         rcv_interface_groups_s.currval, --GROUP_ID   rcv_interface_groups_s.curval
              SYSDATE,                                                             --LAST_UPDATE_DATE
              l_user_id,                                                        --LAST_UPDATED_BY
              SYSDATE,                                                             --CREATION_DATE
              l_user_id,                                                        --CREATED_BY
              l_login_id,                                                   --LAST_UPDATE_LOGIN
         'RECEIVE',                                                        --TRANSACTION_TYPE
              SYSDATE,                                                             --TRANSACTION_DATE
              'PENDING',                                                       --PROCESSING_STATUS_CODE
         'BATCH',                                                             --PROCESSING_MODE_CODE
              'PENDING',                                                        --TRANSACTION_STATUS_CODE
              d.QTY,                                                                  --QUANTITY
              d.UNIT_OF_MEASURE,                                   --'Metric Ton', --UNIT_OF_MEASURE
              'ORDER ENTRY',--'RCV',                                                                 --INTERFACE_SOURCE_CODE
              d.item_id ,                                                   --ITEM_ID
              d.employee_id,                                              --EMPLOYEE_ID
              'DELIVER',                                                        --AUTO_TRANSACT_CODE
         d.shipment_header_id,                          --SHIPMENT_HEADER_ID
              d.SHIPMENT_LINE_ID,                               --SHIPMENT_LINE_ID
              d.SHIP_TO_LOCATION_ID,                          --SHIP_TO_LOCATION_ID
              'INTERNAL ORDER',                                    --RECEIPT_SOURCE_CODE
              d.from_organization_id,
              d.TO_ORGANIZATION_ID,                     --TO_ORGANIZATION_ID
              'REQ',                                                             --SOURCE_DOCUMENT_CODE
              d.REQUISITION_LINE_ID,                     --REQUISITION_LINE_ID
              d.REQ_DISTRIBUTION_ID,                     --REQ_DISTRIBUTION_ID
              'INVENTORY',                                              --DESTINATION_TYPE_CODE
              d.DELIVER_TO_PERSON_ID,                --DELIVER_TO_PERSON_ID
    d.location_id,                                         --LOCATION_ID
              d.DELIVER_TO_LOCATION_ID,           --DELIVER_TO_LOCATION_ID
              d.SUBINVENTORY,                                    --SUBINVENTORY
              d.SHIPMENT_NUM,                                    --SHIPMENT_NUM
         SYSDATE+1,                                                   --EXPECTED_RECEIPT_DATE,
         --     'FULLY RECEIVED',                              --SHIPMENT_LINE_STATUS_CODE
              SYSDATE,                                                        --SHIPPED_DATE
              l_headers_interface,                          --HEADER_INTERFACE_ID
              'Y'                                                                  --VALIDATION_FLAG
    commit;
         INSERT INTO RCV_LOTS_INTERFACE
                                                 (INTERFACE_TRANSACTION_ID
                                                 ,LAST_UPDATE_DATE
                                                 ,LAST_UPDATED_BY
                                                 ,CREATION_DATE
                                                 ,CREATED_BY
                                                 ,LOT_NUM
                                                 ,SUBLOT_NUM
                                                 ,SHIPMENT_LINE_ID
                                                 ,QUANTITY
                                                 ,TRANSACTION_DATE
                                                 ,PRIMARY_QUANTITY
                                                 ,ITEM_ID
                                                 ,LAST_UPDATE_LOGIN
                                                 VALUES
                                                 (l_trans_id,
                                                 SYSDATE,                                                             --LAST_UPDATE_DATE
                                                 l_user_id,                                                        --LAST_UPDATED_BY
                                                 SYSDATE,                                                             --CREATION_DATE
                                                 l_user_id,
                                                 d.lot_number,
                                                 D.SUBLOT_NUMBER,
                                                 D.SHIPMENT_LINE_ID,
                                                 d.QTY,
                                                 SYSDATE,
                                                 d.TO_ORG_PRIMARY_QUANTITY,
                                                 d.item_id,
                                                 l_login_id
    commit;
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE (
    TRANSACTION_INTERFACE_ID,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    LOT_NUMBER,
    SUBLOT_NUM,
    TRANSACTION_QUANTITY,
    PRIMARY_QUANTITY,
    PRODUCT_CODE,
    PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
    VALUES
    (l_mtl_trans,
    SYSDATE, --LAST_UPDATE_DATE
    l_user_id, --LAST_UPDATED_BY
    SYSDATE, --CREATION_DATE
    l_user_id, --CREATED_BY
    l_login_id,--LAST_UPDATE_LOGIN
    d.lot_number,--'lt2002',
    d.SUBLOT_NUMBER,
    d.QTY,
    d.TO_ORG_PRIMARY_QUANTITY,
    'RCV',
    l_trans_id);
    commit;

    Hi helios,
    Thanks for your Immediate response.
    My Problem is When i submitting concurrent. It Updating as FULLY RECEIVED status the RCV_SHIPMENT_HEADERS, and RCV_SHIPMENT_LINES tables.
    But It not put one Entry as DELIVERED in RCV_SHIPMENT_LINES table ,so that not updating INVONTRY TABLES.
    Please share me some ideas...
    Thanks,
    Lingesan...
    Edited by: user9031196 on Jul 8, 2011 1:46 AM

  • Need help connect Access Database to Crystal Report Viewer in java

    Need example for passing parameters to PropertyBag Class and IConnectionInfo Class.
    We use CR_JRC_11.8
    Thanks

    A sample that demonstrates how to change the database that a report uses at runtime in the JRC can be found at the following link on the SAP Portal:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ad3d3d-be66-2b10-2181-f46c6e05a420
    To help determine what connection properties need to be changed at runtime through code, create a copy of your original report and use the Crystal Reports designer to change this report to new datasource manually.  You can then use the  jrc_display_connection_info helper sample to examine what the parameters should be in the property bag before setting the IConnection information.  The jrc_display_connection_info helper sample can be found at the following link on the SAP Portal:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706202a4-bd66-2b10-4e8b-92f4a8024ea1
    Hope these samples help.
    Regards.
    - Robert

  • Need help to access the active directory

    Hi.
    I have WinXP and I want to connect to its active directory using JNDI to get the users informations..
    I have read from sun tutorial the following :
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost:389/o=JNDITutorial");
    but the problem is I have never used win active directory before, so I don't
    know its syntax inside my system.
    what should I put instead of : ldap://localhost:389/o=JNDITutorial
    to access the MS active directory ?
    what should I put instead of o=JNDITutorial to access the users informations ?
    should I modify com.sun.jndi.ldap.LdapCtxFactory ?
    should I download LDAP server for windows ?
    your help is really appreciated ....

    Using SIMPLE authentication against the Active Directory, you can use either the fully distinguished name (not a relative distinguished name), a userPrincipalName or a NT Domain style name.
    Eg.
    "CN=John Smith,OU=IT Admins,DC=Antipodes,DC=Comor
    "[email protected]"or
    "ANTIPODES\jsmith"If you are using the distinguished name form, even if your initial LDAP Context URL is something like:
    "LDAP://mydc.antipodes.com:389/OU=IT Admins,DC=Antipodes,DC=Com"you cannot just use the Relative Distingusihed Name (RDN) "CN=John Smith", you must use the full distinguished name:
    "CN=John Smith,OU=IT Admins,DC=Antipodes,DC=Com"Regarding the userPrincipalName, even if there is no value for the userPrincipalName attribute there is an implicit userPrincipalName which is constructed from the user's samAccountName attribute (a mandatory attribute) and the dns name of the domain.
    Assume the following attributes for the user object:
    Distinguished Name: CN=John Smith,OU=IT Admins,DC=Antipodes,DC=Com
    samAccountName: jsmith
    userPrincipalName: J.Smith@IT Admins.Antipodes.Com
    givenName: John
    sn: Smith
    displayName: Smith, John
    An explicit userPrincipalName is the value stored in the user's userPrincipalName attribute.
    You could then either use the explicit form "J.Smith@IT Admins.Antipodes.Com" or the implicit form "[email protected]"Even if the userPrincipalName attribute had no value, you could still use the implicit form "[email protected]" to authenticate the user.

  • Need help enabling Online Transactions

    So for a lot of things you can use mobile payments and they just bill it for to your phone, for some reason it is disabled on my phone? I don't have any parental controls (im 23) so why am I being restricted from using mobile payment and how can I fix it?

        I'm sorry you are having this restriction problem Nenthus. What phone do you have? Have you taken a look online at your account details and features to ensure usage control is not on your account http://bit.ly/xB4iTc ? What happens when you try to make the payment? What error message do you receive when accessing application. The app may need to e updated.
    KinquanaH_VZW
    Follow us on Twitter @vzwsupport

  • Need Help for IW37N transaction calling to custom program

    Hi Friends,
    I have requirement like need output of IW37N to my custom program.
    My analysis:
    I have created one z program . In that program , I am calling RI_ORDER_OPERATION_LIST (program of IW37N) through submit statement in dark mode.
    In RI_ORDER_OPERATION_LIST , I have done one implicit enhancement there I sent the output internal table to memory id.
    In my Z program , I imported the memory id value to my internal table.
    Here is the Code below:
    DATA: OBJECT_TAB TYPE STANDARD TABLE OF RIH_ORDER_OPERATION_LIST,
           LS_OBJECT TYPE RIH_ORDER_OPERATION_LIST.
    DATA:SEL_TAB  TYPE STANDARD TABLE OF RIH_ORDER_OPERATION_LIST WITH HEADER LINE.
    TYPES:BEGIN OF TY_DATUM,
       SIGN(1) TYPE C,
       OPTION(2) TYPE C,
       LOW TYPE SY-DATUM,
       HIGH TYPE SY-DATUM,
       END OF TY_DATUM.
    DATA:I_DATUM TYPE STANDARD TABLE OF TY_DATUM,
          S_DATUM TYPE TY_DATUM.
    DATA:I_AEDAT TYPE STANDARD TABLE OF TY_DATUM,
          S_AEDAT TYPE TY_DATUM.
    S_AEDAT-LOW = ''.
    S_AEDAT-HIGH = ''.
    APPEND S_AEDAT TO I_AEDAT.
    S_DATUM-LOW = SY-DATUM.
    S_DATUM-HIGH = SY-DATUM.
    S_DATUM-LOW+6(2) = '01'.
    S_DATUM-HIGH+6(2) = '30'.
    *S_DATUM-OPTION = 'BT'.
    *S_DATUM-SIGN = 'I'.
    APPEND S_DATUM TO I_DATUM.
    SUBMIT RI_ORDER_OPERATION_LIST
                WITH DY_OFN   = 'X'
                WITH DY_IAR   = 'X'
                WITH DY_MAB   = ' '
                WITH DY_HIS   = ' '
                WITH SELID = ' '
                WITH DY_TCODE = 'IW37N'
                WITH ADDAT  IN I_AEDAT
                WITH  AEDAT IN I_DATUM
                WITH VARIANT = '/ZBI'
                WITH DY_SELM = 'D'
    *                   EXPORTING LIST TO MEMORY
                AND RETURN.
    IMPORT SEL_TAB FROM MEMORY ID 'RI_ORDER_OPERATION_LIST'.
    But I am not getting the output list to my SEL_TAB internal table.
    As I debugged  IW37N , PERFORM selection_f20.:::::CALL METHOD gcl_objects->select .
    I got nothing in the output internal table of the above method.
    Actually , there is one authorization checking happen so that When I call IW37N through my program , I did not get any output .But , I am getting output when I am executing IW37N standalone.
    If you need any clarification about this issue , please inform me.
    Please guide me .
    Regards
    Bibekananda

    Hi Bibekanada,
    You don't need any enhancement in your code. Just follow the steps on this blog from Glen Simpson and you can get the results:
    Gain Programmatic Access to Data of SAPGUI ALV Reports
    Regards,
    Custodio

Maybe you are looking for

  • Upload XL file from FTP server

    Hi All, Can anybady help me, how to upload Excel file from FTP server. Thanks Sri Edited by: srikanthn on Apr 14, 2010 6:31 PM

  • Can I install a new SSD on my MBP without the old hard drive?

    Here's the scenario. I'm currently in the Philippines leaving for California for college next week. There, I will buy a new SSD (Samsung 830 to be specific). I want to leave my current HDD (the one in my laptop that I'm using right now) here in the P

  • How to set  password for BPEL domain

    Hi, I am new to SOA. I want to setup client-server environment for few developers. I installed SOA 10.1.3.3 in the server machine. And I created few domains in BPEL, one for each developer. It didn't ask me to set the password while creation of the d

  • Anyone tried to use TC with A Nas Drive attached in a windows / Osx enviroment?

    Hello There I'm interesting to use TC in a windows/osx enviroment where i already have a network .. At the moment there is a NAs drive 4tb attached to the switcher  and all the windows computers making a backup into this drive.. So my question is: I

  • How do you access backed-up' files?

    I recently bought a macbook and a time capsule. I backed up the macbook to the time capsule. Is it posable to access the files with my imac? I do not see a folder for the back up. I am pretty sure it backed up because there is almost a gb used on it.