I work in a corporation that has several subsidiaries, and it uses the SAP Businness One Accounting System. I need to make a report, which can be parameterized by the Company Name, which is being used by the user.
Example, User 'A' is working on SAP B1, with the company UNO (1) and he needs to send a report, a sales report, but only take out the data of the company UNO.
Simultaneously the user 'B' is working in the company DOS (2) and wants to print the same report, but he needs that only the data of the DOS company should come out.
I have already managed to pass the user name (PrintByUserName @) as parameter, but the problem is that the same user (Accountant in Chief or similar) has access to all the companies, so I need to see if there is a similar parameter, but that contains the name of the company that is working in SAP B1. Thanks for the collaboration.