Creating SIT from web AID

I am using the following package by using web adi but i am getting the following error
ORA-20001: The Person ID that you have entered does not exist.
while this person exist as a employee, and from query it work fine
CREATE OR REPLACE PACKAGE BODY APPS.XX_DOCUMENT_INSERT
IS
PROCEDURE XXPRODOC(P_EMPNUMBER IN NUMBER
,P_DOC_REF IN VARCHAR2
,P_DOC_TYPE IN VARCHAR2
,P_DOCREQ_DATE IN VARCHAR2
,P_DOCTRA_DATE IN VARCHAR2
,P_OUTDOC_REF IN NUMBER
,P_ADDRESSTO IN NUMBER
,P_APPROVBY IN NUMBER
,P_EMP_INTNOTE IN VARCHAR2
,P_ADDIT_COMM IN VARCHAR2)
IS
BEGIN
DECLARE
v_count NUMBER := 0;
n_object_version_number NUMBER;
n_analysis_criteria_id NUMBER;
n_person_analysis_id NUMBER;
n_pea_object_version_number NUMBER;
n_id_flex_num NUMBER;
P_PERSONID NUMBER;
p_business_group NUMBER;
err_num NUMBER;
err_msg VARCHAR2(500);
BEGIN
SELECT fi.id_flex_num
INTO n_id_flex_num
FROM fnd_id_flex_structures_vl fi
WHERE fi.id_flex_structure_code = 'XX_DOCUMENT_REQUEST'
AND application_id = 800
AND id_flex_code = 'PEA';
SELECT PERSON_ID
INTO P_PERSONID
FROM PER_ALL_PEOPLE_F
WHERE TRUNC(SYSDATE) BETWEEN EFFECTIVE_START_DATE AND EFFECTIVE_END_DATE
AND EMPLOYEE_NUMBER=P_EMPNUMBER;
insert into xx_message VALUES(1,P_EMPNUMBER);
insert into xx_message VALUES(2,P_PERSONID);
insert into xx_message values(3,P_DOC_TYPE);
insert into xx_message values(4,n_id_flex_num);
p_business_group :=81;
-- LOOP
-- BEGIN
---reset the variables here
n_object_version_number := NULL;
n_analysis_criteria_id := NULL;
n_person_analysis_id := NULL;
n_pea_object_version_number := NULL;
hr_sit_api.create_sit
p_validate => false
,p_person_id => P_PERSONID
,p_business_group_id => 81
,p_id_flex_num => n_id_flex_num
,p_effective_date => sysdate
,p_date_from => sysdate
,p_date_to => NULL
,p_segment1 => P_DOC_REF
,p_segment2 => P_DOC_TYPE
,p_segment3 => to_char(to_date(P_DOCREQ_DATE,'mm/dd/yyyy'))
,p_segment4 => to_char(to_date(P_DOCTRA_DATE,'mm/dd/yyyy'))
,p_segment5 => P_OUTDOC_REF
,p_segment6 => P_ADDRESSTO
,p_segment7 => P_APPROVBY
,p_segment8 => P_EMP_INTNOTE
,p_segment9 => P_ADDIT_COMM
,p_analysis_criteria_id => n_analysis_criteria_id
,p_person_analysis_id => n_person_analysis_id
,p_pea_object_version_number => n_pea_object_version_number
--dbms_output.put_line ('Migrated SIT with n_analysis_criteria_id=>'||n_analysis_criteria_id);
-- v_count := v_count + 1;
-- IF MOD(v_count,50) = 0
-- THEN
--do a commit for each 50 records during migration
-- COMMIT;
-- END IF;
EXCEPTION
WHEN OTHERS THEN
err_num := SQLCODE;
err_msg := SUBSTR(SQLERRM, 1, 100);
INSERT INTO XX_MESSAGE VALUES (err_num, err_msg);
--END;
EXIT; in this case just one record
-- END LOOP;
--COMMIT;
END;
END XXPRODOC;
END XX_DOCUMENT_INSERT;

Tour code seems fine, so I would investigate on security issue.
Try yo attach the Web ADI to Global Super HRMS Manager (or any unrestricted responsibility) and check if it's working from there.

Similar Messages

  • File, create PDF, from web page, entire site...questions

    I am new to adobe, is this the proper forum for Adobe Acrobat 9 Pro for macintosh?  I think yes...
    Created a PDF from:  File, create PDF, from web page, entire site.
    Is there a way to print this without the background color?  If you printed from a browser, you could choose not to print the back ground color.  I know exactly the color.
    Is there a way to make this PDF look like the web, with no page breakes?  I have tried various things, but the page breaks are always displayed.
    Is there a way to create bookmarks on somthing other than the title tag in the web site?  The title tag is an SEO 1 sentence summary of the page, which makes for very long book mark names.
    Thanks for your help.
    bob
    www.answerstat.net

    I don't use v9, but what I would do is click the FILE--PRINT option, print to PDF, and enter to print one page (default is first page)

  • Create PDF From Web Page - Authenticated SharePoint Sites generate "Authorization Failure" error

    We have several authenticated sharepoint sites on our intranet, and we are trying to create a PDF of a site (x levels down) using the Acrobat create PDF from web page feature.  When you try to create a PDF from a non-sharepoint, authenticated website, a login prompt appears asking for login credentials.  However, when you try to use the same feature on an authenticated sharepoint site, you do not get prompted for credentials and instead get an Authorization Failure error.  the popup says "Error: Nothing Done".  We have successfully PDF'd anonymous sharepoint sites on the WWW.  Has anyone successfully PDF'd an authenticated SharePoint site? 
    Thanks in advance,
    -Richard.

    I am having the same issue AND none of my pages or files require a UserID or Password. My issue appears to be something with the domain because a and b work just fine and produce a PDF file while item c does not work and produces the error msg.
    http://www.dot.wi.gov/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.dot.state.wi.us/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.wisconsindot.gov/projects/neregion/151/index.htm produces an error msg. ‘Nothing done’.Error info. - Authorization Failure    http://www.wisconsindot.gov/projects/neregion/151/index.htm
    [email protected]

  • Create PDF from Web page using Acrobat X - Page Order

    I have a structured web site that is in fact Program Help The web pages are structured as follows:
    index.html - Main Topic Index page with links to all topic subject index pages
    topic/index.html - Topic Subject Index Page with links to all subject pages
    topic/subject.html - Subject page
    .....etc
    Using Acrobat 5 "Create PDF from Web Page" created a perfect logical PDF  page structure in the page order of of the web site. In Acrobat 5 page 1  was the Main Topic Index Page, page 2 was the 1st Topic Subject Index  Page, page 3 was the 1st Subject Page, then the 2nd subject of the 1st  Topic, etc. until the Topic Subjects were exhausted after which the 2nd  Topic Subject Index Page and so it went on. As a result the bookmark  structure was sensible. The page order was as follows:
    Main Topic Contents
    Topic 1 Contents
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Topic N Contents
    Subject 1 of Topic N
    Subject 2 of Topic N
    Acrobat X (just purchased) produces a differently structured PDF from the same HTML pages. The order is:
    Main Topic Contents
    Topic 1 Contents
    Topic 2 Contents
    Topic N Contents
    Main Topic Contents (a second time)
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Subject N of Topic 1
    Subject 1 of Topic 2
    Subject 2 of Topic 2
    Subject N of Topic N
    Question: Is there any way I can get back with Acrobat X the same page order I got with Acrobat 5?
    Any help appreciated. The website is www.caliach.com/caliach/vision/help/index.html
    Chris

    Acrobat is using the underlying mark up of the rendered HTML page.
    This may or may not provide an adequate input to Acrobat when it is noodling out how and what to tag.
    I suspect you may find that, to obtain an adequately tagged PDF, you may have to capture the web page content with the create bookmarks and create tags options off.
    Once you have the PDF make working copies.
    Try letting Acrobat tag this already created PDF to see what happens.
    You may have to manually tag the PDF.
    n.b., The default read order for western language can be altered by user selections in the accesibility setup or by selection in the PDF page(s) Page Properties.
    Be well...

  • Create PDF from web page w/password

    Would like to created a PDF using the 'Create PDF from WEB Page' function. The initial page of the site requires a login which we have but we seem to be unable to use Acrobat to archive the site because it requires a login. Is there a way to login and create a pdf of the site?

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Create PDF from Web Page

    I have Acrobat 9 Pro under Wins XP. I am using the "Create PDF from Web Page" feature. I would like to capture only one page out of 36. The capture setting is at its minimum (one level) and the "entire site" box is unchecked. Does Acrobat have the ability to do this? If so, what is the setting.
    Any help is appreciated.
    Jean

    I don't use v9, but what I would do is click the FILE--PRINT option, print to PDF, and enter to print one page (default is first page)

  • Creating chart from web part sharepoint 2013 online

    hello, my name is peter and i know to solve the problem with creating charts from web part . i am familiar with excell services, but it doesnt solve my problem because it is not taking data from web parts so it is static. Thank you for your time

    If you want info about creating charts in web parts, this one is quite nice:
    http://social.technet.microsoft.com/wiki/contents/articles/17614.adding-charts-to-standard-webparts-and-visual-webparts.aspx
    If you're worrying about getting data from another web part, you need to use web part connections and start here:
    http://msdn.microsoft.com/en-us/library/ms469765(v=office.14).aspx
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to include non web pages to the "Create PDF from Web Page" feature?

    In Acrobat Pro (v. 10), when I use the "Create PDF from Web Page" feature, it works great for html pages, but it skips non-html links (doc, pdf, ppt, xls, etc). I need Acrobat Pro to convert those files and put them in the order as well. I don't see an option for this in settings. Is there ANY way I can do this? This is for an archiving purpose and I have 10,000 plus files to convert. Please help.

    This is a question i'm trying to answer too. My issue is that I have a PDF file which itself contains links to both DOC and PDF files. The end result is that I need one consolidated PDF containing all the linked files (in order).
    I can run the "create from web page" on this PDF file, and it'll download them, but not convert them. It just adds them as "jumbled" text to the end of the document. I need it to download, convert, and then append them.
    So, as isunshine3 asked above, any way to have Adobe convert the files that it finds linked when running the "create from web page"?
    THanks
    Matt

  • "Create PDF from Web Page" Yields Authorization Failure

    Acrobat 9 Pro Extended running on Windows XP Service Pack 3:
    When using "Create PDF from Web Page," certain linked pages result in an "Authorization Failure" error message. Is there any way to instruct Acrobat to disregard pages that are not downloadable and continue creating the PDF?

    I am having the same issue AND none of my pages or files require a UserID or Password. My issue appears to be something with the domain because a and b work just fine and produce a PDF file while item c does not work and produces the error msg.
    http://www.dot.wi.gov/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.dot.state.wi.us/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.wisconsindot.gov/projects/neregion/151/index.htm produces an error msg. ‘Nothing done’.Error info. - Authorization Failure    http://www.wisconsindot.gov/projects/neregion/151/index.htm
    [email protected]

  • Create PDF From Web Page Does Not Create Image Maps Properly

    I have a website that contains image maps. When I "Create PDF From Web Page", these image maps are not rendered properly. From what I can tell, this is a BUG within Acrobat, and I'm hoping that people can confirm this for me.
    I created a test page at http://www.quantumdynamix.net/clients/image-map-test/. I placed the images maps my manually coding the coordinate information, so the maps are PRECISELY placed exactly over the squares. Each image map navigates to an anchor corrisponding to the number on the red square.
    When I created the PDF using the "Create PDF From Web Page" feature, the image maps are rendered improperly. This file can be viewed at http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest.pdf. To view the outlines of the image maps, please select "Tools" -> "Advanced Editing" -> "Link Tool". You can see the outlines are substantially incorrect.
    Please confirm that other can replicate this problem. Any solution to this issue would be very helpful!

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Problem with creating site from another computer!

    Hi
    I have WebDB 2.2 and Oracle8i instaled on the same computer. I have a problem to create site from another computer. There is not any process when I try to create site. There is always 0%.
    But I have no problem with creating site on the origin computer.
    Does anybody know something about it?

    I am just not clear what to do once I have made changes and have published the new information.
    You shouldn't have to do anything. iWeb will save the information in the Domain.sites file. You can keep this file in a folder, or even on your desktop and iWeb will launch from a double-click on the file.

  • Creating PDF from web template

    Hello,
    I have question on you who use creating PDF from web templates. We want to implement this opportunity in our company. We know all conditions for implementation but we didn´t see yet the final result for end user. We have SAP BW 3.5. Do you know if it´s possible use (create) some new icon on web template e.g. PDF and via this icon create the PDF file or another user-friendly solution?
    Thanks for information.
    Petr

    Hello Petr,  
    We are using a 3rd party tool [IBS Solution|http://www.ibs-solution.de] for generating PDF and PPT files. We can also generate various types of chart with the same.
    You can also contact [Kai Wachter|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/38348], the founder of IBS Solution Ltd.
    You can register for free and get an free evaluation Version.
    [SAP Network Blog: How to create own Items in BW|/people/kai.wachter/blog/2005/05/23/how-to-create-own-items-in-bw]
    [Thanks|http://chandranonline.blogspot.com/]
    [Chandran|http://chandranonline.blogspot.com/]

  • Problem while Creating IBase from WEB UI

    Hi,
    I am trying to create a New Ibase from WEB UI. But, alwayz the IBase category is defaulting to "Functional Location" and this field is not in Editable mode also.
    So, I am not able to create the Ibase with any other categories.
    Please do suggest to solve this issue.
    Thanks,
    Sandeep

    HI,
    Check the settings in SPRO path:Customer Relationship Management ->Master Data ->Installed Base ->Installed Base Category ->Define Installed Base Category and Installation Rules .
    Here for the Ibase category which you want to maintain chech the Maint rule.It should be set to "Maintenance Allowed Using Installed base Management"
    I think currently only for Ibase category FL this setting is maintained thats the reason its taking as default.
    Regards,
    PP

  • Why does Create PDF from Web Page not work with certain URLs?

    I'm creating a large number of PDFs from Web Pages on Adobe Acrobat XI Pro and occasionally come across certain URLs that fail to generate a web page.  The process begins as normal but eventually the status window lists a few errors or canceled processes and that there are now 0 Connections Active.  This only occurs for certain URLs, but when it happens it consistently fails for that URL (as in trying it a few mroe times doesn't let it work).  Is there any specific reason this happens or a way I can prevent it?  The above example is of a URL that fails to generate a PDF :
    http://www.pcmag.com/encyclopedia_term/0,1237,t=access+point&i=37393,00.asp

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Composed looks / Change the look themes are missing when creating site from saved template

    Hi,
    I found an issue when save you own site template and then want to create a new site from that template the "Change the Look" themes are missing and if you go to site settings, Comosed looks where the themes are stored is empty! Anyone else has
    the same experience? Any workaround for this?
    regards
    Martin

    I've just seen this exact problem on a SharePoint 2013 farm as well this morning, but have managed to fix the blank "Composed Looks" list issue, although am still working on the "Change the look" wizard pages.
    Edit: found a fix for this too now. See my next post below.
    It appears that the process of saving a site as a template and then creating a new site from that template causes the original XsltListViewWebPart used to display the default view of the "Composed Looks" list, to be replaced with a ListViewWebPart,
    which appears to be broken.
    Edit: have also seen this behaviour on sites created from the built-in templates but haven't determined exactly whether this is a bug. ULS logs never show any errors when this occurs so it appears to be "by-design". Ugh.
    There may be a tidier way to fix this, but for now, I used SharePoint Designer 2013 to copy an XsltListViewWebPart from a working "Composed Looks" list, AllItems.aspx page and replaced the ListViewWebPart in the broken Composed Looks list, AllItems.aspx
    page with it. There is also some additional post copy-paste tidy up to do on the pasted-in XsltListViewWebPart HTML to get it to work within the context of the site it is now in as it will contain GUIDs and URLs that are only relevant within the site
    that you copied it from and these need to be replaced with the GUIDs/URLs from the replaced ListViewWebPart - paste it in a notepad session before deleting/overwriting it so you can grab those bits.
    I'll write a more detailed step-by-step if anyone wants it, but this doesn't seem to fix the broken "Change the Look" wizard still, only the "Composed Looks" list default view. I'll look into that now and post back more complete solution if I can
    find a fix.
    Edit: Found a fix. see my next post below.
    Edit Edit: One more thing - on some Composed Looks lists we are seeing empty lists once the default view webPart is fixed up. To correct this, you can copy selected Composed Looks from a working site with a full set.
    Before you do that, edit the default view in both the source and destination Composed Looks lists and include the Title field as it is a required field.
    Then, you can use Datasheet View (just click the edit list link to put it in Datasheet View mode) to bulk copy/paste Composed Looks between the source and destination lists.
    Do a little post-paste tidy up on the URLs as above to make sure that they are correct for their new location and then click on over to your Change the Look wizard.
    You should see all of your Composed Looks displayed nicely on the page.
    Note that the Current Look might not represent the sites actual appearance as it's settings will reflect the source sites appearance, but you can tweak it with the Wizard now.
    Regards,
    Glenn
    Can you confirm your sharepoint patch level?

Maybe you are looking for

  • A few questions on setting partitioning the hardrive.

    Hello, I am reinstalling Arch because I want to make the jump from i686 to Arch64. I really want this to be the last time I reinstall an OS on this laptop, so I have a few questions on the most efficient way to set up the partitions. 1) Is it safer t

  • Automator for Exporting Spotlight Comments?

    Hello, I have around 700 historic photos that have been digitized. All the photo details (dates, etc.) were entered into the Spotlight Comments field under Get Info. Unfortunately, none of the comments appear when I open the photos in Adobe Bridge CS

  • Help! One page is not showing correctly in my browser

    Can someone please help me before I turn grey allover my head ? My website: www.ontpopt.nl The 3rd page is not showing / coming up after transfering it to my server. In muse all is fine, everything works as I designed it. But after uploading to my se

  • If i have a form with check boxes. Can I add a button that will display the boxes that the user selected on a new page?

    For example, there are 10 check boxes and the user selects 5 of those boxes. Then they click a submit button. Just the information from those boxes would be displayed so they can print it. Is this possible? Any help pointing me in the right direction

  • How to create items and BOMs using web services

    Hi All, I need to create, change and read Items and BOMs through web services (using SOA Gateway, right). I found this one here: "Process Item (convenience wrapper version)" or "Process Item" within Internal Name     EGO_ITEM_PUB Type               P