on 09-06-2011 1:14 PM
Hi,
I modified a custom function module of a standard task method to export a concatenation of po items by adding an export parameter and the logic. The function works ok as tested. When I try to do the method binding I don't see the element in the method container, yet I do see the other elements which are the other function parameters. Even though I select the yes button when prompted to transfer missing elements from the object method, the missing element never shows up in the method container. I also tried the enter missing export parameter and generate automatic binding options but nothing works. Everything is activated. Please advise.
Thanks,
John
Hi
Go to PFTC enter the task name and click change button. In the task container create another container of the same type with the same name as the one you have added in your function module and make it importing as well exporting. check the check box 'synchronous method' and click the binding button. Now generate or manually add the parameters.
one more thing you said you have added a parameter in your function module of the method. I hope you added the same exporting parameter in your method as well.
Hope this will solve your problem.
Regards
Anik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In any container if you want to create a container element folow the below steps
1. Execute PFTC transaction and choose the task type and mention the task ID.
2. open in change mode and click on the container
3. In the container in the first line you will see a create a Icon click it and name the container with its type now on the same screen you will find a properties tab click it and enable the check boxes.Import and export based on your requirement.
4. Now define the binding from task container to BOR method container In your case you need to define between the new container element.
Regards
Pavan
Hi John,
Go to SWO1, enter your ZBOR cliick on change and then click on your method and then on Parameter icon at the top of the screen. You can add your Additional Import/Export parameters here and then sue the below statements in your method.
1. SWC_GET_TABLE CONTAINER 'PARAMETER NAME' LOCAL_VARIABLE -> to get the value of parameter into the BOR Method.
2. SWC_SET_TABLE CONTAINER 'PARAMETER NAME' LOCAL_VARIABLE -> to set the value to the export parameter of the BOR method.
Regards,
Devananda A J
Hi,
Try activating your BO again, that may help you...
Check whether the BO method using this function module is showing your new parameter...
Regards
Gautam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.