‎2007 Nov 29 10:26 AM
What is the use of transporting no fields operation on internal table & Where it can be extensively used?
Give me an example for that.
Please no links.
Regards,
Chandru
‎2007 Dec 05 2:54 PM
hi Chandra,
Transporting no fields is used when u want to check some condition based on which u need to do some action
after,
read table itab with key kunnr = 1000 transpoerting no fileds.
if 1000 value exists then sy-subrc is equal to zero or else sy-subrc = 4.
Madhu
‎2007 Nov 29 10:30 AM
Hi Chandra,
TRANSPORTING NO FIELDS will be used to check for a particular condition without using its contents.
You want to do a particular operation if customer country is Germany then
READ TABLE IT_KNA1 WITH KEY LAND1 = 'DE' TRANSPORTING NO FIELDS.
This only needs to check whethter country for Cusotmer is Germany or not but it doest not need the contents of IT_KNA1.
Thanks,
Vinay
‎2007 Dec 05 7:36 AM
Hi Chandra,
If the addition TRANSPORTING NO FIELDS is used, the statement READ TABLE only checks whether the row that is being searched for exists, and fills the system fields sy-subrc and sy-tabix.
Regds,
Gaurav
‎2007 Dec 05 9:46 AM
addition TRANSPORTING NO FIELDS is used whenevr we r not bothered about the result contents but hav to check the system fields like sy-subrc...
maily it is used to check SY_SUBRC
‎2007 Dec 05 1:17 PM
Read Operation :
-
When your prime consideration is checking whether or not a record exists, not the contents.
Modify operation:
-
When u want to modify an internal table row using a work_area, but only few fields need to be updated.
e.g.
modify itab from wa transporting field1, field4, field19.
‎2007 Dec 05 2:54 PM
hi Chandra,
Transporting no fields is used when u want to check some condition based on which u need to do some action
after,
read table itab with key kunnr = 1000 transpoerting no fileds.
if 1000 value exists then sy-subrc is equal to zero or else sy-subrc = 4.
Madhu