on 04-29-2016 1:49 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.