on 02-15-2010 9:43 AM
Hello experts,
Can you please suggest a BADI where in I can handle the logic to change the out put medium to print from XML for internal PO.
How can we set the output medium to print.
Thanks & Regards,
Murthy
HI
have you tried BBP_SEND_MEDIUM_MODE?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Luis,
My exact requirement is we have added a custom field at shopping cart header level called internal PO. In case the internal PO field is checked. Then the output medium at PO processing must change to PRINT.
I am still searching for the exact answe since BBP_SEND_MEDIUM_MODE BADI does not have acess to the Shopping cart header fields. Please suggest a way out.
Thanks & Regards,
Rama Murthy.P
What you need to do in the implementation is to call the following two FMs:
1) BBP_OUTPUT_PO_PARAMS_GET by exporting your current PO GUID (as you are inside the PO Change BADI, this info is handy)
And get back the MEDIUM_VEND.
2) if the MEDIUM_VEND is not PRN, you call FM BBP_OUTPUT_PO_PARAMS_SET to set it and give the printer name.
Thank you all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i think you have to change the medium in youy supplier:
you can try to implement the BADI BBP_DOC_CHECK_BADI with SC filter
in BBP_DOC_CHECK mehtod
IF iv_save = 'X'.
* Get partner info
BBP_MEDIUM_GET_BY_PARTNER
...
*Update Medium Partner XML
BBP_MEDIUM_DB_UPDATE
...
-
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.