cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete inquiry items which have subsequent document?

christina_weng
Explorer
0 Kudos

Dear experts,

When trying to delete inquiry items which have subsequent document in t-code VA12, we encounter system block " item cannot be deleted because of subsequent document". User said they used to be able to delete items which also have subsequent documents before and why now they are not able to. Could you share your ideas?

Accepted Solutions (0)

Answers (3)

Answers (3)

Jelena
Active Contributor
0 Kudos

It was never allowed in standard SAP to delete the preceding documents/items if a subsequent document exists. We don't use inquiries so can't confirm 100%, but I seriously doubt it'd work any differently for any sales document.

You might have had a modification that broke the standard behavior. This would be rather reckless and could cause the whole bunch of problems. Or there could've been a bug in SAP that was patched. But neither scenario is very likely so I'd suspect the users are mistaken. We get these alarms after every upgrade that something stopped working, but then we go into an old copy and confirm it worked the same way before. Not unusual.

In any case, even if it ever worked that way in your system it was not standard, so you won't find any information on this on SCN.

If your question has been answered then kindly close the discussion, see this blog: http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why

Shubham1
Employee
Employee
0 Kudos

Hello

As per my experience , you can only delete a complete sales document if there are no subsequent documents.

A small extract is for your quick reference.

I think this is precisely what is SAP standard.

Shubham

christina_weng
Explorer
0 Kudos

Hi Shubham,

Thank you for the help! It was found that program previously allow item deletion when there is subsequent document created. But recently, process changed the program so end user failed to delete items when there is subsequent document.

BRS/Christina

jignesh_mehta3
Active Contributor
0 Kudos

Hello Christina,

Is that a SAP Standard program that is allowing item deletion even if there is subsequent document created? I doubt.

Most probably it would be a Z-program and you will have to check with your development team on what changes were recently done to the program that deactivated the Custom functionality.

Thanks,

Jignesh Mehta

Former Member
0 Kudos

hello christina weng,

if there was any subsequent documents linked with inquiry you cannot delete the inquiry items first you have to cancel all subsequent documents which was linked to your inquiry document until system is not able to allow you to delete that once will cancel all subsequent documents then system is able to allow you to delete that.

regards,

rayudu

christina_weng
Explorer
0 Kudos

Hi Rayudu,

Thank you for checking! It was found that previously program allowed the item deletion even though there is subsequent document created. Afterwards, there is a recent program change which does not allow item deletion when there is subsequent document.

BRS/Christina

Former Member
0 Kudos

Hi christiana,

i think so there was no standard program for deletion of line item when the preceding documents has subsequent it is a customized program could you please check with technical consultant on this in standard SAP its not possible

regrads,

rayudu