Projects API's & Excel Template used for API's
Hi All,
Can anyone share me the API’s with the Excel Template (used for this API )for the following:-
a. Excel Template - (Fields used to upload as mentioned in below)
b. Project Creation - create/update/delete (API, Script used)
c. Work plan & Financial Plans - create/update/delete(API, Script used)
d. Resources & Planned Cost - create/update/delete (API, Script used)
e. Deliverables - create/update/delete (API, Script used)
f. Progress update(API, Script used)
g. Physical Percentage Complete for work plan & financial plan at Task level (API, Script used).
Please send to [email protected]
Thanks in advance.
Hi
You may use Oracle delivered spread sheet to upload workplans / financial plans. Look at Web ADI for that.
There are two commercial products, I know of, that deliver excel based solutions for uploading broader list of entities into Oracle
Projects.
Look at Project Partners - www.projectp.com
Look at More for Apps - www.more4apps.com
Dina
Similar Messages
-
Technical Monitoring one template used for production and non-production system.
Dear All,
Is there a way to have one template in Solman Technical Monitoring for production system and non-production system with different alerts ? For example if it exceeds a threshold for production system it will trigger red alert or set automatically an incident and if it's non prod system it will go to yellow warning alert ?
Regards
Lukasz GoralHi Likasz,
You first create and customize the template, and then assign to a system.
If it was selecting a system and then customizing a template, then may be such functionality makes sense.
So, I don't think that is possible.
Better would be copy the template used for production to non-production and make the adjustment to it.
Regards,
Divyanshu -
What algorithm does Excel 2010 use for Pseudo Random Number Generation (MT19937?)
Does Excel 2010+ use the Mersenne Twister (MT19937) algorithm for Pseudo Random Number Generation (PRNG), implemented by the RAND() function?
This has been a nagging question for some time now, with "hints" that it indeed does. However, a relatively thorough search turns up no definitive documentation. The most direct indication is perhaps given by Guy Melard [Ref 9] where
he tests Excel 2010's RAND() function using the Crush battery of tests in TestU01 by L'Ecuyer & Simard. Melard references a "semi-official" indication that Microsoft did indeed implement MT19937 for the RAND() function in
Excel 2010, but this reference no longer seems to be available. http://office.microsoft.com/enus/excel-help/about-solver-HP005198368.aspx?pid=CH010004571033.
The other references below [Ref 1-10] document the history of the statistical suitability of the PRNG and probability distributions in various versions of Excel. This includes the Wichmann-Hill PRNG implementations supposedly (arguably) used in
Excel 2003 & 2007 for random number generation. But still, we have no answer as to which PRNG algorithm is used in
Excel 2010 (and 2013 for that matter).
Microsoft indicates that RAND() has been improved in Excel 2010; Microsoft states, "...and the RAND function now uses a new random number algorithm." (see https://support.office.com/en-ca/article/Whats-New-Changes-made-to-Excel-functions-355d08c8-8358-4ecb-b6eb-e2e443e98aac).
But no details are given on the actual algorithm. This is critical for Monte Carlo methods and many other applications.
Any help would be much appreciated. Thanks.
[Ref 1] B. McCullough, B. Wilson. On the Accuracy of Statistical Procedures in Microsoft Excel 97.
Computational Statistics & Data Analysis. Vol. 31 No. 1, pp 27-37. July 1999.
http://users.df.uba.ar/cobelli/LaboratoriosBasicos/excel97.pdf
[Ref 2]L. Knüsel. On the accuracy of the statistical distributions in Microsoft Excel 97. Computational Statistics & Data Analysis. Vol. 26 No. 3, pp 375-377. January 1998.
http://www.sciencedirect.com/science/article/pii/S0167947397817562
[Ref 3]B. McCullough, B. Wilson. On the Accuracy of Statistical Procedures in Microsoft Excel 2000 and Excel XP.
Computational Statistics & Data Analysis. Vol.40 No. 4, pp 713-721. October 2002.
https://www.researchgate.net/publication/222672996_On_the_accuracy_of_statistical_procedures_in_Microsoft_Excel_2000_and_Excel_XP/links/00b4951c314aac4702000000.pdf
[Ref 4] B. McCullough, B. Wilson. On the Accuracy of Statistical Procedures in Microsoft Excel 2003.
Computational Statistics & Data Analysis. Vol.49. No. 4, pp 1244-1252. June 2005.
http://www.pucrs.br/famat/viali/tic_literatura/artigos/planilhas/msexcel.pdf
[Ref 5] L. Knüsel. On the accuracy of statistical distributions in Microsoft Excel 2003. Computational Statistics & Data Analysis, Vol. 48, No. 3, pp 445-449. March 2005.
http://www.sciencedirect.com/science/article/pii/S0167947304000337
[Ref 6]B. McCullough, D.Heiser. On the Accuracy of Statistical Procedures in Microsoft Excel 2007.
Computational Statistics & Data Analysis. Vol.52. No. 10, pp 4570-4578. June 2008.
http://users.df.uba.ar/mricci/F1ByG2013/excel2007.pdf
[Ref 7] A. Yalta. The Accuracy of Statistical Distributions in Microsoft<sup>®</sup> Excel 2007. Computational Statistics & Data Anlaysis. Vol. 52 No. 10, pp 4579 – 4586. June 2008.
http://www.sciencedirect.com/science/article/pii/S0167947308001618
[Ref 8] B. McCullough. Microsoft Excel’s ‘Not The Wichmann-Hill’ Random Number Generators. Computational Statistics and Data Analysis. Vol.52. No. 10, pp 4587-4593. June 2008.
http://www.sciencedirect.com/science/article/pii/S016794730800162X
[Ref 9] G. Melard. On the Accuracy of Statistical Procedures in Microsoft Excel 2010. Computational Statistics. Vol.29 No. 5, pp 1095-1128. October 2014.
http://homepages.ulb.ac.be/~gmelard/rech/gmelard_csda23.pdf
[Ref 10] L. Knüsel. On the Accuracy of Statistical Distributions in Microsoft Excel 2010. Department of Statistics - University of Munich, Germany.
http://www.csdassn.org/software_reports/excel2011.pdfI found the same KB article:
https://support.microsoft.com/en-us/kb/828795
This was introduced (according to the article) in Excel 2003. Perhaps the references in notes 2 and 3 might help.
The article describes combining the results of 3 generators, each similar to a Multiply With Carry (MWC) generator, but with zero carry. MWC generators do very well on the Diehard battery of randomness tests (mentioned in your references), and have
very long periods. But using zero carry makes no sense to me.
Combining the three generators only helps if the periods of the 3 are relatively prime (despite what the article implies). Then the period of the result will be the product of the 3 periods. But without knowing the theory behind these generators, I have
no idea what the periods would be. The formulas for MWC generators fail here.
Richard Mueller - MVP Directory Services -
Exporting a List to Excel to use for Excel Services WebPart (not working)
Hey everyone, here's the scenario. I'm trying to export a list to excel and save it to a library. All the connections are saved. Now. I want that excel file to render as a web part. When I make a change on the list and try to refresh the data connection
I get the error below. Please help
AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TYHi,
I did a test as the followings:
Create a list, and add some items into it.
Export the list into a Excel file, then upload the excel file to a library.
When I opened the file via Excel service, I saw the a yellow warning about unsupported features.
Then I created a wiki page, and add Excel Web Access web part and connect the web part to the excel file.
When I refresh all data conections, nothing happened.
From the article:
https://msdn.microsoft.com/en-us/library/ms496823.aspx (they are similar with SharePoint 2013)
SharePoint lists are not supported for Excel service. So, it may cause this issue.
I suggest you click "Open in Excel" to open the file in Excel application, then refresh the data connection, and save back to SharePoint. Then after you refresh the page, the data of the Excel Web Access web part will refresh.
Thanks,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
UWL No popup - "Template" used for WebDynProLauncher
Hi,
After configuring the SWFVISU is have re-registered my system and I'm getting my XML file very fine uwl.webflow.systemname - it works as configured.
Now we want all WI applications to be launched as inplace (not popups) - which I could configure by creating a new XML where I change the parameters launchInNewWindow="yes" to "no" for all the workitems I have.
Normally I would have preferred to do this only in one place an have the Itemtype referring a generic action, but that is not how the "re-register" works since it generates the <action> inside each of the <item type> and therefore each WI definition uses its own definition.
So the question is - does anybody know where the re-register gets the "templates"(or whatever it is) that it uses to generate the uwl.webflow.<sytemname> XML file for e.g. the actions launchWebDynPro?
Thanks,
LarsHi,
No one who knows this - or whether it not possible or not recommendable.
Thanks,
Lars -
Project implementation process and toll using for the implemetation
what r the steps involved in project implementaion
hi,
The ASAP methodology is recommended by SAP for implementation planning and system implementation. It has the following phases.
Project Preparation - The primary focus of Phase 1 is getting the project started, identifying team members and developing a high-level plan.
Business Blueprint - The primary focus of Phase 2 is to understand the business goals of the company and to determine the business requirements needed to support those goals.
Realization - The purpose of this phase is to implement all the business and process requirements based on the Business Blueprint. You customize the system step by step in two work packages, Baseline and Final configuration.
Final Preparation - The purpose of this phase is to complete testing, end-user training, system management and cut over activities. Critical open issues are resolved. Upon the successful completion of this phase, you will be ready to run your business in your productive R/3 system.
Go Live and Support - Transition from a project oriented, pre-productive environment to a successful and live productive operation.
Def:The Accelarated SAP is the implementation solution provided by SAPwhich integrates several components that works in conjunction to support the rapid and efficient implementation of the PROJECT.
PHASES IN ASAP METHODOLOGY
1.Project Preparation
2.Business Blue Print
3.Realization
4.Final Preparation
5.Go-Live and Support.
1.PROJECT PREPARATION WE HAVE 8 STEPS.
1A.SCOPE OF PROJECT
1B.PHASES INVOLVED
1C.SYSTEM LANDSCAPE
1D.TEAM FORMATION
1E.DEADLINES OF THE PROJECT
1F.BUSINESS PROCESS DOCUMENTS (OR) BUSINESS REQUIREMENT
SPECIFICATIONS
IN 1F AGAIN WE HAVE 5 STEPS....Pls dont get confused.
1F ->A1-REQUIREMENTS OR EXPECTATIONS
A2-GENERAL EXPLANATIONS
A3-SPECIAL ORGANIZATIONAL CONSIDERATIONS
A4-CHANGES TO EXISTING ORGANIZATION
A5-DESCRIPTION OF IMPROVEMENTS
1G-TECHNICAL REQUIREMENTS
1H-KICK-OFF MEETING
2 BUSINESS BLUE PRINT . IN THIS WE HAVE 8 STEPS
2A.ORGANIZATIONAL STRUCTURE
2B.DATA COLLECTION SHEETS
2C.DATA CONVERSION STRATEGY
2D.BUSINESS BLUE PRINT DOCUMENTATION
2E.CUSTOMIZATION
2F.ESTIMATION OF DEVELOPERS
2G.COMMUNICATION STRATEGY PLAN
2H.DEVELOP THE SYSTEM ENVIRONMENT
2I.USER ROLES AND AUTHORIZATIONS.
3. REALIZATION . HERE WE HAVE 7 STEPS.
3A.ORGANIZATIONAL CHANGE MANAGEMENT
3B.BASELINE CONFIGURATION & CONFIRMATION
3C.UNIT TESTING
3D.FINAL CONFIGURATION AND CONFIRMATION
3E.FUNCTIONAL SPECIFICATIONS.IN 3E , WE HAVE 3 STEPS AGAIN...
3E1.SOLUTION INFORMATION
3E2.OBJECT INFORMATION
3E3.REVISION HISTORY....WE HAVE 12 STEPS HERE .....
3E3A.DESCRIPTION AND PURPOSE
3E3B.BUSINESS PROCESS DETAILS
3E3C.CURRENT FUNCTIONALITY
3E3D.EXPECTED FUCNTIONALITY
3E3E.SAP SITUATIONAL ANALYSIS
3E3F.ADDITIONAL INFORMATION
3E3G.FORMS
3E3H.REPORTS
3E3I.INTERFACE
3E3J.DATA MAPPING
3E3K.APPROVAL AND MODIFICATION HISTORY
3E3L.ADDITIONAL ATTACHMENTS.
3F.TESTING THE PROGRAMS
3G.PREPARING THE ENDUSER DOCUMENTATION
4.FINAL PREPARATION
WE HAVE 4 STEPS.....
4A.UPLOADING THE STIMULATED DATA
4B.INTEGRATION TESTING
4C.CUTOVER ACTIVITIES
4D.PRE GO-LIVE END USER TRAINING
5.GO-LIVE AND SUPPORT
SIGN-OFF MEETING
CHAN -
‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?
Hi Febin,
In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
can then enter the information for their projects in the same workbook.
Regarding how to do this,
the following article can be referred to reference.
Use a shared workbook to collaborate
http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
Best regards,
Frank Shen -
Launching a BPC for Excel template from a webdynpro link
Hello,
Does anyone know how to directly launch a BPC for Excel template using the FileService asmx call through a webdynpro link? We are currently using BPC 7.5 NW SP5.
Regards,
NikCould you try a couple of things....
1) Copy/Paste the worksheet into a new workbook. There may be inherent issues with a version 4.0 created EVDRE/EVGET template than a version 5.0 one
2) Check you dont have any Park N'Go issues (set to Live) or there are no Worksheet Dimension Lock options enabled.
3) I assume the old V4.0 client software was fully uninstalled before installing the new client?
4) Try delete 1950 of the formulae's and check whether the remaining 50 refresh ok or not (although I think you've said part of the report refreshes ok?)
5) Make sure you don't have any broken name ranges for example
6) You dont mention what version & service pack excel you are running, but if its Excel 2003, try apply service pack SP3.
7) Do a find and replace on EVGET and replace it with something nonsense like TESTABC, then find replace TESTABC back to EVGET. See if this initialises the EVGET or not. (shot in the dark this one).
8) Clear out your client information (eTools > Client options) and reconnect afresh with connection wizard.
9) FINALLY: Develop the new report from scratch. May not be ideal, but weigh up whether this is worth it from a time/cost benefit perspective
Regards
Anis -
Template or Spreadsheet used for mappingu0085
Hi All
I am trying to figure out mapping of idoc to flat file structure. Flat file exists in industry standards. I want a template used for mapping fields.Is there any standard template(spread sheet)used for mapping.
Kindly send me the template to my mail id: [email protected]
Thanks and Regards
Gowri KommaHi,
chk out these links
Mapping Template
http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
/people/swaroopa.vishwanath/blog/2005/03/13/mapping-template-in-xi--inbound-delivery-from-idoc
regards
jithesh -
XML Publisher/Report Definition - Excel Template Issue
Hi everyone,
I'm Diego, and I've been getting some issue to upload/download Excel templates using XML Publisher and Report Definition.
I've been working over Real Estate Module and I get an activity to make an Excel Report. I've made all necessary step to make an excel template; create a .xls template, uploading the file to XML Publisher Repository, creating a Report Definition associating a RDA, and so on...
When I generate the file in the Web (DV), it doesnt work; when I download the final excel, it doesnt appear any information. It comes just the statics texts and formatting, the real data information inside xml doesn't appear at excel.
I've made a lot of tests and changes, but without success.
FYI, I've already made a .rtf template and it worked well.
I'd really apreciate if anyone help me or at least having any clue about it.
Thanks so much,
Diego SantosHi my friend,
First of all, thanks for reply.
I've checked the template definition, and it seems OK.
I've created the XML Publish Repository with Object Type = TL, in excel template I didn't put any additional info, (the field Template Type = TYPE_EXCEL_TEMPLATE cames by default).
As I told above, i've made many tests..with and without grouping, but no success.
However, when I test it locally it works. When I test the .xls + xml using Template Viewer runs well. But when I download the .xls on Web, it didn't retrieve any data information. =/
I've already downloaded this doc, and I'm using it as support.
If you need any more information, pls let me know that I'll tell you in a sec.
Thanks a lot,
Diego -
Skip a column in BI Publisher Excel Template
Hi,
Do anyone know how to skip an entire column based on a condition in BIP Excel Template. We are able to skip a row in Excel Template using XDO_SKIPROW, Do we have a similar one for skipping columns?
Thanks in advanceno its not possible as far as i know if you need different columns in different sheets you need to use xsl excel template only .
u can do it using rtf template but it wont be as same as regular excel output and you should be on bi publisher 11g to do that u can do like this
when u preview xslx output using bi publisher rtf template it treats page breaks as new sheet
<?for-each@section:G_1?>
ID NAME NUMBER
<?for-each:G_2?><?ID1?><?NAME?><?NUMBER?><?end for-each?>
<?split-by-page-break:?>
ID DEPT ACCOUNT#
<?for-each:G_2?><?ID?><?DEPT?><?ACCOUNT#?><?end for-each?>
<?end for-each?>
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
Uploading excel file using Bapi f-02
Hi guys
I have a very short memory on how to use BAPIs.I have been requested to develop a program for uploading an excel template using t-code f-02.So far i did my recording using BDC i developed my program.and on executing the batch cannot continue after posting to 30 line items,in my template am supposed to post up to 60 line items and i understand SAP can take up to 999 line items.A sample screen shot might elaborate.
Attached is my code snippet and template as well.I tried to do several checks and tests and am seeing i cant succeed.I came across someone on the net who was advising me to use a BAPI.Now my challenge is how to use a BAPI to upload this template.A sample code snippet might help.
I have also noticed that 'BAPI_ACC_DOCUMENT_POST' is also used to post to F-02,but i dont know how to get my way out with this BAPI.
Please help.
Regards
RejoiceHi guys.I tried the following code and i am stuck.
Report ZTRIAL
no standard page heading line-size 255.
include zbdcrecx1.
TABLES: BSEG, BKPF.
TYPES: BEGIN OF it_lines, "Work table used for upload
line(1000) TYPE c,
END OF it_lines.
DATA: HEADER LIKE bapiache09,
accountgl LIKE bapiacgl09 OCCURS 0 WITH HEADER LINE,
t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
CURRENCYAMOUNT LIKE bapiaccr09 OCCURS 0 WITH HEADER LINE,
w_item_gl TYPE bapiacgl09,
t_item_gl TYPE STANDARD TABLE OF bapiacgl09.
TYPES:BEGIN OF it_posting, "Work table used for upload
company(4) TYPE N,
doc_date(10) TYPE N,
pstng_date(10) TYPE N,
doc_type(2) Type N,
fiscal_yr(10) TYPE N,
ref_doc_no(15) TYPE N,
pkey(2) type N,
gl_account(018) TYPE N,
busarea(4) TYPE N,
pcenter(010) TYPE N,
assignment(018) TYPE N,
text(050) TYPE N,
amount(016) TYPE N,
tax(004) TYPE N,
END OF it_posting.
Data: it_posting TYPE STANDARD TABLE OF it_posting,
w_postings type it_posting,
t_curr TYPE STANDARD TABLE OF t001 ,
w_curr type t001,
w_item_curr TYPE bapiaccr09,
t_item_curr TYPE STANDARD TABLE OF bapiaccr09.
DATA : g_credit_total like bseg-dmbtr,
g_debit_total like bseg-dmbtr.
CONSTANTS: g_error_flag VALUE 'X'. " Flag.
CONSTANTS : c_x VALUE 'X'. " Flag
data:
g_obj_type like bapiache02-obj_type,
g_obj_key like bapiache02-obj_key,
g_obj_sys like bapiache02-obj_sys.
DATA: it_lines TYPE it_lines OCCURS 0 WITH HEADER LINE.
DATA: p_file1 TYPE string.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.
initialization.
user = sy-uname.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
file_name = p_file
EXCEPTIONS
mask_too_long = 1
OTHERS = 2.
START-OF-SELECTION.
p_file1 = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file1
filetype = 'ASC'
TABLES
data_tab = it_lines .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT it_lines.
SPLIT it_lines-line AT ',' INTO
w_postings-company
w_postings-doc_date
w_postings-pstng_date
w_postings-ref_doc_no
w_postings-pkey
w_postings-gl_account
w_postings-busarea
w_postings-pcenter
w_postings-assignment
w_postings-text
w_postings-amount
w_postings-tax
w_postings-amount .
APPEND w_postings TO it_posting.
*ENDIF.
ENDLOOP.
CLEAR:
w_postings.
LOOP AT it_posting into w_postings.
endloop.
FORM populate_bapi USING rlv_counter TYPE posnr_acc.
**Populate line item details
CONSTANTS : c_x VALUE 'X'. " Flag
data g_cross_flag.
IF w_postings-company NE Header-comp_code.
g_cross_flag = c_x.
ENDIF.
*Fill Credit line item data
IF w_postings-pkey = 25.
w_item_gl-itemno_acc = rlv_counter.
w_item_gl-comp_code = w_postings-company.
w_item_gl-gl_account = w_postings-gl_account.
w_item_gl-pstng_date = header-pstng_date.
w_item_gl-BUS_AREA = w_postings-busarea.
w_item_gl-profit_ctr = w_postings-pcenter.
*w_item_gl-tax_code = w_postings-tax_code.
w_item_gl-ALLOC_NMBR = w_postings-assignment.
w_item_gl-ITEM_TEXT = w_postings-text.
APPEND w_item_gl TO t_item_gl.
* To fetch company code currency
READ TABLE t_curr INTO w_curr
WITH KEY bukrs = w_postings-company
BINARY SEARCH.
w_item_curr-currency = w_curr-waers.
w_item_curr-amt_doccur = w_postings-amount * -1.
APPEND w_item_curr TO t_item_curr.
CLEAR w_item_curr.
g_credit_total = g_credit_total + w_postings-amount.
* Clear variables
CLEAR: w_postings,
w_item_curr,
w_curr,
w_item_gl.
*Fill Debit line item data
ELSEIF w_postings-pkey = 50.
w_item_gl-itemno_acc = rlv_counter.
w_item_gl-comp_code = w_postings-company.
w_item_gl-gl_account = w_postings-gl_account.
w_item_gl-pstng_date = header-pstng_date.
w_item_gl-BUS_AREA = w_postings-busarea.
w_item_gl-profit_ctr = w_postings-pcenter.
w_item_gl-tax_code = w_postings-tax.
w_item_gl-ALLOC_NMBR = w_postings-assignment.
w_item_gl-ITEM_TEXT = w_postings-text.
APPEND w_item_gl TO t_item_gl.
READ TABLE t_curr INTO w_curr
WITH KEY bukrs = w_postings-company
BINARY SEARCH.
w_item_curr-currency = w_curr-waers.
w_item_curr-amt_doccur = w_postings-amount * -1.
APPEND w_item_curr TO t_item_curr.
CLEAR w_item_curr.
g_credit_total = g_credit_total + w_postings-amount.
* Clear variables
CLEAR: w_postings,
w_item_curr,
w_curr,
w_item_gl.
endif.
endform.
FORM post_document.
TYPES:BEGIN OF type_bkpf,
bukrs TYPE bkpf-bukrs,
belnr TYPE bkpf-belnr,
gjahr TYPE bkpf-gjahr,
END OF type_bkpf.
*Local variable declarations
DATA: lv_belnr TYPE belnr_d,
lv_bukrs TYPE bukrs,
lv_gjahr TYPE gjahr,
*lw_message TYPE type_message,
lv_msg TYPE symsgv,
*lv_rdate TYPE sy-datum,
lt_return TYPE STANDARD TABLE OF bapiret2,
lw_return TYPE bapiret2, "#EC NEEDED
lt_bkpf TYPE STANDARD TABLE OF type_bkpf,
lw_bkpf TYPE type_bkpf.
*lv_bvorg TYPE bvor-bvorg.
*Clear local work area and variables
*lw_message,
CLEAR:
lv_msg,
lw_return,
lw_bkpf.
CLEAR: header-obj_type,
header-obj_key,
header-obj_sys.
IF g_error_flag NE c_x.
IF g_credit_total <> 0 AND g_debit_total <> 0.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
documentheader = header
TABLES
accountgl = t_item_gl
currencyamount = t_item_curr
return = t_return.
If t_return is not initial.
* Posting journal entries
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = header
IMPORTING
obj_type = g_obj_type
obj_key = g_obj_key
obj_sys = g_obj_sys
TABLES
accountgl = t_item_gl
currencyamount = t_item_curr
return = t_return.
IF sy-subrc <> 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
ENDIF.
Endif.
Endif.
ENDIF.
ENDFORM." POPULATE_BAPI -
How do I modify the template used in the Photo Gallery module
I notice the Photo Galleries are rendered as an HTML table and I would like to make a small modification to the way the gallery is rendered on the page.
Basically I just want to wrap a DIV around the <img> tag so I can control the look of the image via my own CSS.
I see there is the ability to modify Module Templates, but the photo gallery module is not listed there.
Where can I access the template used for a photo gallery?
Alternatively I will need to display the images myself using an XML feed and jQuery, but I would rather use BC's own modules when I can.Hi David,
There is no template for the photo Galleries. But if you are using Firebug you can find out the css values and add your own modification by adding CSS by the same selector as the current gallery to your own page and use the !Important value to over write the gallery css. -
Dear all,
I would like to write data to excel template using POI. What can I do? Please help me. Thank a lot!
Regards,
kzyoToday's mantra is: "google is our friend"
Repeat that to yourself several times as you exhale slowly. Through mediation, a solution to your problem will come to you. -
What are privilage for user is required to create project api
Hi
I have to create project using project template I have given info manual to create project manually.
But key member should not be null....error occurs
I have given person I'd and person role type as project manager.
Please help me in this regard.this is the code i have used ...
declare
v_responsibility_id NUMBER; --- PA Supervisor responsibility id
v_user_id NUMBER;
--deriving global parameters-
-- Variables needed for API standard parameters
v_api_version_number NUMBER := 1.0;
v_commit VARCHAR2(1) := 'F';
v_return_status VARCHAR2(1);
v_init_msg_list VARCHAR2(1) := 'F';
v_msg_count NUMBER;
v_msg_index_out NUMBER;
v_msg_data VARCHAR2(2000);
v_data VARCHAR2(2000);
v_workflow_started VARCHAR2(1) := 'Y';
v_pm_product_code VARCHAR2(10);
---variables for catching errors---
v_error_flag number:=0;
-- Predefined Composite data types
v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
v_key_member_rec pa_project_pub.project_role_rec_type;
v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
v_CREATED_FROM_PROJECT_ID varchar2(20);
v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
v_person_id NUMBER;
v_project_role_type VARCHAR2(20);
API_ERROR EXCEPTION;
v_a NUMBER;
--cursor for project in data
/*CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
--cursor for task data
CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;*/
------------------------Cursors used for validations----------------------------------
--cursor for product code used for validation
cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
--cursor for distribution rule-
cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
--cursor for project status code
cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
--cursor for template/created from project id
cursor ccpid is select project_id from pa_projects where template_flag='Y'; */
BEGIN
begin
mo_global.set_policy_context('S',85);
mo_global.init('PA');
end;
fnd_global.apps_initialize ( 50321,56533,275);
select user_id, responsibility_id into v_user_id, v_responsibility_id
from PA_USER_RESP_V
where user_name like 'SVENKAT'
and responsibility_name like'GB Projects Implementation Superuser';
-- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
-- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
-- -------calling global parameters---
pa_interface_utils_pub.set_global_info
p_api_version_number =>v_api_version_number,
p_responsibility_id =>v_responsibility_id,
p_user_id =>v_user_id,
p_msg_count =>v_msg_count,
p_msg_data =>v_msg_data,
p_return_status =>v_return_status
dbms_output.put_line ('Set Global status ->' || v_return_status);
----Cursor for PRODUCT RELATED DATA-----------
--FOR REC IN cur_project_in_data LOOP
-----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
----retrieving product code-----
select lookup_code into v_pm_product_code
from pa_lookups
where lookup_type = 'PM_PRODUCT_CODE'
and meaning = 'Oracle Project Manufacturing';
-----retrieving and validating created from project id----
BEGIN
select project_id
into v_CREATED_FROM_PROJECT_ID
from pa_projects_all
where name='GB_NRE_Template';--rec.created_from_project_name;
EXCEPTION
when others then
null;
/*O_Retcode := '1';
O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';*/
--Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
/*UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;*/
END;
-----retrieving -- validating carrying out organization id-----
BEGIN
select distinct(CARRYING_OUT_ORGANIZATION_ID)
into v_CARRYING_OUT_ORGANIZATION_ID
from pa_projects_prm_v
where CARRYING_OUT_ORGANIZATION_NAME='IT Project Organization';--rec.carrying_out_organization_name;
EXCEPTION
when others then
dbms_output.put_line ('error in carrying org');
/*O_Retcode := '1';
O_Errbuf :='Incorrent Carrying Out Organization name';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);*/
/*UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;*/
END ;
v_project_in.pm_project_reference :='GB_NRE_Template'; --rec.segment1;
v_project_in.project_name :='VENKAT_TEST'; --rec.PROJECT_NAME;
v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
v_project_in.carrying_out_organization_id := 85;
v_project_in.project_status_code :='UNAPPROVED'; --rec.PROJECT_STATUS_CODE;
v_project_in.description := 'interface';--rec.PROJECT_DESCRIPTION;
v_project_in.start_date := sysdate;--rec.PROJECT_START_DATE;
v_project_in.completion_date := sysdate + 30; --rec.PROJECT_COMPLETION_DATE;
v_project_in.distribution_rule := 'EVENT/EVENT';--rec.DISTRIBUTION_RULE;
--v_project_in.project_relationship_code := ;--rec.PROJECT_RELATIONSHIP_CODE;
-------------------------Validation of incoming project data--------------------------------
v_error_flag := 1;
--project relationship code validation
/*BEGIN
--for prc in cprc
--loop
if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
then
v_error_flag :=0;
else null;
end if;
--end loop;
END; */
/*--project distribution rule validation
BEGIN
for dr in cdr
loop
if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) --null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END; */
--m := 1;
-- l_person_id := 38506;--v_personid; -- need to get from Apps
-- l_project_role_type := 'Project Manager';
/* v_key_member_rec.person_id := 83369;--v_personid;
v_key_member_rec.project_role_type :='PROJECT MANAGER';
v_key_member_rec.project_role_meaning := 'Project Manager';
v_key_members(1) := v_key_member_rec;*/
v_key_members(1).person_id := 83369;
v_key_members(1).project_role_type :='PROJECT MANAGER';
dbms_output.put_line('persion id for key member '||v_key_members(1).person_id);
--project status code validation
/*BEGIN
for sc in cpsc
loop
if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null)-- null since the value can be taken from template too
then
v_error_flag :=0;
else null;
end if;
end loop;
END;*/
dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
/*validation logic for project start date
BEGIN
if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project start date cannnot be greater than completion date';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
END;
validation logic for project completion date
BEGIN
if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
then
if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
THEN
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
END IF;
v_error_flag := 1;
O_Retcode := '1';
O_Errbuf :='Project closed date cannnot be less than start date';
end if;
END;*/
--------Update staging table for the error records--------
/*BEGIN
if v_error_flag =1
then
O_Retcode := '1';
O_Errbuf :='Incorrent project relationship code';
Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
UPDATE XXPA.XXPA_PROJECT_IN_STG
SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
end if;
END;*/
-----------------------End of validation of incoming project data----------------------------------
---------------Project Task DATA-----------------
v_a:=1;
--FOR tsk IN cur_task_in_data LOOP
v_tasks_in_rec.pm_task_reference :='Labor';--tsk.task_reference ;
v_tasks_in_rec.task_name :='Labor';--tsk.task_name;
--v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
v_tasks_in_rec.task_start_date := sysdate;--tsk.task_start_date ;
v_tasks_in_rec.task_completion_date :=sysdate + 30;--tsk.task_completion_date ;
v_tasks_in(v_a) := v_tasks_in_rec;
--v_a:=v_a+1;
--end loop;
---------------end of task details------------------
--INIT_CREATE_PROJECT
pa_project_pub.init_project;
---------------------CREATE_PROJECT--------------------------
pa_project_pub.create_project(
p_api_version_number=> v_api_version_number,
p_commit => v_commit,
p_init_msg_list => v_init_msg_list,
p_msg_count => v_msg_count,
p_msg_data => v_msg_data,
p_return_status => v_return_status,
p_workflow_started => v_workflow_started,
p_pm_product_code => v_pm_product_code,
p_project_in => v_project_in,
p_project_out => v_project_out,
p_key_members => v_key_members,
p_class_categories => v_class_categories,
p_tasks_in => v_tasks_in,
p_tasks_out => v_tasks_out);
if v_return_status = 'S'
then
/*UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success*/
dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
else
/*UPDATE XXPA.XXPA_PROJECT_IN_STG
SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;*/
raise API_ERROR;
end if;
--END LOOP;
Commit;
------Handling Exception--------
EXCEPTION
WHEN api_error THEN
dbms_output.put_line('An error occured during project creation');
IF (v_msg_count > 0 ) THEN
FOR i IN 1..v_msg_count LOOP
apps.PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_encoded => 'F',
p_msg_index => i,
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message v_data ->'||v_data);
dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
dbms_output.put_line('Error message p_msg_index ->'||i);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
WHEN OTHERS THEN
dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
IF (v_msg_count >=1 ) THEN
FOR i IN 1..v_msg_count LOOP
PA_INTERFACE_UTILS_PUB.get_messages(
p_msg_count => v_msg_count,
p_msg_index => i,
p_encoded => 'F',
p_msg_data => v_msg_data,
p_data => v_data,
p_msg_index_out => v_msg_index_out);
dbms_output.put_line('Error message ->'||v_data);
APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
END LOOP;
END IF;
end; --end procedure
error .....
Set Global status ->S
persion id for key member 83369
Error at PROJECT_STATUS_CODE>1
An error occured during project creation
Error message v_data ->Key Member is a mandatory Quick Entry field. Values must be passed for project_role_type and person_ID. (PROJECT=GB_NRE_Template)
Error message v_msg_data ->PA
Maybe you are looking for
-
Send PDF form to e-mail as attachment with a PHP script on the server
Hi, For several days I've been searching though the internet looking for a solution, a quite simple one in my opinion, but I got a little desperate not getting any result I want. Okay. The Situation. I have a PDF form to order sandwiches and drinks.
-
Iphone to itunes sync fail during step 3
HI I uprgraded my Iphone to the new ios 8 and now I cant sync it anymore. The fail occurs during step 3 when it is transferring purchased apps. The error text reads "The Iphone could not be synced because this computer is no longer authorized for pur
-
Synced with another library?
My wife and I share an iTunes library and always have. My iPod works fine, but she went to add some more music to her shuffle and it says that her iPod is synced with another library and the only thing we can do is completely erase her iPod and resyn
-
Regarding error in the INTEGRATION ENGINE URL
hai guys pls go thru this question carefully,. when i click on INTEGRATION ENGINE and BUSINESS PROCESS ENGINE IN RWB ,integration engine is in yellow colour status instead of green colour and th result of SELF TEST IN RWB is: Is WEBSERVICE security
-
Removing numerals/garbage characters from search in Section 508 build WebHelp
I need to remove (prevent inclusion of) numerals and garbage characters from search results in WebHelp when compiled with Section 508 Output enabled. I need to have Section 508 enabled. Can that be done? Thanks for your time!