Getting Error when createing Table control in Module Pool.
Hi expert ,
i am creating a module pool program . i want to crate line item value for that i have created table control on screen 200 .
but when i am activation to that giving error below mention.
The field "ZFBDCHALLAN-EBELN" is not assigned to a loop. "LOOP ...ENDLOOP" must appear in "PBO" and "PAI".
thanks
chandra
Its mandatory to have loop endloop in both events
PBO and PAI
loop your internal table similarly.
Please check it should be below format
PROCESS BEFORE OUTPUT.
* Set PF Status for screen 100.
MODULE status_0200.
* This module will initialize the field
MODULE init_0100.
LOOP AT t_custmat_asg INTO w_custmat_asg
WITH CONTROL tc_1
CURSOR tc_1-current_line.
* It will count the record in internal table
MODULE set_linecount.
* Screen Modifications
MODULE status_check.
ENDLOOP.
PROCESS AFTER INPUT.
* Module AT EXIT-COMMAND
MODULE exit_0200 AT EXIT-COMMAND.
LOOP AT t_custmat_asg .
CHAIN.
FIELD :
w_custmat_asg-check,
w_custmat_asg-kunnr,
w_custmat_asg-name1,
w_custmat_asg-asgtyp,
w_custmat_asg-productcls,
w_custmat_asg-sctegry,
w_custmat_asg-ctegry,
w_custmat_asg-parent,
w_custmat_asg-frmdate,
w_custmat_asg-todate,
w_custmat_asg-frecster,
w_custmat_asg-salesrep,
w_custmat_asg-flag,
w_custmat_asg-username,
w_custmat_asg-udate.
* Validation For Forecaster.
MODULE validate_forecaster.
* Validation For Salesrep.
MODULE valiate_salesrep.
* Validation for Customer
module validate_customer.
* Validate null value
module validate_null_vals.
* Validation For Data Changed On The Screen
MODULE data_changed_0200 ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
Regards
Satish Boguda
Similar Messages
-
Error in editing table control in module pool
Hello Abap experts,
I am working on module pool.
When I am editing row in table control if table control has only one row to edit(By clicking edit push button) then I am getting error as "Dynpro_Field_Conversion error" in module pool.
Error is showing in PBO 'module fill table control'.
But if there are more than 1 rows in table control it doesn't give any error and run successfully.
So please help me on that.
Thanks!
Abhay.
Edited by: abhayjoshi01 on Sep 29, 2010 12:12 PMHi,
Can you explain in detail what field(is it quantity, currency etc) you are trying enter and what data.
If you are getting any runtime error can you provide the runtime details.
Regards,
Kranthi -
Error when doing table control
I am getting the following error when I am executing the
Module Pool Program for table control creation.
"Generation error in flow logic for Generation error(s) "
Can any body help me with the reason.Hi Makarand,
This could also come if you reference an incorrect table control. Make sure that the PAI and PBO loops use the right tab control.
Example: If you have a table control declared like this:
Controls: tab_ctr500 TYPE TABLEVIEW USING SCREEN '0500'.
In PBO and PAI..check that you are using
LOOP WITH CONTROL tab_ctr500
If this resolves the problem then please award points and close the post.
Thanks,
Anand -
How to find the current line in the table control in module pool ?
How to find the current line in the table control in module pool ?
This is an urgent requirement? please do help me.refer to this example
REPORT demo_dynpro_tabcont_loop_at.
CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
DATA: cols LIKE LINE OF flights-cols,
lines TYPE i.
DATA: ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm.
DATA: itab TYPE TABLE OF demo_conn.
TABLES demo_conn.
SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
LOOP AT flights-cols INTO cols WHERE index GT 2.
cols-screen-input = '0'.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDLOOP.
CALL SCREEN 100.
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
DESCRIBE TABLE itab LINES lines.
flights-lines = lines.
ENDMODULE.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE read_table_control INPUT.
MODIFY itab FROM demo_conn INDEX<b> flights-current_line.</b>
ENDMODULE.
MODULE user_command_0100 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'TOGGLE'.
LOOP AT flights-cols INTO cols WHERE index GT 2.
IF cols-screen-input = '0'.
cols-screen-input = '1'.
ELSEIF cols-screen-input = '1'.
cols-screen-input = '0'.
ENDIF.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDLOOP.
WHEN 'SORT_UP'.
READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
IF sy-subrc = 0.
SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
cols-selected = ' '.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDIF.
WHEN 'SORT_DOWN'.
READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
IF sy-subrc = 0.
SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
cols-selected = ' '.
MODIFY flights-cols FROM cols INDEX sy-tabix.
ENDIF.
WHEN 'DELETE'.
READ TABLE flights-cols INTO cols
WITH KEY screen-input = '1'.
IF sy-subrc = 0.
LOOP AT itab INTO demo_conn WHERE mark = 'X'.
DELETE itab.
ENDLOOP.
ENDIF.
ENDCASE.
ENDMODULE. -
How to delete a column from the table control in module pool?
Hi,
can any one please tell How to delete a column from the table control in module pool?
thanks in advance
warm regards
HareeshKumar Nhi hareesh,
I think it is better to hide it.
How to hide: You can check this link
Dynamic Hide column in table control -
Table control of Module Pool Program
Hi,
I need a help in the table control of Module pool.
Here I am using 40 columns in the table control. Out of 40, 30 columns are numeric type.
Now the client need only 5 columns total in the last row. I made it as per requirement.
But it is giving 5 columns total and the remaining 25 columns are filled zero value of total row.
Now the client doesnt want to display the zero for these 25 columns in the Total row.
Its very urgent. Please help on this.
Reward points will be providing for useful answers.
Advance Thanks 4 all.
Regards,
KBS REDDYHi,
In your PBO, inside LOOP ENDLOOP, have a module for screen modifications and for the last row that has totals, you set screen-invisible = 1 inside LOOP AT SCREEN. ENDLOOP.
For example,
If your screen has following PBO Logic,
MODULE ...
MODULE ...
LOOP ...
****New module here for screen modification if does not ****exist already.
MODULE modify_screen.
ENDLOOP.
and then in MODULE modify_screen.
MODULE modify_screen.
****Basically check MATNR EQ 'TOTAL' or some thing like ****that
IF <your condition for totals line>.
LOOP AT SCREEN.
****Note instead of screen-name, you can assign a screen ****group to all columns w/o totals and then use
****SCREEN-GROUP1 EQ <your grp> logic
IF screen-name EQ <your column name w/o totals>.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
On another note, since you are already disabling this fields in the last row, you have all the screen modification logic already I guess, so just add SCREEN-INVISIBLE = 1 for all fields w/o totals..
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni -
Getting Error when creating Data Model off OBIEE Analysis
Hi,
Our BI Publisher is integrated with OBIEE. I am developing BI Publisher report from existing obiee analysis. I am getting error when selecting existing analysis for data Set. Following error gets appear when pressing ok after selecting BI analysis
oracle.xdo.XDOException: oracle.xdo.XDOException: oracle.xml.parser.v2.XMLParseException: '=' missing in attribute.
I have done some debugging and it seems error is appearing due to presence of dimensional hierarchy in the analysis. If I remove dimensional hierarchy column from the analysis, this error goes away and I am able to save data model and gather sample XML.
Any idea how to handle dimensional hierarchy column in BI Publisher data set?
Thanks & RegardsHi,
I got this response from Oracle
“Sorry, this is not supported. If the BIEE Analysis has hierarchy columns then BIP cannot use it as a datasource.” -
To delete multiple entries in table control in module pool
Hi,
Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
Regards,
Irfan Hussainhai,
you can do it inthis way.
in the PAI event.
loop at <table control name>
module del_itab.
endloop.
in the nodule,write the folowing code.
if <tablecontrol>-fieldname = 'X'.
delete <tablecontrol-itab>
endif.
cheers -
How to control the cursor position in the Table control in Module pool
Hi,
Can any body tell me how to change the cursor positon from last field of the first record to the
first field of the second record , when user presses enter in the last field in the module pool
programming.
ThanksHi,
Please avoid posting duplicate posts.
Re: how to get the cursor position from screen in module pool program
Nag -
Getting error when creating a RFQ in MM module" create rfq item overview"
Hi,
i am a beginer in SAP administration, users are getting this error message and i have done all my research and not able to resolve this issue.
This error i am getting when creating a RFQ in MM module and when trying to save the screen "create rfq item overview" then it gives me a pop up box message " SAP SYSTEM MANAGER: WORK PROCESS RESTARTED, SESSION TERMINATED".
Here are the details of teh system
SAP Version :ideas 4.7
Database :Oracle
OS : windows 2003
Module user is working on MM
user working on it is a Super user with all the permissions
SAP is configure to run under the European date and decimal format.
I have never done any database administration on it, it is a new install and has been rarely used.
User creates a RFQ and when he tries saving it , seems like for the first time after either restarting the macine or restarting the service it might work and at time it might not, this is a very sporadic error and most of the times it crashes out with the message "sap system manager:work process restarted, session terminated" and kicks the user out of the session.
Below are the details of the error message from ST22 :
name of the runtime error : system_core_dumped
below are the details of the error message and its resoltion as suggested by sap help :
========
Runtime Errors SYSTEM_CORE_DUMPED
Occurred on 01.02.2008 at 07:52:19
Process terminated by signal " ".
What happened?
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "SAPLCLSC" had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An SAP System process was terminated by an operating system signal.
Possible reasons for this are:
1. Internal SAP System error.
2. Process was terminated externally (by the system administrator).
Last error logged in SAP kernel
Component............ "Taskhandler"
Place................ "SAP-Server server1_DEV_00 on host server1 (wp 1)"
Version.............. 1
Error code........... 11
Error text........... "ThSigHandler: signal"
Description.......... " "
System call.......... " "
Module............... "thxxhead.c"
Line................. 9555
How to correct the error
The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
Save this file under another name.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. " "
Application server....... " "
Network address.......... " "
Operating system......... " "
Release.................. " "
Hardware type............ " "
Character length......... " " Bits
Pointer length........... " " Bits
Work process number...... " "
Short dump setting....... " "
Database server.......... " "
Database type............ " "
Database name............ " "
Database owner........... " "
Character set............ " "
SAP kernel............... " "
Created on............... " "
Created in............... " "
Database version......... " "
Patch level.............. " "
Patch text............... " "
Supported environment....
Database................. " "
SAP database version..... " "
Operating system......... " "
User, transaction...
Client.............. " "
User................ " "
Language key........ " "
Transaction......... "ME41 "
Program............. "SAPLCLSC"
Screen.............. "SAPMM06E 0320"
Screen line......... 71
Information on where termination occurred
The termination occurred in the ABAP program "SAPLCLSC" in "EXECUTE_SELECT".
The main program was "SAPMM06E ".
The termination occurred in line 131 of the source code of the (Include)
program "LCLSCF2G"
of the source code of program "LCLSCF2G" (when calling the editor 1310).
=============
i even tried increasing the dialog processes but with no use.The same error occurs.
I appreciate every one of help i can get, i am working on a deadline which is tomorrow evening to resovle this issue, any kind of help is highly appreciated.
thanks
mudessir.Hi Mudessir,
With the help of ABAP'er try the following.
1. open the program 'LCLSCF2G' from SE38.
2. Keep a break point at line no: 131.
There is 'END SELECT' statement which is getting failed at line no 131 in the program.
Try to analyse the SY-SUBRC at that point.
If your technical consultant can't solve this, write to SAP OSS (service.sap.com).
I have searched SAP OSS, there are other situations, but your case is not there. So write to SAP if technical consultant can't solve it by debugging the program.
Regards,
Madhu. -
Getting error while creating table from one database to other.
Hi,
We are getting below error while creating the table from one database to other.
SQL> create table fnd_lobs parallel compress as select * from [email protected];
create table fnd_lobs parallel compress as select * from [email protected]
ERROR at line 1:
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
ORA-02063: preceding line from EEXIT2TEST
ORA-01555: snapshot too old: rollback segment number 28 with name "_SYSSMU28$"
too small
Regards,
Bhatiahi
what are the apps version local and remote database???
Snapshot too old errors occur because Oracle can 't reconstruct a consistent
image of a block for the purposes of a consistent read.
I feel at remote database, you are using UNDO, it will be rather easy to iincrease the undo retention time or increase the undo tablespace size.. if you are dealing with roll back segments, you may have rollback segments whose optimal values are too small...
increase roll back segments size and select again then
the following metalink notes might be helpful
ORA-01555 "Snapshot too old" - Detailed Explanation Doc ID: 40689.1
How To Avoid ORA-01555: Snapshot Too Old When Running PAAPIMP Doc ID: 603259.1
OERR: ORA 1555 "snapshot too old (rollback segment too small)" Doc ID: 18954.1 -
User getting error when creating a new Document Library
The user is getting the following error when trying to create a new Document Library in SharePoint 2010:
Error
Cannot complete this action.
Please try again.
Correlation ID: 37ecd5eb-6129-4fa3-84bd-c6f0ad8115d5
Has anyone come across this error and know how to resolve it?Hi,
According to your post, my understanding is that the user could not create a document library.
To narrow down whether the issue is related to the user permission, you can check which permission the user has.
You can also assign the user full control to check whether it works.
What’s more, did the issue occur in other sites? You can check with other sites or create a new site to check whether it works. Maybe the site has been corrupted.
To quickly and accurately find the issue, I recommend you can check the event log and ULS log to see if anything unexpected occurred.
For SharePoint 2010, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
You can check the ULS log by the methods here:
http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Getting errors when creating physical standby.
Hello All,
i am getting following error when i creating a physical standby for production,
i used below command to do it
duplicate target database to standby dorecover;
after some time it throwed this error.
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/solfho2/datafile/system.382.764328493'
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/12/2011 13:04:06
RMAN-03015: error occurred in stored script Memory Script
RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/arch/SOLFHO2/PROLHO01_1_25224_740461103.arc'
ORA-16145: archival for thread# 1 sequence# 25224 in progressHello;
Looks like a do over.
I have my short notes here:
http://www.visi.com/~mseberg/duprman2.html
This has been tested several times.
Best Regards
mseberg -
Hi,
I'm trying to create the following table
SQL> CREATE TABLE T_IMP (
2 C_ID VARCHAR2(16 BYTE) NOT NULL ENABLE,
3 I_ID VARCHAR2(50 BYTE) NOT NULL ENABLE,
4 POWER NUMBER(*,0) DEFAULT 0,
5 HRS NUMBER(*,0) DEFAULT 0,
6 KWH NUMBER GENERATED ALWAYS AS (POWER*HRS) VIRTUAL VISIBLE ,
7 ACT VARCHAR2(1 BYTE) DEFAULT 'Y' NOT NULL ENABLE,
8 USRC VARCHAR2(64 BYTE),
9 DATE_F DATE DEFAULT CURRENT_TIMESTAMP NOT NULL ENABLE,
10 CONSTRAINT T_IMP_PK PRIMARY KEY (C_ID, I_ID)
11 );But I get this error:ORA-00406: COMPATIBLE parameter needs to be 11.0.0.0.0 or greater
ORA-00722: Feature "Virtual columns"below you can see my Oracle versione and compatible parameter:
Oracle version: 11.2.0.1.0
select name, value
from v$parameter
where name = 'compatible';
NAME VALUE
compatible 10.2.0.3.0How can I create my table with Virtual columns?
Thanks in advance!R. Royal wrote:
Ok,
but my not-rhetorical question is:
Can I modify the compatible parameter to allow me to create the table?Yes you can. But just make sure that the person who has set it that way does not come to you screaming!!
Seriously, some parameter is changed by someone for some reason. The reason could be good or bad, but there must be a reason. And your job is to find it out ;) -
Getting error when creat sales order and Stock Posting
Hi
I have created enterprise structure, xd01, mm01, ovkk but I count't post stock.
When create sales order getting error is that
1.This material is not defined for sales area 1000, 10, 00.
And if i use this T.Code MB1C,
2. Parameters for plant 1000 not maintained in Inventory Mgt.,
*3. Unit *** is not created in language EN.*
Thanks in advanceDear selvi sankaran
1) Compare the sales organization, distribution channel and division of customer and material. In your case, either of that should have been created differently. Maintain the same sales area and retry
2) Go to omi8 and maintain the required parameters to your plant
3) Go to Material Master, select "Additional data" and click on "Descriptions". There maintain "EN" under language.
thanks
G. Lakshmipathi
Maybe you are looking for
-
XML Publisher showing extra spaces
We are building a huge report using XML publisher , After building a custom report using (XML Publisher & Microsoft Document2007) , the requirement was to Show/Hide some Layouts like Table of data and Total Column depending on flag values, The soluti
-
How to disable Command-F1 toggle display
This has been asked before but it was years ago and never answered. I want to disable Command-F1 toggling between mirroring and extended desktop modes on my 2 20" Apple Cinema displays. HOW can I do this? Or is it even possible?
-
Hi, I know that most DVD players lock out after a certain number of region changes but if I buy two super drives can I use one for my international DVDs and one for my American DVDs or is the region lock part of the hardware of my macbook air? Thanks
-
Hi, What is the best method to use to migrate DB schema and data from an access db to Oracle 8i. We will need to do this quite often, so if you have any scripts, that would be nice! Thanks
-
I've started a site in Dreamweaver CS3 using a 2 column fixed template with header. My client wants more space between the left column nav bar and the body as well as around the photo embedded in the body. I've tried adjusting the padding by editing