2023 Dec 07 10:58 AM
Logic to get multiple sale orders(VBELN) in a row format for a single customer (KUNNR) using Report ??
2023 Dec 11 6:40 AM
1. Fetch list of sales orders for all customers you want
2. Find the maximum count of the number of sales orders for a customer and
3. use CALL METHOD cl_alv_table_create=>create_dynamic_table to create dynamic internal table.
refer blogs of above method to find how to use it.
2023 Dec 11 8:22 AM
Don't use cl_alv_table_create=>create_dynamic_table, it's prone to short dumps, slow, obsolete.
And also, the question is not about "dynamic internal table".
NB: if anybody wants to use the method above, instead should use the alternative to CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE | SAP Blogs.
2023 Dec 11 8:26 AM
I can understand your question in many ways. For instance, "report" doesn't mean if you want to display or print, and it may also mean for some people that it can be used to generate a file.
Nobody can propose a logic with so imprecise requirement.
Please clarify.
2023 Dec 21 5:42 PM
2023 Dec 21 7:57 PM
Logic: