2012 Mar 30 7:47 AM
Hello Expert,
My cusotmer has requirement about PO release strategy as below:
After user creates one PO, and click button "Save", the system should check whether the PO is applicable to the release strategy which is maintained in SPRO.
If applicable, program should check the material type for all the PO items. If the material type is not same for all items, the PO should not be saved and progrma should show error message.
I plan to implement the functionality in exit EXIT_SAPLEBND_002. But my question is how can I know whether the PO is applicable or not to the release strategy before saving?
Thanks in advance for your help.
Johnny.
2012 Mar 30 7:53 AM
You have to refer to the field FRGSX = ' ' or with FRGKE = 'I' in the header structure of PO.
Hello Expert,
My cusotmer has requirement about PO release strategy as below:
After user creates one PO, and click button "Save", the system should check whether the PO is applicable to the release strategy which is maintained in SPRO.
If applicable, program should check the material type for all the PO items. If the material type is not same for all items, the PO should not be saved and progrma should show error message.
I plan to implement the functionality in exit EXIT_SAPLEBND_002. But my question is how can I know whether the PO is applicable or not to the release strategy before saving?
Thanks in advance for your help.
Johnny.
2012 Mar 30 7:53 AM
You have to refer to the field FRGSX = ' ' or with FRGKE = 'I' in the header structure of PO.