Hi Experts,
I have a requirment , where when-ever a vendor is created it data is to be captured from table (LFA1).
i.e i just have to fetch the data from LFA1 table , But i an internal table where field name and field value are present.
Like :- Internal table
Component Field Name Field value
Mandt Mandt 020
LIFNR LIFNR 111111111
NAME1 NAME1 Prashant
NAME2 NAME2 Singh
I request you all to please help in developing a logic for the afore said requirment.
Thanks a lot
reagards
Prashant
Request clarification before answering.
Hi ,
Please elaborate your question . Its not clear ,
If you need to fetch some fields form
LFA1 then
data : itab_lfa1 type table of LFA1.
SELECT *
from lfa1
INto TABLE iTAB_lfa1
WHERE SOME CONDITIONS
Hope this is clear.
Regards,
Uma Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Both ,
Thanks for giving consideration to my query , but thats not my requirment.
But i want to have logic where i can have all the fields of LFA1 table and there valuue like this:-
lets say i have internal table with two coloumns
Field name(LFA1) value (LFA1)
Mandt 010
Lifnr 11111111
Now to achive this fuctionality i have used FM "DDIF_FIELDINFO_GET", which is fetching all the field of
Lfa1 into table ,and with the select query i can fetch the value of the fields .
I am not able to get the logic to 1:1 filling of these field name and thier value in internal table , I have explained above.
Please help me over the same.
Regards
Prashant
| User | Count |
|---|---|
| 14 | |
| 13 | |
| 7 | |
| 7 | |
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.