cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion PO/line items output to supplier

Former Member

Hi Experts,

Once I delete any line items after "ordered" status, system is not triggering new output. How to make it possible?

Thank you,

R.S

Accepted Solutions (1)

Accepted Solutions (1)

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

Would you please check if the following entry is maintained in table BBPV_COMP_FIELDS via sm30?

Comparison Method: POO

Structure Name: BBP_PDS_ITEM

Field Name: DEL_IND

Type: E

If so, then FM BBP_PD_ALL_GET_DIFF will not find any difference after item is deleted in PO change version, and output in PO header will not be triggered.

Best regards,

Ivy

Former Member
0 Kudos

Hi Ivy,

I don't see field name "DEL_IND". do we need to add this or what should I do now?

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

You should check if you maintained this field in the mentioned table.

If so, please delete it.

If not, you may compare the change version and active version of this PO with FM

BBP_PD_ALL_GET_DIFF.

Then please attach the information in ET_DIFF_FIELDS(this is the result by running FM BBP_PD_ALL_GET_DIFF for this PO ).

Best regards,

Ivy

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

For import parameter of this FM:

IV_GUID1--change version

IV_GUID2--active version

IV_COMP_METHOD--E

IS_READ_FLAGS   XXXXXXX...--all the fields should be set as 'X'

After this, run the FM and check the result in ET_DIFF_FIELDS.

Best regards,

Ivy

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

One more point, you should not maintain the following entry too in table BBPV_COMP_FIELDS:

COMPARE_METHOD:  POO

STRUCTURENAME:   BBP_PDS_ITEM

FIELDNAME:

COMPARE_KIND:    E

Best regards,

Ivy

Former Member
0 Kudos

Thanks Ivy. I will check and let you know

Former Member
0 Kudos

hi Ivy,

I ma bit confused. My requirement is, When I delete a line item in the PO, system should trigger new output. How is it possible?


ivy_li
Active Contributor
0 Kudos

Hi senthil,

If users make any changes to one ordered PO(such as delete item), it will send out output to vendor. If this is not sent out, then you should check if some modification is done as mentioned in my previous reply.

Best regards,

Ivy

Former Member
0 Kudos

Hi Ivy,

Its not only delete, My system is not triggering output for any change.

I reduced PO value, increased PO value, deleted line, added line. Its not triggering output for anything.

Any idea?

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

1, Please check table BBPV_COMP_FIELDS:

COMPARE_METHOD:  POO

STRUCTURENAME:   BBP_PDS_ITEM

FIELDNAME:

COMPARE_KIND:    E

COMPARE_METHOD:  POO

STRUCTURENAME:   BBP_PDS_HEADER

FIELDNAME:

COMPARE_KIND:    E

If you have such entries in this table, please delete them.

2, Please run FM BBP_PD_ALL_GET_DIFF for one example PO:

IV_GUID1--change version

IV_GUID2--active version

IV_COMP_METHOD--E

IS_READ_FLAGS   XXXXXXX...--all the fields should be set as 'X'

After this, run the FM and check the result in ET_DIFF_FIELDS.

Please do the above actions to test the issue,and tell me the results.

Best regards,

ivy

Former Member
0 Kudos

Hi Ivy,

Still not working..

I deleted the entries you told and please find the remaining entries for POO.

I can display FM as you said, but what to check there? below is the screenshot.

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

If there are so many different fields after executing this FM, system should send output to vendor for this change version.

Issue seems to be more compliated.

I suggest you set breakpoint at

class /SAPSRM/CL_PDO_BO_PO

method /SAPSRM/IF_PDO_DO_OUTPUT~SEND_OUTPUT

and debug the process of ordering the change version.

Meanwhile I suggest you check 'Output' tab in PO header level to see if output is generated but failed to be processed.

Hope this helps anyway.

Best regards,

Ivy

Former Member
0 Kudos

I tried to put break point as you mentioned but its not hitting the break point when order/approve.

its not even hitting the breakpoint for fresh PO which triggers output.

I tried with both buyer ID and approver ID

ivy_li
Active Contributor
0 Kudos

Hi Senthil,

This is really strange, and I can only suggest you raise incident in SAP for such issue.

Our colleagues should logon to your system for further checks.

Best regards,

Ivy

Answers (0)