cancel
Showing results for 
Search instead for 
Did you mean: 

Incluir bloqueio de faturamento na ordem

Former Member
0 Kudos

Bom dia

Preciso incluir um bloqueio de faturamento na ordem de venda automaticamente, porem ao utilizar a BAPI_SALESORDER_CHANGE, a mesma retorna mensagem de que a ordem foi gravada com sucesso, porem o campo não esta sendo atualizado. Alguém já passou por esta situação?

Parametros utilizados na BAPI:

ORDER_HEADER_IN - campo BI = 30 (código do bloqueio a ser inserido na ordem de venda)

ORDER_HEADER_INX - campo UPDATEFLAG = U

                                     - campo BILL_BLOCK   = X

Grato

Nilton

Accepted Solutions (0)

Answers (1)

Answers (1)

hualin_zhang
Participant
0 Kudos

Hi Nilton,

I can't read Portuguese, but I translated your question with google.

I think the parameter you are using is perfectly correct.

I tested with the same parameter in my system and it worked fine. The billing block in header is updated successfully.

Test sequence:

BAPI_SALESORDER_CHANGE

BAPI_TRANSACTION_COMMIT

Parameter:

SALESDOCUMENT     XXXXXXX

ORDER_HEADER_IN-BILL_BLOCK              XX

ORDER_HEADER_INX-UPDATEFLAG                     U

ORDER_HEADER_INX-BILL_BLOCK                     X

Best regards,

Hualin