09-25-2008 4:12 PM
I need to add one custom column in ALV output of IP18. This column is in MPOS table.
I have added the column in structure RIHMPOS as append structure. It is showing in field catalog and internal table object_tab (consist data) in debugging mode but it is not coming in output display even not in select layout field section on output.
Can anybody help me in this regard?
09-25-2008 5:37 PM
Sanjay,
Have you appended the same field to the structure that is linked to object_tab withing the IP17/18 program?
PeteA
09-25-2008 6:53 PM
Yes i have added that to structure RIHMPOS which is related to object_tab.
09-26-2008 8:33 AM
Sanjay,
Put a break-point at the method where it displays the ALV (something like CALL METHOD g_alv2->set_table_for_first_display ) and check the output table and field catalog to ensure they have the required fields.
PeteA
09-26-2008 10:02 PM
Hi Pete,
I did all these things. In the catalog my field was showing. In data table also my field was visible but anyhow it was not getting displayed on the output.
Later I set the bypassbuffer option in ALV call and it worked. So i think it was using the buffer memory everytime i ran the report. Now it's working perfectly fine.
Thanks for your help.
Sanjay.
09-26-2008 10:03 PM
09-27-2008 10:16 AM
09-28-2008 2:44 PM
Hi Pete,
See the thread. I have given the solution already in it.
Regards,
Sanjay.
09-28-2008 4:40 PM
Later I set the bypassbuffer option in ALV call and it worked. So i think it was using the buffer memory everytime i ran the report. Now it's working perfectly fine.
Yes, but HOW did you bypass the buffer option???
PeteA
05-25-2010 3:12 AM
Run program BALVBUFDEL to reset ALV buffer. You will see the new field in layout>current>column set.