Hallo in the lase one How Know the System which Value has( maktx = and you tell him to fill with (matnr = wa_ekpo-matnr ) its because where conditions ?
@teenujain30142 жыл бұрын
Hi Ganesh, Thank you so much for sharing knowledge, this is very useful content, Just wanted to inquire about , how to use VALUE for nested loop and if 2 or 3 nest loop , sy-subrc is not initial and we need to append someother data like (Flag set if data not matched ) to Left Hand Operator.
@just2shareji2 жыл бұрын
Thank you, and I believe this scenario might covered in other video with slight change in the requirement.
@CutieSaanvi20172 жыл бұрын
In loops we have privilege to use Move wa1 to wa2 and we can append in ITAB, here if we have more fields, do we need to mention all in parenthesis?
@just2shareji2 жыл бұрын
Welcome!!! You prefer to use CORRESPONDING between the internal tables like it_data2 = CORRESPONDING #( itab2 ). But here no need to se VALUE keyword.
@CutieSaanvi20172 жыл бұрын
Hi Ganesh, Thanks for sharing! If I want to move 10fields from one internal table, do I need to mention 10fields in parenthesis?
@just2shareji2 жыл бұрын
Welcome!!! You prefer to use CORRESPONDING between the internal tables like it_data2 = CORRESPONDING #( itab2 ). But here no need to se VALUE keyword.
@kumarpalani312 жыл бұрын
Hi Ganesh, Is this similar to Loop inside Loop in normal abap? Won't this cause performance issues since these manipulations happens in Application layer?
@just2shareji2 жыл бұрын
Yes, Value is replacing the LOOP in the application layer and it is not working as existing LOOP concept... so it is truing to improve the scenarios where nested loop are in place.
@AnthimosPap4 ай бұрын
hello i put the final statement : data(it_final) = value tt_final( for wa_ekko in it_ekko for wa_ekpo in it_ekpo where ( ebeln = wa_ekko-ebeln ) ( ebeln = wa_ekko-ebeln bukrs = wa_ekko-bukrs ebelp = wa_ekpo-ebelp matnr = wa_ekpo-matnr maktx = it_mara_3[ matnr = wa_ekpo-matnr ]-maktx ) ). but i have a dump error like : An exception has occurred which is explained in more detail below. The exception, which is assigned to class 'CX_SY_ITAB_LINE_NOT_FOUND' was not caught and therefore caused a runtime error. The reason for the exception is: Access failed for table "IT_MARA_3". Access method: "KEY". Line index (for "INDEX" access) / key name (for "KEY" access): "". Key values: " " " " " " " " why i have this?
@just2shareji4 ай бұрын
Normally this exception caused because the data comparison got failed between the internal table data. If you still want to process, please use TRY-CATCH block by catching this exception using the class "CX_SY_ITAB_LINE_NOT_FOUND"