cancel
Showing results for 
Search instead for 
Did you mean: 

FM in CRM to get sales orders based on a date range(created_at)...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

Is there a function module to get the sales orders from CRM based on a given date range which

is for the field created_at? Also, is the field OBJECTID in table CRMD_ORDERADM_H can

be compared against VBAK-VBELN? Thank you guys and take care!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Viraylab ,

I too have the same requirement could Pls send me the code or function module.

It will be great help for me.

Thank you.

Vikram.c

Former Member
0 Kudos

Hi,

You can create your own function module for this. You can fetch sales order from table crmd_orderadm_h, put input data as date, and two conditions for sales order should be object type = 'BUS2000115' and PROCESS TYPE = 'TA' if you are looking for standard order.

You have to fetch object id from this table to get your order number.

Thanks,

Shweta

Message was edited by:

Shweta Verma