You drag the file, query and IDOC to the dataflow, connect the three and then the Query will have the entire IDOC schema but without mappings. Now the task is to fill the schema with values, from clauses etc. And that will be the tricky part if you have never done that before.
You will need a wide range of all the techniques shown here https://wiki.sdn.sap.com/wiki/display/BOBJ/The+Nested+Relational+Data+Model+NRDM
thnx werner… now job is able to process multiple data…
Now am trying to use idoc as mesage source and load it into a SQL server table.
drag and drop the idoc as ‘Idoc message source’
place query next to it
use template table as target
Here am not able to map columns from input schema to output schema but can copy&paste … really weird …
and while trying to validate the job , it shows the attached error …
wat to map in from schema ? tried to map schema name from input idoc but no luck…drag n drop not working
am able to drag the input now to output schema in query …but how to map it to target table / file ? nothing is getting mapped from Query to output… tired of Idocs
i was trying with batch jobs to load from idoc message source to table.
aftre going thru lot of SAP WIKI links , i understood that idoc messgae source can only be used a source in real time jobs. ( i started my idoc exercise with idoc target g
but wat is confusing is idoc files…what is the difference b/w idoc file and idoc message ?
You can exchange IDOCs with SAP via two ways, either online meaning you connect via RFC to the SAP system and get it right away (=message). Or you work with files, first copy and then use them.
In short, you will always want to use IDOC messages.
but when i use idoc as message source , i can copy & paste the columns from schema to query , why am i not able to map the columns from Query to Target ?