Read Table : Error Stating mandt field is not filled.
Dear members,
I am get syntax error when using Read table statement saying mandt field is not filled, however if I remove the KEY field. it is working fine.
please let me know, where I am doing mistake. thank you.
Data : spfli_tab like STANDARD TABLE OF spfli with HEADER LINE.
SELECT *
FROM spfli
INTO TABLE spfli_tab
WHERE carrid = 'LH'.
READ TABLE spfli_tab
WITH TABLE KEY carrid = 'LH'
connid = '2402'.
IF sy-subrc = 0.
ENDIF.
Hi...
As Eric Said there are two ways...
For your case use WITH KEY...
SELECT *
FROM spfli
INTO TABLE spfli_tab
WHERE carrid = 'LH'.
READ TABLE spfli_tab
WITH KEY carrid = 'LH'
connid = '2402'.
IF sy-subrc = 0.
WRITE : 'DONE'.
ENDIF.
If u specify WITH TABLE KEY then u will hv to pass all key fields mentioned in DDIC...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
Similar Messages
-
FI:While posting MIRO getting Error of Balancing field Segment not filled
Hello SAP Gurus,
While posting MIRO getting Error of Balancing field Segment in line item 001 not filled
Message No.GLT2201.
Please suggest me solution for it i read lots of related threats but could not solve this error.SPRO-Financial Accounting (New)-General Ledger Accounting (New)-Business Transactions-Document Splitting-Edit Constants for Nonassigned Processes-Select your constant-Double click and Select Assignment of profit center- Enter your dummy profit center here otherwise
SPRO-Financial Accounting (New)-General Ledger Accounting (New)-Business Transactions-Document Splitting-Edit Constants for Nonassigned Processes-Select your constant-Double click and Select Assignment of values-Enter here segment. -
Error in ALV : Field Does not exists in Output table .
Hi All,
In my ALV report, program get dumped and showing error when i tried to put a col named Distribution channel ion the alv.
I have put the Distribution cannel field in the IT_FInal table , but still getting folwong errors :
Error : Field Symbol is not been assigned.
As Instructed i have passed I_INTERFACE_CHECK = 'X'.
By this i am getting detail error that :
Field Distribution channel does not exists in Output table & Heading for List is missing .
But i have maintained the distribition channel in IT_Final table
Please suggest wheather we have to define dis channel in any other place.
Thanks in advance.
Can any one help me regrarding this.
Thanks in advance.Hello,
You have to populate the same in the fieldcatalog as well, i think you have not maintained this field there.
BR,
Suhas
PS: Also make it a point to follow-up on your previous post: [Error in ALV : Field Symbol not been assigned.|Error in ALV : Field Symbol not been assigned.] -
Err. E:"TRANSPORTING NO FIELDS" will not fill the output area.
Dear all,
Below are my codes and i keep getting this error
E:"TRANSPORTING NO FIELDS" will not fill the output area. The addition does not make sense here.
Any idea how to fix this?
The first bit...
TABLES: /BI0/MWBS_ELEMT.
DATA: I_MWBS_ELEMT LIKE /BI0/MWBS_ELEMT OCCURS 0 WITH HEADER LINE.
DATA: W_MWBS_ELEMT LIKE LINE OF I_MWBS_ELEMT.
Then second bit...
READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
IF SY-SUBRC IS INITIAL.
RESULT = W_MWBS_ELEMT-RESP_CCTR.
RETURNCODE = 0.
ELSE.
SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
AND OBJVERS = 'A'.
IF SY-SUBRC IS INITIAL.
APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
RESULT = W_MWBS_ELEMT-RESP_CCTR.
ELSE.
CLEAR RESULT.
ENDIF.
ENDIF.Hi
The error is here
READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
The addtion TRANSPORTING NO FIELDS is in conflit with addition INTO:
TRANSPORTING NO FIELDS means not to fill the work are
INTO mean fill a work area
So or u need to fill a work area or u don't need to fill a work area, but (from the code you've pasted) it seems u need to fill the work area W_MWBS_ELEMT, so your code should be:
READ TABLE I_MWBS_ELEMT INTO W_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID.
IF SY-SUBRC IS INITIAL.
RESULT = W_MWBS_ELEMT-RESP_CCTR.
RETURNCODE = 0.
ELSE.
SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
AND OBJVERS = 'A'.
IF SY-SUBRC IS INITIAL.
APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
RESULT = W_MWBS_ELEMT-RESP_CCTR.
ELSE.
CLEAR RESULT.
ENDIF.
ENDIF.
Max -
Error in address output (name not filled). Its urgent
Hello folks,
when i execute smartfrom prog i m getting this error.
Error in address output (name not filled).
Message no. SSFCOMPOSER323
With regards,
Shashank ReddyThis is because an alternate Address Details are being Pulled and the form errors out Since there is a validation in the smartform which needs the NAME1 field to not be Blank.
I had this issue Printing, emailing a Smart-form for a Purchase Order. It turned out that the Storage location address was maintained for the Storage location in the PO.
I Deleted the Storage location address in the IM. Enterprise Structure > Definition > Materials Management > Maintain Storage Location for the Storage location.
Table view (V_TWLAD)
Now that the Alternate Delivery address is not checked , the issue does not arrive anymore. Note: If the Storage location address is needed, the NAME1 field for the address should not be left blank. Once the NAME1 field is specified, there will be no error printing the Smartform
<removed by moderator>
Edited by: Thomas Zloch on Feb 5, 2012 9:05 AM -
To Generate msg if mandatory field is not filled
Hi Experts,
I want to display msg if mandatory field is not filled , for that i called
CALL METHOD L_MESSAGE_MANAGER->REPORT_ATTRIBUTE_ERROR_MESSAGE
EXPORTING
MESSAGE_TEXT = ' PLEASE FILL ALL MANDATORY FIELD '
ELEMENT = ELEM_GENRAL
ATTRIBUTE_NAME = F_NAME
But i am getting error that F_NAME is not an attribute name but it is attribute name only
What i should do , Please HelpHi Neeraj,
Remove Required property of that inputfield make it NORMAL.
For example your input field is INPUT...
if input is initial.
* report message
CALL METHOD lo_message_manager->REPORT_ATTRIBUTE_ERROR_MESSAGE
EXPORTING
MESSAGE_TEXT = 'Pick Quantity Should not be 0... '
ELEMENT = wa_temp // element
ATTRIBUTE_NAME = 'PICK_QTY'. // Attribute name( name used in context )
endif.
If you not fill input it will raise error message by hilighting the input field.
Cheers,
Kris. -
How to block the 'save' function when the required fields are not filled?
Hello, Everyone
I am new for this scripting. My question is:
How to block the 'save' function when the required fields are not filled?
I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
if (this.getField("Family Name").value == ""){
app.alert('You should fill the Family Name field firstly!');
But I do not think it works as finally the document is saved after all.
Please help me on that!
So much thanks.Dear Randybearwang,
I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
If you need further assistance , please let me know
Have fun with the code.
P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file. -
Error in address output (name not filled).
Hii
When am Printing FI BANK PAY RECEIPT ,
Its showing an error message :
Error in address output (name not filled).
Message no. SSFCOMPOSER323
Can u please guide me why its showing this error ?
Thanks in Advance
SATYAHi,
I see that you solved this issue on SMARTFORM where you were getting following error: SSFCOMPOSER323
How did you solve it? I am facing the same issue and i have maintained all the data? Atleast thats what i think.
I would really appreciate your answer.
Thanks -
MP000200, screen 2044 fields are not filled
Hi all
We have used screen 2044 for many years, but recently som fields are not filled.
When creating infotype 0002 and typing the ID number (PERID), the birthdate (GBDAT) is automatically filled.
Normally these 3 fields are filled ....
GBTAG Date of birth
GBMON Month of birth
GBJHR Year of birth
...but now the are left without values.
Can anyone help me with that case?Hello,
I'm wondering if IT22 is not subtype mandatory ... check in T582A if "Subtype obligator" isn't ticked. Therefore you are obliged to fill the field SUBTY in your BDC.
regards
Hadrien -
Hi,
I have a table with many LONG fields (28). So far, everythings works fine.
However, if I add another LONG field I cannot insert a dataset anymore
(29 LONG fields).
Does there exist a MaxDB parameter or anything else I can change to make inserts possible again?
Thanks in advance
Michael
appendix:
- Create and Insert command and error message
- MaxDB version and its parameters
Create and Insert command and error message
CREATE TABLE "DBA"."AZ_Z_TEST02"
"ZTB_ID" Integer NOT NULL,
"ZTB_NAMEOFREPORT" Char (400) ASCII DEFAULT '',
"ZTB_LONG_COMMENT" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_00" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_01" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_02" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_03" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_04" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_05" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_06" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_07" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_08" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_09" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_10" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_11" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_12" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_13" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_14" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_15" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_16" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_17" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_18" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_19" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_20" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_21" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_22" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_23" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_24" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_25" LONG ASCII DEFAULT '',
"ZTB_LONG_TEXTBLOCK_26" LONG ASCII DEFAULT '',
PRIMARY KEY ("ZTB_ID")
The insert command
INSERT INTO AZ_Z_TEST02 SET ztb_id = 87
works fine. If I add the LONG field
"ZTB_LONG_TEXTBLOCK_27" LONG ASCII DEFAULT '',
the following error occurs:
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
General error;-7032 POS(1) SQL statement not allowed for column of data type LONG
INSERT INTO AZ_Z_TEST02 SET ztb_id = 88
MaxDB version and its parameters
All db params given by
dbmcli -d myDB -u dbm,dbm param_directgetall > maxdb_params.txt
are
KERNELVERSION KERNEL 7.5.0 BUILD 026-123-094-430
INSTANCE_TYPE OLTP
MCOD NO
RESTART_SHUTDOWN MANUAL
SERVERDBFOR_SAP YES
_UNICODE NO
DEFAULT_CODE ASCII
DATE_TIME_FORMAT INTERNAL
CONTROLUSERID DBM
CONTROLPASSWORD
MAXLOGVOLUMES 10
MAXDATAVOLUMES 11
LOG_VOLUME_NAME_001 LOG_001
LOG_VOLUME_TYPE_001 F
LOG_VOLUME_SIZE_001 64000
DATA_VOLUME_NAME_0001 DAT_0001
DATA_VOLUME_TYPE_0001 F
DATA_VOLUME_SIZE_0001 64000
DATA_VOLUME_MODE_0001 NORMAL
DATA_VOLUME_GROUPS 1
LOG_BACKUP_TO_PIPE NO
MAXBACKUPDEVS 2
BACKUP_BLOCK_CNT 8
LOG_MIRRORED NO
MAXVOLUMES 22
MULTIO_BLOCK_CNT 4
DELAYLOGWRITER 0
LOG_IO_QUEUE 50
RESTARTTIME 600
MAXCPU 1
MAXUSERTASKS 50
TRANSRGNS 8
TABRGNS 8
OMSREGIONS 0
OMSRGNS 25
OMS_HEAP_LIMIT 0
OMS_HEAP_COUNT 1
OMS_HEAP_BLOCKSIZE 10000
OMS_HEAP_THRESHOLD 100
OMS_VERS_THRESHOLD 2097152
HEAP_CHECK_LEVEL 0
ROWRGNS 8
MINSERVER_DESC 16
MAXSERVERTASKS 20
_MAXTRANS 288
MAXLOCKS 2880
LOCKSUPPLY_BLOCK 100
DEADLOCK_DETECTION 4
SESSION_TIMEOUT 900
OMS_STREAM_TIMEOUT 30
REQUEST_TIMEOUT 5000
USEASYNC_IO YES
IOPROCSPER_DEV 1
IOPROCSFOR_PRIO 1
USEIOPROCS_ONLY NO
IOPROCSSWITCH 2
LRU_FOR_SCAN NO
PAGESIZE 8192
PACKETSIZE 36864
MINREPLYSIZE 4096
MBLOCKDATA_SIZE 32768
MBLOCKQUAL_SIZE 16384
MBLOCKSTACK_SIZE 16384
MBLOCKSTRAT_SIZE 8192
WORKSTACKSIZE 16384
WORKDATASIZE 8192
CATCACHE_MINSIZE 262144
CAT_CACHE_SUPPLY 1632
INIT_ALLOCATORSIZE 229376
ALLOW_MULTIPLE_SERVERTASK_UKTS NO
TASKCLUSTER01 tw;al;ut;2000sv,100bup;10ev,10gc;
TASKCLUSTER02 ti,100dw;30000us;
TASKCLUSTER03 compress
MPRGN_QUEUE YES
MPRGN_DIRTY_READ NO
MPRGN_BUSY_WAIT NO
MPDISP_LOOPS 1
MPDISP_PRIO NO
XP_MP_RGN_LOOP 0
MP_RGN_LOOP 0
MPRGN_PRIO NO
MAXRGN_REQUEST 300
PRIOBASE_U2U 100
PRIOBASE_IOC 80
PRIOBASE_RAV 80
PRIOBASE_REX 40
PRIOBASE_COM 10
PRIOFACTOR 80
DELAYCOMMIT NO
SVP1_CONV_FLUSH NO
MAXGARBAGECOLL 0
MAXTASKSTACK 1024
MAX_SERVERTASK_STACK 100
MAX_SPECIALTASK_STACK 100
DWIO_AREA_SIZE 50
DWIO_AREA_FLUSH 50
FBM_VOLUME_COMPRESSION 50
FBM_VOLUME_BALANCE 10
FBMLOW_IO_RATE 10
CACHE_SIZE 10000
DWLRU_TAIL_FLUSH 25
XP_DATA_CACHE_RGNS 0
DATACACHE_RGNS 8
XP_CONVERTER_REGIONS 0
CONVERTER_REGIONS 8
XP_MAXPAGER 0
MAXPAGER 11
SEQUENCE_CACHE 1
IDXFILELIST_SIZE 2048
SERVERDESC_CACHE 73
SERVERCMD_CACHE 21
VOLUMENO_BIT_COUNT 8
OPTIM_MAX_MERGE 500
OPTIM_INV_ONLY YES
OPTIM_CACHE NO
OPTIM_JOIN_FETCH 0
JOIN_SEARCH_LEVEL 0
JOIN_MAXTAB_LEVEL4 16
JOIN_MAXTAB_LEVEL9 5
READAHEADBLOBS 25
RUNDIRECTORY E:\_mp\u_v_dbs\EVERW_C5
_KERNELDIAGFILE knldiag
KERNELDIAGSIZE 800
_EVENTFILE knldiag.evt
_EVENTSIZE 0
_MAXEVENTTASKS 1
_MAXEVENTS 100
_KERNELTRACEFILE knltrace
TRACE_PAGES_TI 2
TRACE_PAGES_GC 0
TRACE_PAGES_LW 5
TRACE_PAGES_PG 3
TRACE_PAGES_US 10
TRACE_PAGES_UT 5
TRACE_PAGES_SV 5
TRACE_PAGES_EV 2
TRACE_PAGES_BUP 0
KERNELTRACESIZE 648
EXTERNAL_DUMP_REQUEST NO
AKDUMP_ALLOWED YES
_KERNELDUMPFILE knldump
_RTEDUMPFILE rtedump
UTILITYPROTFILE dbm.utl
UTILITY_PROTSIZE 100
BACKUPHISTFILE dbm.knl
BACKUPMED_DEF dbm.mdf
MAXMESSAGE_FILES 0
EVENTALIVE_CYCLE 0
_SHAREDDYNDATA 10280
_SHAREDDYNPOOL 3607
USE_MEM_ENHANCE NO
MEM_ENHANCE_LIMIT 0
__PARAM_CHANGED___ 0
__PARAM_VERIFIED__ 2008-05-13 13:47:17
DIAG_HISTORY_NUM 2
DIAG_HISTORY_PATH E:\_mp\u_v_dbs\EVERW_C5\DIAGHISTORY
DIAGSEM 1
SHOW_MAX_STACK_USE NO
LOG_SEGMENT_SIZE 21333
SUPPRESS_CORE YES
FORMATTING_MODE PARALLEL
FORMAT_DATAVOLUME YES
HIRES_TIMER_TYPE CPU
LOAD_BALANCING_CHK 0
LOAD_BALANCING_DIF 10
LOAD_BALANCING_EQ 5
HS_STORAGE_DLL libhsscopy
HS_SYNC_INTERVAL 50
USE_OPEN_DIRECT NO
SYMBOL_DEMANGLING NO
EXPAND_COM_TRACE NO
OPTIMIZE_OPERATOR_JOIN_COSTFUNC YES
OPTIMIZE_JOIN_PARALLEL_SERVERS 0
OPTIMIZE_JOIN_OPERATOR_SORT YES
OPTIMIZE_JOIN_OUTER YES
JOIN_OPERATOR_IMPLEMENTATION IMPROVED
JOIN_TABLEBUFFER 128
OPTIMIZE_FETCH_REVERSE YES
SET_VOLUME_LOCK YES
SHAREDSQL NO
SHAREDSQL_EXPECTEDSTATEMENTCOUNT 1500
SHAREDSQL_COMMANDCACHESIZE 32768
MEMORY_ALLOCATION_LIMIT 0
USE_SYSTEM_PAGE_CACHE YES
USE_COROUTINES YES
MIN_RETENTION_TIME 60
MAX_RETENTION_TIME 480
MAX_SINGLE_HASHTABLE_SIZE 512
MAX_HASHTABLE_MEMORY 5120
HASHED_RESULTSET NO
HASHED_RESULTSET_CACHESIZE 262144
AUTO_RECREATE_BAD_INDEXES NO
LOCAL_REDO_LOG_BUFFER_SIZE 0
FORBID_LOAD_BALANCING NO>
Lars Breddemann wrote:
> Hi Michael,
>
> this really looks like one of those "Find-the-5-errors-in-the-picture" riddles to me.
> Really.
>
> Ok, first to your question: this seems to be a bug - I could reproduce it with my 7.5. Build 48.
> Anyhow, when I use
>
> insert into "AZ_Z_TEST02" values (87,'','','','','','','','','','','','','','','',''
> ,'','','','','','','','','','','','','','','','')
>
> it works fine.
It solves my problem. Thanks a lot. -- I hardly can believe that this is all needed to solve the bug. This may be the reason why I have not given it a try.
>
Since explicitely specifying all values for an insert is a good idea anyhow (you can see directly, what value the new tupel will have), you may want to change your code to this.
>
> Now to the other errors:
> - 28 Long values per row?
> What the heck is wrong with the data design here?
> Honestly, you can save data up to 2 GB in a BLOB/CLOB.
> Currently, your data design allows 56 GB per row.
> Moreover 26 of those columns seems to belong together originally - why do you split them up at all?
>
> - The "ZTB_NAMEOFREPORT" looks like something the users see -
> still there is no unique constraint preventing that you get 10000 of reports with the same name...
You are right. This table looks a bit strange. The story behind it is: Each crystal report in the application has a few textblocks which are the same for all the e.g. persons the e.g. letter is created for. Principally, the textblocks could be directy added to the crystal report. However, as it is often the case, these textblocks may change once in a while. Thus, I put the texts of the textblock into this "strange" db table (one row for each report, one field for each textblock, the name of the report is given by "ztb_nameofreport"). And the application offers a menue by which these textblocks can be changed. Of course, the fields in the table could be of type CHAR, but LONG has the advantage that I do not have to think about the length of the field, since sometime the texts are short and sometimes they are really long.
(These texts would blow up the sql select command of the crystal report very much if they were integrated into the this select command. Thus it is realized in another way: the texts are read before the crystal report is loaded, then the texts are "given" to the crystal report (by its parameters), and finally the crystal report is loaded.)
>
- MaxDB 7.5 Build 26 ?? Where have you been the last years?
> Really - download the 7.6.03 Version [here|https://www.sdn.sap.com/irj/sdn/maxdb-downloads] from SDN and upgrade.
> With 7.6. I was not able to reproduce your issue at all.
The customer still has Win98 clients. MaxDB odbc driver 7.5.00.26 does not work for them. I got the hint to use odbc driver 7.3 (see [lists.mysql.com/maxdb/25667|lists.mysql.com/maxdb/25667]). Do MaxDB 7.6 and odbc driver 7.3 work together?
All Win98 clients may be replaced by WinXP clients in the near future. Then, an upgrade may be reasonable.
>
- Are you really putting your data into the DBA schema? Don't do that, ever.
> DBM/SUPERDBA (the sysdba-schemas) are reserved for the MaxDB system tables.
> Create a user/schema for your application data and put your tables into that.
>
> KR Lars
In the first MaxDB version I used, schemas were not available. I haven't changed it afterwards. Is there an easy way to "move an existing table into a new schema"?
Michael -
.<b>
Hello every body ,
In my report ,Before populating the fieldcatalog i am first fetching the details of g/l account into my internal table .There are two line items with same posting date .Now wen i use read table to populate my final table looping through the internal table i am getting only one LIne item record .But wen i give my specific line item number in the sel-screen i am getting all the details.if i don't give it tat is to fetch all the data ,then i am able to get only one line item details that is coming first in the order but the second one is not getting displayed.</b>
Wat could be the reason .
is it bcoz of only using the read statement?My friend :
before looping for read table concept
you have to sort the both tables and the internal table fields should in the same order what ever fields are common in the bot internal table ,.
then the line item table should be the loop and the header table should be the read table .
" example .
sort bseg by burks belnr .
sort bkpf by burks belnr .
loop at bseg .
read table bkpf with key bukrs = bseg-bukrs belnr = bseg-belnr .
you query for modify /inserting into new internal table .....etc
endloop .
but what you are doing is BKPF is looped and BSEG is used in the read concept so it will take only one line item ..and the remainining line item will be skiped .
and remember to sort also ..
reward points if it is usefulll.....
Girish -
FBV0 Error -- Message 00349 - Field does not exist on Screen
I am receiving the following error in FBV0 when I highlight a parked document and click POST. Please advise!
Field BSEG-FKBER_LONG. does not exist in the screen SAPMF05A 0332
Message no. 00349
Diagnosis
The specified field does not exist on the screen.
Procedure
Check your batch input data.Hi
I too getting the same error message. Did you get any clue of why this error message comes. Mine long text shows as below
No batch input data for screen SAPMF05A 0332
Message no. 00344
Diagnosis
The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
Possible reasons:
1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.
System Response
None.
Procedure
For 1: Either re-create the session or process it in expert mode. Correct the batch input program.
For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.
For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.
I have parked document of arround 500 t0 600 documents. Already processed around 50+ documents. I am getting error in only one document. I have verified all the inputs in this document but no problem with the datas. This seems to be bit strange.
Regards,
Deva -
How to use Read table with out key fields
Hi Experts,
I need to retrieve the 2 internal tables data into single table.
I have 3 common fields between the 2 tables but I don't have the Key fields. Then how to use the read table in this.
Thanks in Advance.
Edited by: satish4abap on Mar 10, 2010 9:39 AMHi Satish,
Key fields are nothing but the common fields with which you can pick the data from the second internal table.
If you can paste your Internal table fields then we will be able to assit you better.
However, in genral scenarios you can use it as below :
In this scenario, we are putting data from 3 internal table to another single internal table.
LOOP AT T_PRGEN INTO WA_PRGEN.
WA_FINAL-GUID_PR = WA_PRGEN-GUID_PR.
WA_FINAL-ATTR20A = WA_PRGEN-ATTR20A.
WA_FINAL-ATTR05A = WA_PRGEN-ATTR05A.
WA_FINAL-ATTR05B = WA_PRGEN-ATTR05B.
WA_FINAL-ATTR05C = WA_PRGEN-ATTR05C. " + DG1K902190
WA_FINAL-ATTR10A = WA_PRGEN-ATTR10A.
READ TABLE T_V_TCAV201 INTO WA_V_TCAV201 WITH KEY ATTRV20 = WA_PRGEN-ATTR20A BINARY SEARCH.
IF SY-SUBRC = 0.
WA_FINAL-TEXT1 = WA_V_TCAV201-TEXT1. "SUBID-TEXT1
ENDIF.
READ TABLE T_PNTPR INTO WA_PNTPR WITH KEY GUID_PR = WA_PRGEN-GUID_PR BINARY SEARCH.
IF SY-SUBRC = 0.
WA_FINAL-PRVSY = WA_PNTPR-PRVSY. "PROD NO
WA_FINAL-GRVSY = WA_PNTPR-GRVSY. "LOGICAL SYS GROUP
ENDIF.
append wa_final to t_final.
endloop. -
I have elements 9. I am making a panorama using about 10 images. Each time i click in the box to fill in the edges ( content aware fill) i get the error: could not fill because there is not enough memory (RAM).
This is not possible, as i have a machine with 8gb of RAM, and i can clearly see that less than 5GB is utilized.
I tried converting the individual images to jpeg as this is considerably smaller than RAW but i get the same error.
In Photoshop preferences i have set the memory to the max amount it allows ( 3255mb in my case). why will it not let me assign more RAM to it?
I got PSE 9 for content aware fill as i do a lot of panoramas, and if this does not work, its been a waste of 100 euros.Yes, this is very common. You can either up the amount of ram available to PSE in the editor preferences, or just let PSE finish the pano with unfilled edges. There is an action available in the forums at elementsvillage.com that will turn on the same kind of content aware patching that's in Photoshop and you can use that after leaving the pano creation feature.
EDIT I see you've already upped the memory. PSE is a 32 bit program and there's a limit to how much ram such programs can see. -
LSMW for Chart of Account: Field XSPEB not filled in batch-input session
Hi all,
we are using LSMW for importing the chart of account into a new system.
The LSMW project uses the report RFBISA00 for the creation of the batch-input session.
Some accounts need to be blocked in the new system. Therefore, we have the field XSPEB in our source structure and of course also in our target structure. But after the creation of the batch-input session the field is not included in the corresponding batch-input session.
Does anybody know why it is not set? I already debugged the program RFBISA00 but couldn't find the place where the data get lost.
Thanks in advance and regards,
MartinDid your batch input end with save ( /11 ) or what ok_code are you using ?
Maybe you are looking for
-
Issues after upgrading to SP2 mm: Blank page first page.
Hello, ever since upgrading to mm sp2 on .net 2008 I been having an issue. I created a new project and everything done by the books. When I run the report through the browser everything initially seems normal, it asks for input parameters then logi
-
I need to upgrade to Lion. It ISN'T available on Mac App Store.
I purchased Snow Lion directly from Apple online. How can I get Lion? It is suppose to be available for 19.99 on disk from Apple. I have used the search features and it leads me to Mac OS X 10.8. My mac can't run that. Lion is it for me.
-
How to upgrade to bootcamp 2.1 when sp3 already installed?
hi spent last night installing xp sp3 on my mbp everything went fine. stange thing is that I didnt uprade to bootcamp 2.1 before installing xp sp3. I did it on bootcamp 2.0 .. my questions: how do I upgrade my bootcamp to 2.1? do I have to remove my
-
Itunes store is in £ instead of $
All of the songs in the Itunes Store are in English currency instead of US. How do I go back?
-
Thread: EPMINS-01001 error while installalling Hyperion 11.1.2.1.0
Hi All, I am getting an error EPMINS-01001 while i am running Installtool.cmd.For every prerequisite its showing ok but in the end its throwing below error: User home have to exist for successful installation. Checking user account (UAC) state.... us