Error : FRM 92101 - facing for custom form
Hi,
We have ORACLE EBS R12.1.3 and Oracle DB 11g
We have developed custom form to display the Sub Inventory wise On Hand Stock.
To get the result, we have used the seeded API : apps.INV_QUANTITY_TREE_PUB.QUERY_QUANTITIES in the custom Form.
This API is running perfectly in PL/SQL Block, giving the correct results.
But when same API (package) we are using oracle Form 10g, it's giving an error .
FRM-92101 : There was a failure in Forms Server during startup, This could happen due to invalid configuration.
Please look into web-server log file for details.
After Developed the custom form , we are calling the form using Navigation path : MENU > TOOLS > ON HAND QUANTITY (CUSTOM) .
When we are going to compile this custom form from local PC, getting the following error.
Error ----->> "Implementation Restriction : Cannot directly access remote package variable or cursor"
Anyone help me to resolve the same ?
regards
Sanjay
FRM-92101 : There was a failure in Forms Server during startup, This could happen due to invalid configuration.
Please look into web-server log file for details.
Please check the application.log file for the complete error message.
When we are going to compile this custom form from local PC, getting the following error.
Error ----->> "Implementation Restriction : Cannot directly access remote package variable or cursor"
Please see "Move the attached libraries and referenced forms to the development machine" section in (Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 (Doc ID 444248.1)).
Library Compilation Fail With ERROR Cannot Directly Access Remote Package Variable Or Cursor (Doc ID 428554.1)
Thanks,
Hussein
Similar Messages
-
I get an error FRM-92101:There was a failure in the Forms Server
I get an error FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details, when i open the form
it's a fresh installation for the oracle application 12.1.1 vis on linux redhat 5Hi;
Please check below note:
FRM-92101: There Was a Failure in the Forms Server During Startup After Fresh R12 Installation [ID 429627.1]
R12 fresh install FORMS DO NOT LAUNCH - FRM-92101/500 [ID 427714.1]
FRM-92101: Forms Server oracle.forms.net.ConnectionException: Forms session <1> failed during startup: no response from runtime process [ID 880088.1]
Also check:
Re: R12 database and JRE Issue
Regard
Helios -
Forms 10g: error FRM-92101: There was a failure in the Forms Server during
AS10g (9.0.4.1) on windows 2000 with 2 GB of ram
We have an application with 10 - 15 users. Sometimes,when users exit from forms with the command exit_form, in a randomic way the form hangs with the error FRM-92101: There was a failure in the Forms Server during startup.....
After the users have to close the browser and open another sessione of explorer.
In the same time other users work fine.
The problem happens more then 10 times a day.
Is there a solution ?I have also run into similar problem.
In my case, this problem has been carried over from Forms 6i to Forms 10g. In forms 6i it wrote an error file in the same folder where *.fmx file was stored.
For 10gAS, look into <ORACLE_HOME midtier>\forms90\trace folder for a file *.trc. Open it up in notepad. It will tell you which trigger was being executed when the form failed.
Put any comment in the PL/SQL of that trigger, recompile the form and the problem will go away.
I usually put something like:
dummy statement for FRM-92101.
I do not know why it works but in my case it has.
Good luck !!!
Would like to know if it works for you.
Suresh -
Enabling system menus for custom form
Hi All,
can I enable system menus First Row (CtrlH) and Last Record(CtrlE) for custom forms? They are not getting visible for custom forms. So I am getting the error as 'Menu not found' when try to enable that.
JishaHello,
These menus (from GOTO menu) are not exist in the User Defined Forms either type is UDO or not UDO.
You can implement these menus, with the same menu IDs (First Row = "5901") by Adding menu items to form
Dim oMenuItem As SAPbouiCOM.MenuItem = oForm.Menu.Add("5901", "First Row" + vbTab + "CTRL+E", BoMenuType.mt_STRING, -1)
But you should implement all the features you needed.
Regards,
J. -
Hi,
How we can give Authorization for custom form as well as custom menuHi,
Try this out
Go to Administration module
> system initialization
> Authorizations
>Additional Authorization Creator
Add same level and just mention your
Authorization id=Custom
Name=Custom
Option=Full/Read/None
Forms id=*(Your Form ID) *
Ok
Now Go to Administration module
> system initialization
> Authorizations
>General authorizations
Now select user and set user authorization-------> Custom -
> No Atuorization
Reply me
Remember if Problem Resolved then mark as answered -
Error FRM-92101 while starting FORM(10g) ( Application server 10g)
FACTS:
FORMS/REPORTS 10G
APPLICATION SERVER 10G
PROBLEM:
while starting/running a form in the web.
i got "some times" FRM-92101 error from the application server:
05/11/27 08:36:19 forms90web: تم إيقاف جلسة عمل Forms <2,216>: غير قادر على الاتصال بمعالجة وقت التشغيل.
05/11/27 08:36:19 forms90web: Forms session <2216> exception stack trace:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readLine(DataInputStream.java:562)
at oracle.forms.net.HTTPHeaderTool.parseResponseHeader(Unknown Source)
at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
plz helpU can set the following lines in httpd.conf of Forms/Midtier:
KeepAlive Off
Timeout 600
U need to update new config by command:
<ORACLE_HOME>/dcm/bin/dcmctl updateConfig -ct ohs
And re-start the Apache by command:
<ORACLE_HOME>/opmn/bin/opmnctl restartprocess process-type=HTTP_Server -
R 12.1.1 After Installtion Forms Opening Error FRM-92101
After installation of EBS R 12.1.1 on OEL 4.4 , forms opening failure due to following error.
FRM-92101 : There was a failure in the forms server during startup.This could happen due to invalid configuration , please look into the web-server log file for details.
When i open the application log file for forms.
[oracle@test 04271114]$ cd /appshome/oracle/VIS/inst/apps/VIS_test/logs/ora/10.1.3/j2ee/
[oracle@test j2ee]$ ll
total 12
drwxr-xr-x 3 oracle oinstall 4096 Apr 26 21:03 forms
drwxr-xr-x 3 oracle oinstall 4096 Apr 26 21:03 oacore
drwxr-xr-x 3 oracle oinstall 4096 Apr 26 21:03 oafm
[oracle@test j2ee]$ cd forms/
[oracle@test forms]$ ll
total 4
drwxr-xr-x 2 oracle oinstall 4096 Apr 26 21:03 forms_default_group_1
[oracle@test forms]$ cd forms_default_group_1/
[oracle@test forms_default_group_1]$ ll
total 172
-rw-r--r-- 1 oracle oinstall 20449 Apr 27 11:19 application.log
-rw-r--r-- 1 oracle oinstall 418 Apr 27 11:10 global-application.log
-rw-r--r-- 1 oracle oinstall 194 Apr 27 11:10 jms.log
-rw-r--r-- 1 oracle oinstall 1688 Apr 27 11:10 log.xml
-rw-r--r-- 1 oracle oinstall 194 Apr 27 11:10 rmi.log
-rw-r--r-- 1 oracle oinstall 129772 Apr 27 11:56 server.log
-rw-r--r-- 1 oracle oinstall 82 Apr 27 11:10 system-application.log
[oracle@test forms_default_group_1]$ vi application.log
11/04/26 21:03:23.966 10.1.3.4.0 Started
11/04/26 21:03:26.60 formsweb: FormsServlet init():
configFileName: /appshome/oracle/VIS/inst/apps/VIS_test/ora/10.1.2/forms/server/appsweb.cfg
testMode: false
11/04/26 21:03:26.74 formsweb: 10.1.3.4.0 Started
11/04/27 10:33:07.324 formsweb: ListenerServlet init()
11/04/27 10:33:08.547 formsweb: Forms session <1> aborted: runtime process failed during startup with errors /appshome/oracle/VIS/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory
For the above error resolution i got a doc 1192205.1 which recommend to install rpm openmotif-2.2.3-10.RHEL4.5 Which is already in my OEL 4.4 box.
[oracle@test forms_default_group_1]$ rpm -qa | grep openmoti*
openmotif-2.2.3-10.RHEL4.5
openmotif-devel-2.2.3-10.RHEL4.5What could be other reason for causing above error?error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directoryPlease make sure you install all OS pre-req. packages.
FRM-92101: Forms Server [ID 1192205.1]
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]
Thanks,
Hussein -
R12.1.1 Error: FRM-92101: There was a failure in the Forms Server startup
R12 version: 12.1.1
Operating system: Oracle Linux
I am getting this error, when I access the forms from any client M/C
FRM-92101: There was a failure in the Forms Server during startup. This couls happen due to invalid configuration.
Even I did: make -f ins_forms.mk install
I restarted all the services. I found Form server also runnig.
Processes in Instance: VIS_myerp.myerp.mydomain.com
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
OC4JGroup:default_group | OC4J:oafm | 23828 | Alive
OC4JGroup:default_group | OC4J:forms | 26471 | Alive
OC4JGroup:default_group | OC4J:oacore | 23663 | Alive
HTTP_Server | HTTP_Server | 23606 | Alive
adformsctl.sh: exiting with status 0
I tested the Solutiuons beacon. It is working fine. SO there are no problems with java viewer.
http://vis1211.solutionbeacon.net/forms/frmservletet?form=test.fmx
Edited by: sk123 on Feb 17, 2010 8:48 AM
Edited by: sk123 on Feb 17, 2010 10:15 AMHi,
I am getting this error, when I access the forms from any client M/CWas this working before? If yes, what changes have been done recently?
FRM-92101: There was a failure in the Forms Server during startup. This couls happen due to invalid configuration. Please post the complete error message from the application.log file.
Even I did: make -f ins_forms.mk install
I restarted all the services. I found Form server also runnig.Did AutoConfig complete successfully?
Regards,
Hussein -
Getting Error FRM 92050 while opening the forms in R12 with IE
Hi DBAs,
I am able to open up forms using Firefox but when I try to open up the form with IE 7 or 8 getting message FRM 92050 : Failed to connect to the server. Can you please help me what setting I need to perform in order to user R12.1.1 with IE.
Thanks
-Samar-Samar,
Please post the complete error message (from the application.log file). And, verify that you use a certified client OS/Browser as per (Note: 389422.1 - Recommended Browsers for Oracle E-Business Suite Release 12 (Customer Recommended)).
Also, see if these documents are applicable.
Note: 780781.1 - FRM-92050: connect server failed: /forms/lservet:-1 On Widows Clients Having ZoneAlarm Pro Firewall
Note: 470890.1 - FRM-92050: Failed to connect to Server: /forms/lservlet:-1
Regards,
Hussein -
FRM-92101: failure in the Forms Server during startup.
Hi
I am calling a Oracle report from a Oracle forms application. When I enter the parameters on the Parameter Form (Oracle Forms Application created for
entering the User Parameters) and click 'Run Report' button, I am getting the following error:
Kindly help me on this. Thanks in advance.
The complete error discription is given here...
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.
Details...
Java Exception:
oracle.forms.net.ConnectionException: Forms session <3> aborted: unable to communicate with runtime process.
- at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
- at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
- at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
- at oracle.forms.net.HTTPNStream.flush(Unknown Source)
- at java.io.DataOutputStream.flush(Unknown Source)
- at oracle.forms.net.StreamMessageWritter.run(Unknown Source)
Environment in which my Forms and Report Applications is running:
Operating System - Windows XP Professional
Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production With the Partitioning option
JServer Release 9.2.0.1.0 - Production
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Report Builder 10.1.2.0.2
ORACLE Server Release 10.1.0.4.2
Please find the steps I followed before I run this application:
1. I started the OC4J Forms Server on my machine
2. I started the OracleAS Reports Services (Reports Server) on my machine.
3. Connected to the database and run the Forms Application.
I have tried the following options to solve this error:
- I have re-installed Oracle Enterprise Edition Release 9.2.0.1.0 again and retry calling my Reports application from Oracle Forms. Still the same error
persists.
I have written the following code inside 'WHEN-BUTTON-PRESSED' Trigger to call my Oracle Report:
I found that the above error is coming at the following highlighted line below:
declare
BEGIN
--prepare the list of parameters to be sent to the report
--Add parameter(s) to list just created
--START THE REPORT
v_repid := FIND_REPORT_OBJECT('REPORT197');
vc_rep := RUN_REPORT_OBJECT(v_repid, Plist);
--GET REPORT STATUS
vc_rep_status := REPORT_OBJECT_STATUS(vc_rep);
-- Wait until report finishes or produces an error
-- Display the report if it is finished
END;Hi ,
I think that this kind of problem persists because of the variety of Forms , Database and maybe OS number-bit versions(32-bit and 64 respectively).
In the past , due to the inequality of number-bit of OS and the Oracle Products , I had many problems.... the import was finished abnormally as the connection to the database was stopped ...
Regards,
Simon -
FRM-92101: Failure in the Forms during Startup
I have Forms 10g version 9.0.4.0.19
The runtime is running locally on my machine.
I have a form containing a tabbed canvas. I had a problem with one of the data blocks on one of the tab pages. That has been fixed but I still receive the FRM-92101 error. Is there anyway to recover from this or reset something?
I know my problem is no more important than anyone else's but please respond as soon as possible.
Thanks,
cHi ,
In Forms 9i diagnostics file , it is written:
Cause:
This error can occur if the working directory specified does not exist.
Solution:
This can be confirmed by looking for a log message like
“Unable to switch to Working Directory:<workingDirectory>” in the
application.log file.
(The application.log file can be found at:
application-deployments/forms90app directory of the OC4J instance on which
Forms is deployed)
Edit the forms configuration file to correct of the working directory.
Regards,
Simon -
Error while Creating user using Custome form
Hi,
I created a custom form same as create user form
updated in xlDefaultAdmin.properties,xlWebAdmin_en_US.properties,struts-config.xml
on this custom every thing is working fine but when on submit(Create User) it gives me below error
in Admin Console : You do not have permissions to perform this operation.
in App server log: maoRejections:You do not have permission to insert this object.My response is based on the following assumptions:
Your custom form is similar to that of CreateUser form in all manners. The logic at the back-end has been written by you as well. As soon as you get all the values you call the createUser API of OIM to create the user. You have wriiten your custom action classes as well.
The insert error may be due to the reason that the user which you are using to create the user doesn't have sufficient permissions. In other words, if this is done through Java code then while instaniating the API, the user used must be missing these permissions.
If the error is due to this permission for users then we can give these additional permissions to individual users, if in case its not and you have some other scenario then just give me more details, probably I can help you for it.
Thanks
Sunny -
Error thrown in BAPI for Customer Master
Hi,
When I execute the BAPI - BAPI_CUSTOMER_CREATEFROMDATA1 the following error will come.
Error
Invalid form of address text for customer
Please give me a solution for this.
and documentation also.
Thanks,
Suresh Maniarasu.*& Report ZBAPICUST_APPL
REPORT ZBAPICUST_APLL.
TABLES: BAPIKNA101_1,BAPIKNA102,BAPIKNA103,BAPIRETURN1.
DATA: F_STOP.
DATA: V_EMPTY TYPE I,V_TOTAL TYPE I.
DATA: PI_PERSONALDATA LIKE BAPIKNA101_1,
PI_COPYREFERENCE LIKE BAPIKNA102,
CUSTOMERNO LIKE BAPIKNA103,
RETURN LIKE BAPIRETURN1.
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_KNA101_1 OCCURS 100.
INCLUDE STRUCTURE BAPIKNA101_1.
DATA: END OF IT_KNA101_1.
DATA: BEGIN OF IT_DATA OCCURS 100,
AD_TITLETX(30),
AD_NAMEFIR(40),
AD_NAMELAS(40),
AD_NAMEMID(40),
GBDAT(8),
REGIO(3),
AD_CITY1(40),
SPRAS(1),
AD_CITY2(40),
AD_PSTCD1(10),
AD_POBX(10),
AD_STREET(60),
AD_HSNM1(10),
AD_BLDNG(20),
AD_ROOMNUM(10),
LAND1(3),
AD_TITLE(4),
WAERS(5),
VKORG(4),
VTWEG(2),
SPART(2),
REFKUNNR(10),
KUNNR(10),
END OF IT_DATA.
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MARCDESCRIPTION.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'.
PARAMETERS: P_HEADER TYPE I DEFAULT 0.
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
PERFORM VALIDATE_FILE USING P_FILE.
START-OF-SELECTION.
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
END-OF-SELECTION.
PERFORM UPLOAD_CUSTMAS.
*& Form VALIDATE_FILE
text
-->F_FILE text
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
DATA: ITAB TYPE TABLE OF STRING.
DATA: WA TYPE STRING.
OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT .
IF SY-SUBRC = 0.
DO.
READ DATASET P_FILE INTO WA.
IF sy-subrc = 0.
EXIT.
ENDIF.
APPEND WA TO ITAB.
ENDDO.
ENDIF.
CLOSE DATASET P_FILE.
ENDFORM. "VALIDATE_FILE
*& Form CONVERT_XLS_ITAB
text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM MOVE_DATA.
ENDFORM. "CONVERT_XLS_ITAB
*& Form MOVE_DATA
text
FORM MOVE_DATA.
DATA: LV_INDEX TYPE I.
field-symbols <FS>.
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. "MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
text
FORM DELETE_HEADER_EMPTY_RECS.
DATA:LV_TABIX LIKE SY-TABIX.
IF NOT p_header IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX.
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. "DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_CUSTMAS
text
FORM UPLOAD_CUSTMAS.
LOOP AT IT_DATA.
PI_PERSONALDATA-TITLE_P = IT_DATA-AD_TITLETX.
PI_PERSONALDATA-FIRSTNAME = IT_DATA-AD_NAMEFIR.
PI_PERSONALDATA-LASTNAME = IT_DATA-AD_NAMELAS.
PI_PERSONALDATA-MIDDLENAME = IT_DATA-AD_NAMEMID.
Pi_personaldata-date_birth = IT_DATA-GBDAT.
PI_PERSONALDATA-REGION = IT_DATA-REGIO.
PI_PERSONALDATA-CITY = IT_DATA-AD_CITY1.
PI_PERSONALDATA-LANGU_P = IT_DATA-SPRAS.
PI_PERSONALDATA-DISTRICT = IT_DATA-AD_CITY2.
PI_PERSONALDATA-POSTL_COD1 = IT_DATA-AD_PSTCD1.
PI_PERSONALDATA-PO_BOX = IT_DATA-AD_POBX.
PI_PERSONALDATA-STREET = IT_DATA-AD_STREET.
PI_PERSONALDATA-HOUSE_NO = IT_DATA-AD_HSNM1.
PI_PERSONALDATA-BUILDING = IT_DATA-AD_BLDNG.
PI_PERSONALDATA-ROOM_NO = IT_DATA-AD_ROOMNUM.
Pi_personaldata-country = IT_DATA-LAND1.
Pi_personaldata-title_key = IT_DATA-AD_TITLE.
PI_PERSONALDATA-CURRENCY = IT_DATA-WAERS.
PI_COPYREFERENCE-SALESORG = IT_DATA-VKORG.
PI_COPYREFERENCE-DISTR_CHAN = IT_DATA-VTWEG.
PI_COPYREFERENCE-DIVISION = IT_DATA-SPART.
PI_COPYREFERENCE-REF_CUSTMR = IT_DATA-REFKUNNR.
CUSTOMERNO-CUSTOMER = IT_DATA-KUNNR.
CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
EXPORTING
PI_PERSONALDATA = BAPIKNA101_1
PI_OPT_PERSONALDATA =
PI_COMPANYDATA =
PI_OPT_COMPANYDATA =
PI_CONSUMEREN =
PI_COPYREFERENCE = BAPIKNA102
PI_CREDIT_CONTROL_FLAG =
IMPORTING
CUSTOMERNO = BAPIKNA103
RETURN = BAPIRETURN1
IF RETURN-TYPE = 'E'.
WRITE:/ 'ERROR' ,RETURN-MESSAGE,'FOR CUSTOMER' ,IT_DATA-KUNNR.
ELSEIF RETURN-TYPE = 'S'.
WRITE:'SUCCESFULLY CREATED CUSTOMER', IT_DATA-KUNNR.
ENDIF.
ENDLOOP.
ENDFORM. "UPLOAD_CUSTMAS
thanks & regards,
Suresh Maniarasu -
How to enable record history for custom forms
Hi All,
I have developed a custom form but i am unable to view the record history when queried and it throws an error saying 'Record history not available here'.
can some one help me in sorting out the problem.
Thank youHi,
The following table lists the standard columns used for Record History (WHO), the column attributes and descriptions, and the sources for the values of those columns. Set the CREATED_BY and CREATION_DATE columns only when you insert a row (using FND_STANDARD.SET_WHO for a form).
CREATION_DATE
CREATED_BY
LAST_UPDATE_DATE
LAST_UPDATED_BY
LAST_UPDATE_LOGIN
For more details, please refer to "Oracle Applications Developer's Guide", Page 3-2 Tracking Data Changes with Record History (WHO)
Oracle Applications Developer's Guide
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
Regards,
Hussein -
Authorization Problem (I am Using Authorization For Custom Forms)
Hi All,
I am Using Authorizations To My Forms (I created One Addon For This Addon I am Using Authorization).I created Authorization For My Addon But While Working It Showing Some Errors
. In My Addon Four Forms are there For this four forms I am Using Authorization based on usres some screens only super user can access. normal user he is not a super user he cliekd on that authorization form it shows one message Your not a authorized user to permitted this operation in this message box we have two butons one is ok button and one is Authorized by another user . When i clicked on Ok Button I am getting error Internal error (-10) occured [131-183]. Please give me Your Valable Suggestion.
I am waiting for your Reply.
Thanks & Regards
NareshI am using Sap Authorizations For My Custom Form See The Code Also U Can Get Clear Idea
Private Sub CustomAuthorization()
Dim li_RetVal As Integer
Dim pUserPer As SAPbobsCOM.UserPermissionTree
Try
pUserPer = Me.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserPermissionTree)
'Purchase Indent
If pUserPer.GetByKey("NHCL_PM") = False Then
pUserPer.PermissionID = "NHCL_PM"
pUserPer.Name = "Purchase Module"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
li_RetVal = pUserPer.Add()
End If
'Purchase Indent ->New Purchase Indent
If pUserPer.GetByKey("NHCL_PM_NPI") = False Then
pUserPer.PermissionID = "NHCL_PM_NPI"
pUserPer.Name = "New Purchase Indent"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
pUserPer.ParentID = "NHCL_PM"
pUserPer.UserPermissionForms.FormType = "2000010002"
li_RetVal = pUserPer.Add()
End If
'Purchase Indent->View For Approval
If pUserPer.GetByKey("NHCL_PM_VIE") = False Then
pUserPer.PermissionID = "NHCL_PM_VIE"
pUserPer.Name = "View For Approval"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
pUserPer.ParentID = "NHCL_PM"
pUserPer.UserPermissionForms.FormType = "2000010003"
li_RetVal = pUserPer.Add()
End If
'Purchase Indent ->Selection For RFQ
If pUserPer.GetByKey("NHCL_PM_SEC") = False Then
pUserPer.PermissionID = "NHCL_PM_SEC"
pUserPer.Name = "Selection For RFQ"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
pUserPer.ParentID = "NHCL_PM"
pUserPer.UserPermissionForms.FormType = "2000010006"
li_RetVal = pUserPer.Add()
End If
'Purchase Indent ->Purchase Quotation
If pUserPer.GetByKey("NHCL_PM_PUR") = False Then
pUserPer.PermissionID = "NHCL_PM_PUR"
pUserPer.Name = "Purchase Quotation"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
pUserPer.ParentID = "NHCL_PM"
pUserPer.UserPermissionForms.FormType = "2000010007"
li_RetVal = pUserPer.Add()
End If
'Purchase Indent ->Final Quotation
If pUserPer.GetByKey("NHCL_PM_FIN") = False Then
pUserPer.PermissionID = "NHCL_PM_FIN"
pUserPer.Name = "Final Quotation"
pUserPer.Options = SAPbobsCOM.BoUPTOptions.bou_FullNone
pUserPer.ParentID = "NHCL_PM"
pUserPer.UserPermissionForms.FormType = "2000010008"
li_RetVal = pUserPer.Add()
End If
Catch ex As Exception
Dim ErrCode As Long
Dim ErrMsg As String
Me.SBO_Company.GetLastError(ErrCode, ErrMsg)
Me.SBO_Application.StatusBar.SetText("Authorization Problem" & ErrCode & li_RetVal, SAPbouiCOM.BoMessageTime.bmt_Short)
End Try
End Sub
Maybe you are looking for
-
[Solved] embedded videos in firefox take a lot of CPU time
Playing embeded videos in Firefox take a lot of CPU time. Actually my old computer is not able to play these videos correctly if they are in HD. The problem appears with flash videos (not so surprising, flash sucks...) but also with html5 videos (the
-
Hi Experts, Can any one can help me to understand parameterized message mapping in PI 7.1.1. Or can anyone could refer some blogs on it. Thanks in Advance.
-
Went to edit a few of my bookmarks in the bookmark bar but for some reason i cant seem to access anywhere to edit them or re-arrange them. [IMG]http://i2.photobucket.com/albums/y45/thelibertine1982/12345.jpg[/IMG] Any ideas whats going on?
-
Database connection is not working anymore
I just installed the deprecated Server Behaviors on my brand new Dreamweaver CC, since I use a lot PHP/MySQL stuff Site configuration is ok: I did it hundreds of time before, and you can see the screenshots below (sorry, it's all in Italian but I'm s
-
Why are my response files no longer updating?
When I submit a form I get the appropirate messages telling me the data has been sent however they are not showing up in my response files. The files have been updating correctly for 6 months and now just stopped. I do have an error "could not access