on 2012 Apr 16 1:11 PM
Hello All,
Can you help me?
I need to print ERP Billing and Delivery documents from WUI CRM order.
How i can do it?
Many Thanks!
Hi,
normaly you would do it this way:
* ------- Activate the Action --------------
IF NOT lr_action IS BOUND.
lr_action = lr_header->get_related_entity( iv_relation_name = 'BTHeaderAction' ).
CHECK lr_action IS BOUND.
CALL METHOD lr_action->execute
EXPORTING
iv_method_name = cl_crm_aciil=>me_determine
it_param = lt_method_param
RECEIVING
rv_result = lr_result.
lr_col = lr_action->get_related_entities( iv_relation_name = cl_crm_aciil=>aci_inactive_action_rel ).
*get interator for the right one.
*get the action
lr_action->get_property_as_value(
EXPORTING
iv_attr_name = 'GUID' "#EC NOTEXT
IMPORTING
ev_result = l_guid ).
*get url for action
cl_crm_pdf_print=>get_url_by_action_id(
EXPORTING
iv_guid = l_guid
IMPORTING
ev_url = l_url ).
* show url in popup window.
In your case I would have a look at the standard component that is able to view ERP Orders
😉
If you find it out - let us know!
br
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.