‎2008 Mar 05 7:49 AM
Hi,
When we create a sale order manually using VA01 tcode, we will be getting messages like 'material entered is critical part' or when the customer is on credit hold we will be getting 'Credit check maximum document value exceed'.
My problem is i am not getting these messages in my return table when i create a sale order using 'SD_SALESDOCUMENT_CREATE'. Whether there is any value we need to pass in the import to get all the messages type S, I, W in our return table.
Please let me know the solution.
It's very urgent.
Thanks,
Srinath S.
‎2008 Mar 05 7:55 AM
after bapi call, try using append <ur_return_table>.
and see if u get the messages.
plz reward points if dis helps
‎2008 Mar 05 8:07 AM
after my bapi call.
i gave append <my_ret_table>.
eg:
CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
EXPORTING
sales_header_in = header
IMPORTING
salesdocument_ex = sales_doc
sales_header_out = header_out
sales_header_status = header_status
TABLES
return = bapireturn
sales_items_in = sditm
sales_items_inx = sditmx
sales_partners = parnr
sales_schedules_in = sch
items_ex = item
schedule_ex = schedule
business_ex = business.
APPEND bapireturn..
but the last message is appended again.