Why there is no data in the fields of an append structure?
I added the append structure ZAMC11VAOITM into structure MC11VA0ITM (for data source 2lis_11_vaitm). There are 2 components of ZZFKREL and ZZSTAWN in the append structure.
However, there is no data in those fields of ZAMC11VAOITM after extracting data.
There are data in the fields of ERDAT and ERZET of MC11VA0ITM. So I added ZZERDAT (ERDAT as component type) and ZZERZET (ERZET as component type) as another append structure into structure MC11VA0ITM. The result made me confused. There is still no data for ZZERDAT and ZZERZET after extraction even if the same fields ERDAT and ERZET with data.
Could you please help me out? Thanks a lot.
The field FKREL is available in the base table VBAP on which the extractor is built. It is already available in the communication structures provided by SAP. Goto LBWE, for your extract structure MC11VA0ITM under SD sales, choose maintenance and select MCVBAP FKREL Relev.for Bill. from the list and transfer it to the left side. In the datasource maintenance for this field remove check boxes hide and field only in cust exit. you should get data for it.
For the other field, ZZSTAWN, you would need to append the structure, check filed only in cust exit at the datasource maintenance and write code in CMOD to fetch data from its source table. This field, I guess doesn't exist in VBAK/VBAP/VBUP, etc on which the datasource is built.