12-07-2023 10:58 AM
Logic to get multiple sale orders(VBELN) in a row format for a single customer (KUNNR) using Report ??
12-11-2023 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.
12-11-2023 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.
12-11-2023 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.
12-21-2023 5:42 PM
12-21-2023 7:57 PM
Logic: