2012 Nov 02 3:44 PM
Hi Experts,
I have the problem in the customer change document.
In program we are passing the customer to
customer to function module
CHANGEDOCUMENT_READ_HEADERS
and it is giving the change document table
i_cdhdr
Problem i am facing is if customer is exists in 2 Sales organisatio such as SO1 and SO2.
If user make the changes for customer in the Sales organisation SO1 and
in the selection parameter if user enter sales organisation S02,
it is displaying irrespective of sales organsation.
I want to validate the customer changes for particular customer.
Example if user make changes in S01 and in selection parameter if he enter sales organisation S02,
change record shouldnot displayed.
If user changes in S01 and in the selection parameter if he enter SO1, than only it should display.
any one have any idea other than function module CHANGEDOCUMENT_READ_HEADERS for resolving issue.
Regards,
Udupi
Hi Experts,
I have the problem in the customer change document.
In program we are passing the customer to
customer to function module
CHANGEDOCUMENT_READ_HEADERS
and it is giving the change document table
i_cdhdr
Problem i am facing is if customer is exists in 2 Sales organisatio such as SO1 and SO2.
If user make the changes for customer in the Sales organisation SO1 and
in the selection parameter if user enter sales organisation S02,
it is displaying irrespective of sales organsation.
I want to validate the customer changes for particular customer.
Example if user make changes in S01 and in selection parameter if he enter sales organisation S02,
change record shouldnot displayed.
If user changes in S01 and in the selection parameter if he enter SO1, than only it should display.
any one have any idea other than function module CHANGEDOCUMENT_READ_HEADERS for resolving issue.
Regards,
Udupi
2012 Nov 02 4:09 PM
hello,
you could always filter the data after the function module returns the data.
best regards,
swanand
2012 Nov 02 4:45 PM
I can filter the data after function module returing data. But in the return table i_cdhdr we dont have sales organisation.
In input parameter also we can give only the customer number. I want to validate the change document header for only those sales organisation which i am given in the input parameter.
2012 Nov 02 4:56 PM
2012 Nov 02 8:04 PM
Why would your customer master data have different data because of the sales org? A customer is a customer, so far as his master data is concerned? That fact that the customer has been extended to different sales orgs seems to be irrelevant to me.
2012 Nov 04 3:13 PM
Thanks for all reply.
Probelm solvd.
I will get sales area details in CDPOS table
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |