on 11-15-2011 9:52 AM
Hi Experts,
We have payment form has a tab view in both complaints & orders. In order, we have cop2complaints button.
when we press copy2complaints button then it has to copy "order payment view" data to the "complaints payment view". Currently it has copy the line items only.
How do we copy header data from the order to complaints.
Order Component : ICCMP_BT_SLO
Complaint Component : ICCMP_BT_COM
in both payment form is added using component usage whereas it's separate component view.
Thank you,
Cha
Hi,
I guess component for payment is 'ICCMP_PAYMENT'. Put a cursor in one of the payment fields and press F2...
You can use one of following methods:
1. Try to call custom controller ICCMP_PAYMENT/CuCoPayment in your complaint view and read context node, if it contains data.
2. If this doesnt work out then you will have to create a component usage, make some change in WD_USAGE_INITIALIZE and link data between two components.
below forum might help.
Regards,
BJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added Payment view into header complaints header details screen.
Now issue : In complaints Header details view we have reference order field, if i enter the sales order number as a reference number in that field , then it's fetch all the sales order header views data to the complaints header views i.e partner view, Business Context view, etc except custom added Payment view.
Hope i made the statment clear. Please suggest how to make relation ship .
Componet : iccmp_BT_COM/reference
This is happening because there is some binding between context nodes for sales order header and complaint header. But as of now no binding has been created for Payment form....
If you are finding creating binding difficult then, in Complaint view you can use FM to read payment data from sales order as you already know order number. This data can then be set as default for payment field/s on complaint view.
regards,
BJ
User | Count |
---|---|
6 | |
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.