05-16-2016 6:38 AM
Hi ,
I have a requirement I need to add custom fields in standard ALV Display of IW38 / IW39 T code.
Any one please tell me the procedure.
Regards,
Ankamma.
05-16-2016 6:49 AM
Hi,
- Append database table CI_AUFK with your new fields and activate
- Populate your order header fields with data via user-exit, BADI or program
- Append structure RIHAUFK_LIST with exactly the same fields as CI_AUFK and activate
Check below link:
05-16-2016 7:32 AM
Hi Pranay,
The fields which i am going to add can be visible only in Standard ALV Display, No need to add in IW38 screen, is it possible .
Regards,
Ankamma.
05-16-2016 7:51 AM
Yes, it's possible. Don't include this field in screen enhancement.
05-16-2016 8:02 AM
Hi Pranay,
Can you please tell me BADI or any enhancement to populate data into custom fields in standard ALV Display, now my fields are displaying in ALV Display with blank data.
Regards,
Ankamma.
05-16-2016 8:16 AM
Try writing your code in Function Exits : EXIT_SAPLCOIH_018 and EXIT_SAPLCOIH_019 .
Populate structure COCI_AUFK_IMP-<your_fied>.
05-16-2016 11:05 AM
Hi pranay,
I tried above two function exits, but debugging does not stop here.
Now my requirement is based on order NO. i need to display those 3 fields data which is from Z table.
Those 3 fields data already maintained in Z table against Order No.(Aufnr).
Regards,
Ankamma
05-16-2016 11:39 AM
Hi,
Then, pls try below:
In program RIAUFK20 (report for IW38), click 'enhance' button at toolbar, then MUNU->enhancement operation->show implicit enhancement option. create a implicit enhancement.
Look for internal table OBJECT_ITAB fetch logic.Write your logic to fetch custom field data, select fld1 fld2 fld3 from Z-DB, and modify the internal table OBJECT_ITAB before passing it to
'REUSE_ALV_GRID_DISPLAY'.
05-16-2016 11:47 AM
Hi Pranay,
Thanks for valuable suggestions, Is Implicit enhancement is the only way to fulfil this requirement?
If so i will go a head with Implicit Enhancement only.
But
As per my client requirement I need to fulfil this Requirement using Enhancements (Either BADI or exits)Only.
Regards,
Ankamma.
05-16-2016 12:48 PM
05-16-2016 6:56 AM
05-16-2016 7:14 AM
05-16-2016 11:07 AM
If you have already added the custom fields to CI_AUFK and IW31/IW32 then you will be able to add these fileds to IW38/IW39 with the help of BAdi BADI_EAM_SIGNLELEVEL_LIST .
OR
Go through my detailed post here, IWO10018: User Fields in Maintenance Order where it was explained how to take custom fields to IW38 / IW39 in Part4.