cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse PGI but relevant sales order is already deleted.

Former Member
0 Kudos

Hello,

We have created a consignment fill up order and completed up to posting goods issue.

Now we need to reverse the PGI for this delivery, unfortunately the relevant sales order was already deleted.

Can you kindly advise how to reverse the goods issue?

Thank you.

1001ailas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

You can create consignment pick order for the said material and transfer the customer consignment stock back to unrestricted stock.

Br,

Tushar

Former Member
0 Kudos

Let me know what is the error your getting when doing the reversal with using the T code-vl09

Former Member
0 Kudos

the error is "Sales Order XXXXX does not exist" Message VL303

Former Member
0 Kudos

hi,

this piece of code states that,

it is checking the VBELN for some other program and compares and passes the value into VBAK-VBELN

which has been deleted earlier.

FORM vbak_select USING value(vs_mandt) LIKE sy-mandt

value(vs_vbeln) LIKE vbak-vbeln.

SELECT SINGLE *

INTO vbak

FROM vbak

WHERE vbeln = vs_vbeln.

IF sy-subrc > 0 .

PERFORM auftrag_entsperren USING vs_vbeln.

IF t180-trtyp EQ chara.

MESSAGE i303(vl) WITH vs_vbeln.

ELSE.

PERFORM message_handling(sapmv50a) USING posnr_low

'303'

'E'

'VL'

vs_vbeln

space

space

space.

ENDIF.

ELSE.

cvbak = vbak.

rv50a-vtweg = vbak-vtweg.

rv50a-spart = vbak-spart.

ENDIF.

ENDFORM. "vbak_select

there is only one way here i think so,

please go to archiving team and get be activated or wait till the date of archiving run and make it active.

balajia