cancel
Showing results for 
Search instead for 
Did you mean: 

Order confirmation output

Former Member
0 Kudos

Hello Gurus,

Is there a way to block the output type BA00 for an incomplete order. I want the output to be issued only when the order is complete.

Regards,

Pavan P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use Incompletion Log maintained at Sales Order Header for your sales order document Type.

You can use status group againt the table-field names that you maintain in your incompletion procedure along with warning messages, so that user enters all fields which are required to complete the order while saving.

Let me know if it works and if helpful please dont forget to reward points for contribution.

Regards

Ravi

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

SPRO> Go to Basic Functions >Output>Output detemn for Sales > Maintain Output detnm procedures

Select your output procedure , fo to control tab

CHoose your Output type BA00 enter 2 as requirement in the requirement colunm

2 means

FORM KOBED_002.

  • If the sales document is complete, then the output should be created.*

SY-SUBRC = 0.

IF KOMKBV1-UVALL NE 'C'.

SY-SUBRC = 4.

EXIT.

ENDIF.

IF KOMKBV1-COSTA NE SPACE AND

KOMKBV1-COSTA NE 'C'.

SY-SUBRC = 4.

EXIT.

ENDIF.

IF NOT KOMKBV1-LIFSK IS INITIAL.

IF KOMKBV1-LIFSK NE TVLS-LIFSP.

SELECT SINGLE * FROM TVLS WHERE LIFSP = KOMKBV1-LIFSK.

ENDIF.

IF SY-SUBRC = 0 AND

TVLS-SPEDR NE SPACE.

SY-SUBRC = 4.

EXIT.

ENDIF.

ENDIF.

Regards

KRSNA

former_member204513
Active Contributor
0 Kudos

Dear Pavan,

You can cotrol the output type BA00 for an uncomplete order through assigning the Routine in the requirement column of the output determination procedure for the Condition type BA00.

you develop the routine as per your requirement with the ABAPer help then assign that to the BA00 condition type you requirement will get full filled.

Reward the point if you feel help full, also reward for the past threads like shipment cost , shipment document cinfiguration which were responded by me.

Thanks,

Murali.

Former Member
0 Kudos

Hello Murali,

THanks lot for the answer.....

It may get delayed to assign the points, but I will always give points.

Regards,

Pavan P.

Former Member
0 Kudos

Hi Pavan,

Go to T.Code NACE, select the Application V1 (Sales), and select the procedures.

Under the output procedure, check the condition type BA00 and maintain the requirement routine as 2 (Order confirmation) and save it...

Hope this is helpful.......

Reward if found helpful....

Bugs