on 07-03-2008 4:04 PM
Hi ,
When the user is putting a check mark on the " no further invoices expected" indicator system creates a change version of the purchase order and creates a new print output.
I don't want to have print output at that stage in all other cases no issue if it prints.
Ingen
done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
BBPD_COMP_FIELDS table is open for customers and can be configured for header and item levels only.
For POO (purchase order out put) there are structre names to be maintained and you can exclude or include fields for the out put.
If the field doesnt exist in the structure, it is difficult to control the out put with out writing the code for example attachments or vendor text.
Please let me know if you are unable to control through config. I can provide you the exact class where you might need to write the code.
DV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi DV,
Thanks for the response.
SAP Support suggested to do the same. I added the fields FINAL_INV and FINAL_ENTRY for POO, structure BBP_PDS_ITEM, both with value "E - Structure/Field does not Enter Comparison (exclusive)". But it didn't work.
I am using SRM 6.0. I think there is a program error. I'm waiting the support response and so I update this post.
DV, could you provide us the class to add the code?
Thanks,
Rodrigo
UPDATE: I was wrong in the message above. I carried out more tests and the insertion of the fields in the table BBPD_COMP_FIELDS has worked very well.
Use SM30 to handle this table in the customizable client and transport the request.
I recommend to do the same to stop triggering output when the PO is closed.
Thanks,
Rodrigo
Edited by: Rodrigo Alves on Jul 23, 2008 2:33 PM
Class CL_ACTION_PO_OUTPUT_BBP, method GET_DIFF
*{ REPLACE SRDK916154 3
*\ ev_objects_differ = lv_objectdiffers.
ev_objects_differ = lv_objectdiffers
tables
et_diff_fields = lt_diff_fields.
*} REPLACE
read output-relevant data into lt_po_metaout
if lv_objectdiffers = bbppd_on.
m_execute_needed = bbppd_on.
*{ INSERT SRDK916154 2
else.
m_execute_needed = bbppd_off.
*} INSERT
see if it works for you as well as for me
Hi,
Please check the table BBPD_COMP_FIELDS. This teble controls to create a change version.
Regards,
Masa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.