3 weeks ago - last edited 3 weeks ago
Hello gurus,
I'm working with the assembly processing scenario, using quotation and network. I have two "materials," both linked to the same standard network. The standard network, in turn, is associated with a standard project that contains only one WBS element.
The process works perfectly for both materials (Screenshot_00.jpg and Screenshot_01.jpg), but only when the sales document (which is the quotation) has a single item.
When I add a second item (Screenshot_02.jpg), an error occurs (Screenshot_03.jpg).
It seems like the WBS element to be created is validated in the sales document before it's actually generated, or the WBS element is simply not created at all.
I'm using version 2024. I believe this might be a program error, as I've already encountered another issue where I had to apply SAP note 3408903 because the system wasn't even creating the operative network.
Has anyone experienced a similar issue or can offer any help? @SAPSupport
Regards
Marcio Blos
Hi all..
I identified the issue in the program. Since I am using a training system rather than a client system, I cannot open a ticket with SAP, but I’m sharing the details here in case it can help others.
In the code for the FM CJWB_ELEMENTS_COPY, specifically at line 147, the FORM EINB_WINDOW_INPUT is invoked. Within this FORM, on line 110, a SELECT is made from the PRPS table, targeting the PSPHI field, and assigning the result to the variable L_PSPHI, using the field PSPNR as a criterion. However, the value in the variable RCWKP-DANEBEN (used as filter) refers to the POSID of the standard WBS element, which causes the selection to always return empty. I believe there are two issues here:
The values required for the variables L_PSPHI and L_PROFL are already in memory. Therefore, running the selection is unnecessary. These values are already present in the PRPS and PROJ structures, specifically in the PRPS-PSPHI and PROJ-PROFL fields. When debugging the program and halting at line 115, if you replace the values of L_PSPHI and L_PROFL with those from PRPS-PSPHI and PROJ-PROFL, the error is resolved, and the process continues without issues. As you can see on images 2, 3 and 4.
Regards
Marcio Blos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.