Assign methods & smartforms to a action
Hi All,
I have created one new action in CRMC_ACTION_DEF t.code. After creating the action, under "Processing type" i have assigned methods & smartforms to that acion. I have set the "Default" indicator for methods.
When i am calling this action in my transaction CRMD_ORDER, neither "Method" nor "Smartform" is working.
Can i assign both "methods" & "smartforms" to one action or NOT?
Request your guidance on this.
Regards
Senthil
Edited by: Senthil Kumar on Jul 13, 2009 10:43 AM
Hi,
Open your message in edit mode. go to Transaction data --> Actions there you will get a list of actions executed and failed. If your action definition is available there then look for the error message.
If your action is not listed there it means your action definition doesnt meet the condition, Then click on Determination logs button. There you will get the reason why it is not determined.
Post that message here for further anaysis.
regards
Naveen
Similar Messages
-
WCCP assignment method mismatch
Hi all,
I am using a Cisco 3825 running 12.4(25G) code. I just upgraded my WAE (oe674) to 5.1.1c.
The WAE and router wouldnt peer due to assignment method mismatch when i do a show wccp router.
Router Information for Service Id: 61
Routers Seeing this Wide Area Engine(0)
-NONE-
Routers not Seeing this Wide Area Engine
10.204.28.1 - Assignment Method Mismatch
Routers Notified of from other WAE's
-NONE-
Router Information for Service Id: 62
Routers Seeing this Wide Area Engine(0)
-NONE-
Routers not Seeing this Wide Area Engine
10.204.28.1 - Assignment Method Mismatch
Routers Notified of from other WAE's
-NONE-
The WAE is configured as follows:
wccp router-list 1 10.204.28.1
wccp tcp-promiscuous service-pair 61 62
router-list-num 1
assignment-method mask
password ****
redirect-method gre
egress-method wccp-gre
enable
exit
wccp flow-redirect enable
When i changed the assignment method to hash, everything worked. I believe Cisco 3825 should support Mask.
Any advice?Hi Leonardo,
Did you try disabling wccp on router as well as WAE and re-enable it on router and then WAE and see if that makes a difference? If you have already done that and since as per documentation MASK assignment is supported in version you are running on router and it was working prior to upgrade, i would suggest capturing WCCP communication i.e HIA and ISU and opening a TAC case for further investigation. Did you follow the procedure as suggested in release notes during upgrade?
WCCP Interoperability
Central Managers running Version 5.1.1x can manage WAEs running software Versions 4.2.1 and later. However, we recommend that all WAEs in a given WCCP service group be running the same version.
Note All WAEs in a WCCP service group must have the same mask.
To upgrade the WAEs in your WCCP service group, follow these steps:
Step 1 You must disable WCCP redirection on the Cisco IOS router first. To remove the global WCCP configuration, use the following no ip wccp global configuration commands:
Router(config)# no ip wccp 61
Router(config)# no ip wccp 62
Step 2 Perform the WAAS software upgrade on all WAEs using the WAAS Central Manager GUI.
Step 3 Verify that all WAEs have been upgraded in the Devices pane of the WAAS Central Manager GUI. Choose Devices to view the software version of each WAE.
Step 4 If mask assignment is used for WCCP, ensure that all WAEs in the service group are using the same WCCP mask value.
Step 5 Reenable WCCP redirection on the Cisco IOS routers. To enable WCCP redirection, use the ip wccp global configuration commands:
Router(config)# ip wccp 61
Router(config)# ip wccp 62
Release notes for your reference.
http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v511/release/notes/ws511xrn.html#wp151010
Regards,
Kanwal -
Assign PO Smartform in NACE error-Processing routine does not exist
I have created a Z-Smartform and Z-driverProgram and assigned both in NACE:
Medium- Program- Form- PDF/Smartform- Type
Print output- ZSFPOREPORT- -ZSFPOREPORT- SmartForm
but a error message : Processing routine in program ZSFPOREPORT does not exist ..
Do we need to code in driver prog under a Subroutine and call the same (or) Do we need to create a Form with Special Interface parameters similar to Entry_NEU ..
I am not sure as ENTRY_NEU is for a Script but we need to assign a SMARTFORM here...
So Gurus suggest.....Hi
DATA: fm_name TYPE rs38l_fnam.
*-- Call the Smartform for Label Printing.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZLS_XXXXX'
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION fm_name
EXPORTING
v_XXXX = v_YYYYY
v_matnr = mara-matnr
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
But this pattern is not same for all driver program. So you can do the following:
Step 1: Click on the area where you want to write function module.
Step 2: Click on "Pattern" at the top of the SAP window. Enter the function name as SSF_FUNCTION_MODULE_NAME and
press ok.
Step 3: Now fill up the reqd fields. Give the name of the smartform in
EXPORTING
formname = 'ZLS_XXXXX'
Step 4: Now go to the SMARTFORMS program Environment->Function Module Name and copy the Module Name.
Again click on "Pattern" and paste the module name. Again you will get a pattern(i.e. the second function)
Step 5: Replace the Function module name with "fm_name" as shown in the code above.
Then your code is ready.
Thanks & Regards
Rocky kr. Agarwal. -
IT0009: payment method "cheque" and dynamic actions
Hello,
I need your help on this issue.
I have looking for answers on the different posts but i didn't found any similar problems.
For a customer, i have to settle, in case of departure (leaving) action , the creation in background of an infotype 0009 from infotype 0000 with payment method 'C' - Cheque and the BEGDA equal to the first day of the month. It is a payroll need.
The dynamics action is easy to do but i have an error which makes appears the infotype. Actually, the information City is mandatory in SAP standard (?) in case of payment 'C' - Cheque.
I did the test and when i create infotype 0009, the name of the person, from infotype 0002 i guess, is put in the field but not the adress, city and postal code. If i select payment cheque, an errror alerts me that the city is mandatory for this payment method. If i put something, no problem, but i would like to automate it and retrieve data from IT0006. That is strange is when i delete the payee information (last and first name field) and validate the screen, no more error, even if i select payment cheque. And if i save and go back on the record, data from IT0006 (city, postal code and payee) have been automatically put in the infotype.
I would like to reproduce the same thing by the dynamic action but i can't access these fields because they are not part of the P0009 table but the Q0009 structure and i don't access it through dynamic action
Do you have some experiences to share on this topic ?
Thanks in advance.hi
To replace a check or to create a check instead of a bank transfer, the system must be able to access the
correct payment method. The standard system contains predefined payment methods. However, you can
also specify your own values.
The standard system contains the following methods of payment:
- C (Check)
- D (Transfer)
- M (Check with manual assignment of check number)
Reward points -
Send Smartform Email via Action Profile
Hello,
We have an Action Profile with a few actisn athat a workign perfectly. I have added a new action to send smartform via email when the the transaction is saved.
The Action profile is set upfor object type BUS2000115(Quotation) with the context class of CL_DOC_CONTEXT_CRM_ORDER.
I have set up the Smartform Email action processing as follows:
Permitted processign type fo Action - Smartform Email
Mail Settings:
Form Name YC3_SF_CRM_COMM_QUOTATION_V7
Processing Class CL_CRM_BP_UM_PROCESSING_PPF
Processing Method UM_EXEC_SMART_FORM
Archive Mode Mail only
there is no schedule or start condition as it is not required.
When I Save the Quotation nothing is getting triggered. If in the Quotation I Preview output and select 'Email Quotation; I get the message 'Smartform Error'. Is there a way to debug the message further ? I'm assuming this is the SAP standard method of achieving Smartform email as Pdf attachment, are some steps that I have missed ?
Regards
ChanThe Processing class and Processing Method seem to be incorrect.
Use the below;
Processing Class : CL_DOC_PROCESSING_CRM_ORDER
Processing Method: CRM_ORDER_EXEC_SMART_FORM
You can always refer to standard action profile for Quotations to see what SAP has delivered. -
Assigning multiple users to one action dynamically using Webdynpro
Hi Experts,
In my scenario we need to send a request to list of people dynamically .
How can we pass list of people through context parameter in the block.
I am passing the value through context but only first user in the list getting task in UWL.
It will be very useful if anyone providing any document regarding this.
Thanks,
Rajesh
Edited by: Rajesh on Jun 22, 2009 12:35 PMHi Pratik,
I need some help regarding the Parallel dynamic block
In process structure as follows.
Process:
Sequential Block:
->Action1:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
Action2:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
PDB Block:
->Sequential Block:
-->Action3:
Multiline Input
--->DDPTSStatus(0..n)
--->ReqSequence(0..n)
--->ListofStakeHoldersforApproval(0..n)
Multiline OutPut
--->DDPTSStatus(0..n)
--->ReqSequence(0..n)
--->ListofStakeHoldersforApproval(0..n)
Sequential Block:
->Action4:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
I have done parameter grouping for PDB Multiline input (nodes) with Output of Action2 nodes at process level.
While i am trying to initiate action for Multiple users it is getting tasks in all users who are initiated but if one person performs the task action remaining users wont get the task and it will show No activity Present.
I think when i am Passing the values from Action2 output to PDB Action Input the problem is.
I am pasting the code which i wrote complete method of Action2 CO setting values for Multiline Input please correct me if i am wrong
IGPStructure output = executionContext.getOutputStructure();
for(int i=0;i<2;i++)
{ IGPStructure struct_ddptsStatus_out =
output.addStructure("DDPTSStatus");
// Set the values of the output parameters
/////////////development comments/////////////////
struct_ddptsStatus_out.setAttributeValue(
"Status",
wdContext
.nodeVn_DDPTSStatus()
.getCurrentElement()
.getAttributeValue(
"va_status")); }
executionContext.setResultState("Success");
executionContext.processingComplete();
Please tell me whether this code is correct. -
GP: Assigning multiple users on one action
There is a need to appoint more than one user to one action. If one user is not answered, the process should not proceed to the next step.
Refer this.
/people/berndt.woerner/blog/2007/09/19/different-ways-to-model-dynamical-assignment-of-user-to-process-roles-using-composition-tool-guided-procedures--part-1
If you implement by parallel dynamic block way one action is assigned to multple users with different instances.
As it is in parallel dynamic block untill all the users did not complete the their own action, process will not move fwd. hemce this will solve your problem.
Regards,
Pratik khandelwal
Edited by: Pratik Khandelwal on May 19, 2009 9:22 AM -
Assign methods to Business object
hi gurus..........
Can we assign a Method(BAPI) to no. of Business objects?Hi,
So i just want to know that is this possible that we specify a BO for the
workflow but do not specify the event.
Yes, To make things more clear BOR primarily is used to link and rasie the events that are defined in the BOR, but there might be cases where you might not have any events but still you need to start the workflow. The other purpose of the BOR is you create various methods in the BOR and you try to import and export differnet values and various manipulations are done with respect to the dat of the Business object instance.
that there will not be need of assigning any starting event for the workflow
Yes without any kind of start events you can start the workflow by making use of standard SAP provided function modules SAP_WAPI_START_WORKFLOW all you need to do is pass the workflow template number let say WS99999999 and the values that you want to pass to the workflow container by making use of the tables parameter of the function module simple_container. Its a kind of name/value table.
I tried doing it in BASIC DATA of workflow but it was not possible from there
In this kind of sitituation basic data does not have any kind of significance. All you have to do is try to find a point like when ever end user clicks on submit button or try to find a BADI' or enahncement spot where you can call the workflow by making use of above mentioned function module.
But make sure you have the right interface all the data available at that point where you are calling the function module this is because you may hvae to pass the respectve data to the workflow container.
Regards
Pavan
Edited by: Pavan Bhamidipati on Dec 14, 2011 11:34 PM -
Declaring callbacks via config file: assigning method from a string
Hello together,
For a game project I am using Apache Commons Digester for creating object trees from an XML config (done by XML to object mapping just like in Castor or Betwixt).
For the configugration of the keyboard, I would like to declare callback methods that the keyboard class shall invoke on a given object, e.g.:
<keyboard>
<event key="F11" method="Engine.getDisplay.toggleFullscreen()" />
</keyboard>
The main problem I see to interprete the thing in the method attrib? What is the best method to create this binding in my source? Are there any utils you know or do I have to parse the string myself in order to realise such a callback? I.e. how to get an instance of java.lang.reflect.Method from such a string?
Thank you for any proposals!
Greetings, TimoI know you can loop through the methods of the given class and look for one with the right signature.
-
Assigning admin role with bulk action
Using IDM 6.0 SP1 on tomcat and oracle db
Using a csv file, I can update users with an admin role only if there are more than one admin roles (pipe delimited)
CSV Header Row:
Command,user,accounts[Lighthouse].adminRoles
CSV Line One:
Update,cramert,Administrator - Second Level Help Desk|Administrator - Security Desk|Administrator - Registration Authority
CSV Line Two:
Update,morrisom,Administrator - Registration Authority
The first update with multiple admin roles works - the second does not...
Thanks,
Mike KSeems we have documentation on this one:
For a list with one value use:
|List|Administrator - First Level Help Desk
For Merging one value to a List:
|List;Merge|Administrator - First Level Help Desk
Thanks,
Mike K -
Assigning Data-Type Select-Option from Report to Method
Hi Specialists,
How can I solve the following task smart? Its a quiet simple task. In my Report Ive some Select-Option-Data-Types and I want to assign this data-type an Abpab-Object-Method. Is it possible to do this in a smart fashion. Ive fight with the Abap-Syntax und at the end Ive found a tricky way of assigning the Select-Option parameter to the Abap-Object-Method.
If somebody have a smart idea for this problem, pleas let me know.
Thankx.
Hallo Spezialisten,
ich hätte da eine Frage wie man folgende Aufgabe elegant lösen kann.
Es ist ganz einfach, ich möchte von einen Report einen Select-Option-Datentyp an eine Abapobject Methode übergeben. Ich hatte sehr lange gekämpft bis ich ein umständlichen weg gefunden habe die parameter vom reprot an die mehtode zu übergen.
Falls jemand da eine gut Idee hätte wäre mir das nächste mach sehr geholfen.
DankeHi
Here is the Program with Selection screen and the Class & Methods.
REPORT demo_abap_objects_methods NO STANDARD PAGE HEADING.
* Global Selection Screens
SELECTION-SCREEN BEGIN OF: SCREEN 100 TITLE tit1, LINE.
PARAMETERS members TYPE i DEFAULT 10.
SELECTION-SCREEN END OF: LINE, SCREEN 100.
SELECTION-SCREEN BEGIN OF: SCREEN 200 TITLE tit2.
PARAMETERS: drive RADIOBUTTON GROUP actn,
stop RADIOBUTTON GROUP actn,
gearup RADIOBUTTON GROUP actn,
geardown RADIOBUTTON GROUP actn.
SELECTION-SCREEN END OF: SCREEN 200.
* Class Definitions
CLASS: c_biker DEFINITION DEFERRED,
c_bicycle DEFINITION DEFERRED.
CLASS c_team DEFINITION.
PUBLIC SECTION.
TYPES: biker_ref TYPE REF TO c_biker,
biker_ref_tab TYPE STANDARD TABLE OF biker_ref
WITH DEFAULT KEY,
BEGIN OF status_line_type,
flag(1) TYPE c,
text1(5) TYPE c,
id TYPE i,
text2(7) TYPE c,
text3(6) TYPE c,
gear TYPE i,
text4(7) TYPE c,
speed TYPE i,
END OF status_line_type.
CLASS-METHODS: class_constructor.
METHODS: constructor,
create_team,
selection,
execution.
PRIVATE SECTION.
CLASS-DATA: team_members TYPE i,
counter TYPE i.
DATA: id TYPE i,
status_line TYPE status_line_type,
status_list TYPE SORTED TABLE OF status_line_type
WITH UNIQUE KEY id,
biker_tab TYPE biker_ref_tab,
biker_selection LIKE biker_tab,
biker LIKE LINE OF biker_tab.
METHODS: write_list.
ENDCLASS.
CLASS c_biker DEFINITION.
PUBLIC SECTION.
METHODS: constructor IMPORTING team_id TYPE i members TYPE i,
select_action,
status_line EXPORTING line TYPE c_team=>status_line_type.
PRIVATE SECTION.
CLASS-DATA counter TYPE i.
DATA: id TYPE i,
bike TYPE REF TO c_bicycle,
gear_status TYPE i VALUE 1,
speed_status TYPE i VALUE 0.
METHODS biker_action IMPORTING action TYPE i.
ENDCLASS.
CLASS c_bicycle DEFINITION.
PUBLIC SECTION.
METHODS: drive EXPORTING velocity TYPE i,
stop EXPORTING velocity TYPE i,
change_gear IMPORTING change TYPE i
RETURNING value(gear) TYPE i
EXCEPTIONS gear_min gear_max.
PRIVATE SECTION.
DATA: speed TYPE i,
gear TYPE i VALUE 1.
CONSTANTS: max_gear TYPE i VALUE 18,
min_gear TYPE i VALUE 1.
ENDCLASS.
* Class Implementations
CLASS c_team IMPLEMENTATION.
METHOD class_constructor.
tit1 = 'Team members ?'.
CALL SELECTION-SCREEN 100 STARTING AT 5 3.
IF sy-subrc NE 0.
LEAVE PROGRAM.
ELSE.
team_members = members.
ENDIF.
ENDMETHOD.
METHOD constructor.
counter = counter + 1.
id = counter.
ENDMETHOD.
METHOD create_team.
DO team_members TIMES.
CREATE OBJECT biker EXPORTING team_id = id members = team_members.
APPEND biker TO biker_tab.
CALL METHOD biker->status_line IMPORTING line = status_line.
APPEND status_line TO status_list.
ENDDO.
ENDMETHOD.
METHOD selection.
CLEAR biker_selection.
DO.
READ LINE sy-index.
IF sy-subrc <> 0. EXIT. ENDIF.
IF sy-lisel+0(1) = 'X'.
READ TABLE biker_tab INTO biker INDEX sy-index.
APPEND biker TO biker_selection.
ENDIF.
ENDDO.
CALL METHOD write_list.
ENDMETHOD.
METHOD execution.
CHECK NOT biker_selection IS INITIAL.
LOOP AT biker_selection INTO biker.
CALL METHOD biker->select_action.
CALL METHOD biker->status_line IMPORTING line = status_line.
MODIFY TABLE status_list FROM status_line.
ENDLOOP.
CALL METHOD write_list.
ENDMETHOD.
METHOD write_list.
SET TITLEBAR 'TIT'.
sy-lsind = 0.
SKIP TO LINE 1.
POSITION 1.
LOOP AT status_list INTO status_line.
WRITE: / status_line-flag AS CHECKBOX,
status_line-text1,
status_line-id,
status_line-text2,
status_line-text3,
status_line-gear,
status_line-text4,
status_line-speed.
ENDLOOP.
ENDMETHOD.
ENDCLASS.
CLASS c_biker IMPLEMENTATION.
METHOD constructor.
counter = counter + 1.
id = counter - members * ( team_id - 1 ).
CREATE OBJECT bike.
ENDMETHOD.
METHOD select_action.
DATA activity TYPE i.
tit2 = 'Select action for BIKE'.
tit2+24(3) = id.
CALL SELECTION-SCREEN 200 STARTING AT 5 15.
CHECK NOT sy-subrc GT 0.
IF gearup = 'X' OR geardown = 'X'.
IF gearup = 'X'.
activity = 1.
ELSEIF geardown = 'X'.
activity = -1.
ENDIF.
ELSEIF drive = 'X'.
activity = 2.
ELSEIF stop = 'X'.
activity = 3.
ENDIF.
CALL METHOD biker_action( activity ).
ENDMETHOD.
METHOD biker_action.
CASE action.
WHEN -1 OR 1.
CALL METHOD bike->change_gear
EXPORTING change = action
RECEIVING gear = gear_status
EXCEPTIONS gear_max = 1
gear_min = 2.
CASE sy-subrc.
WHEN 1.
MESSAGE i315(at) WITH 'BIKE' id
' is already at maximal gear!'.
WHEN 2.
MESSAGE i315(at) WITH 'BIKE' id
' is already at minimal gear!'.
ENDCASE.
WHEN 2.
CALL METHOD bike->drive IMPORTING velocity = speed_status.
WHEN 3.
CALL METHOD bike->stop IMPORTING velocity = speed_status.
ENDCASE.
ENDMETHOD.
METHOD status_line.
line-flag = space.
line-text1 = 'Biker'.
line-id = id.
line-text2 = 'Status:'.
line-text3 = 'Gear = '.
line-gear = gear_status.
line-text4 = 'Speed = '.
line-speed = speed_status.
ENDMETHOD.
ENDCLASS.
CLASS c_bicycle IMPLEMENTATION.
METHOD drive.
speed = speed + gear * 10.
velocity = speed.
ENDMETHOD.
METHOD stop.
speed = 0.
velocity = speed.
ENDMETHOD.
METHOD change_gear.
gear = me->gear.
gear = gear + change.
IF gear GT max_gear.
gear = max_gear.
RAISE gear_max.
ELSEIF gear LT min_gear.
gear = min_gear.
RAISE gear_min.
ENDIF.
me->gear = gear.
ENDMETHOD.
ENDCLASS.
* Global Program Data
TYPES team TYPE REF TO c_team.
DATA: team_blue TYPE team,
team_green TYPE team,
team_red TYPE team.
DATA color(5) TYPE c.
* Program events
START-OF-SELECTION.
CREATE OBJECT: team_blue,
team_green,
team_red.
CALL METHOD: team_blue->create_team,
team_green->create_team,
team_red->create_team.
SET PF-STATUS 'TEAMLIST'.
WRITE ' Select a team! ' COLOR = 2.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'TEAM_BLUE'.
color = 'BLUE '.
FORMAT COLOR = 1 INTENSIFIED ON INVERSE ON.
CALL METHOD team_blue->selection.
WHEN 'TEAM_GREEN'.
color = 'GREEN'.
FORMAT COLOR = 5 INTENSIFIED ON INVERSE ON.
CALL METHOD team_green->selection.
WHEN 'TEAM_RED'.
color = 'RED '.
FORMAT COLOR = 6 INTENSIFIED ON INVERSE ON.
CALL METHOD team_red->selection.
WHEN 'EXECUTION'.
CASE color.
WHEN 'BLUE '.
FORMAT COLOR = 1 INTENSIFIED ON INVERSE ON.
CALL METHOD team_blue->selection.
CALL METHOD team_blue->execution.
WHEN 'GREEN'.
FORMAT COLOR = 5 INTENSIFIED ON INVERSE ON.
CALL METHOD team_green->selection.
CALL METHOD team_green->execution.
WHEN 'RED '.
FORMAT COLOR = 6 INTENSIFIED ON INVERSE ON.
CALL METHOD team_red->selection.
CALL METHOD team_red->execution.
ENDCASE.
ENDCASE.
Reward points if it is usefull ....
Girish -
confused;
OK I admit this should be easy, but I can't seem to do it. I
want to assign simple stop and start actions to frames in a main
movie. I would like the movie to wait for a click to start (managed
this much) and to stop at select frames when clicked and then
restart on a click. The problem seems to be I can't assign more
than one action to a frame.
Any ideas?
ThanksThat really works!
One more quick question: I was hoping there was a simple
basic action script method for doing this (invisible buttons?) so
that I could pick other frames further along to click a stop and
then restart action. (My movie is a book that turns pages. I hope
to be able to click on pages to stop them and then click to move
on.)
Any ideas?
Thanks -
Assigning SMARTFORMS to output types in SPRO
Hi,
I have created a test smartform and smartstyle, generated a function module, and temporarily put some code in a custom "test" program to ensure it is working, and it does (note calling the compiled version of the smartform function module name, by getting it's name from SSF_FUNCTION_MODULE_NAME) and all executes correctly.
Could anyone tell me however how I assign the smartform to execute from standard SAP via output type configuration in SPRO in SD as an example. Do we still need to specify a print program name and form routine to execute in configuration, just like SAPscript works ? I notice there is a field available for a smartform name, but then how would "whatever standard SAP is calling the smartform" know what parameters to pass into my generated function module for the smartform ? Also, does this have anything to do with the field "layout module" which is directly above the smartform field ?
Here's what I have tried: I entered the custom Z test program I created, entered the form routine name of this program which simply calls directly the function module for the smartform. (Now the smartform field in configuration is redundant) The standard SAP SAPscript print option window appears when I execute my SD transaction, and then the output option window appears which comes standard with the smartform function module call. As the smartform field in configuration is redundant going this method, I think I am going completely on the wrong route. Can someone help ?
Thanks,
Graham.Hi Satish,
Yes we already have this, and it works with the following issue:-
1) The default output controller window for print options which normally appears for SAPscript pops up.
2) The default output controller window for print options which normally appears for SMARTFORM output (looks slightly different to window in 1) appears also.
IMPORTANT: If I take out the name of the SMARTFORM in the "Smartform text box" it makes no difference and still works as above. This is because my driver/print program and subroutine is calling the function module to call the smartform, so it already knows which smartform to execute.
It is like the standard SD configuration is thinking my print program is for a SAPscript which is why I get both 1 and 2 above. Note: the SMARTFORM does output.
Thanks,
Graham. -
Error while assigning Smartform in Sale Order
Dear All,
For taking the sale order printout, I do not want to create a SAP SCRIPT Form. So in NACE transaction, I have created one output type 'ZA01' and assigned a new Smartform to that output type.
Now, after adding this output type in Sale Order, when I am going to print the sale order using ZA01 output type system is giving error that WRITE_FORM is invalid, START_FORM is missing.
Please tell whether can we assign the Smartform to sale order or not. And if yes then how to correct the error.
Kind Regards,
VishalDear Raghu,
I have checked it. And the entry is present in that table. But this error is coming only when I am giving Smartform. But system is not giving any error when I am giving script form.
So the problem is only for SmartForm.
Regards,
Vishal -
Using ADF View object create method in Data Action
I need to know how to create a new row in an application module method and get the attributes from the ADF input form.
If i Drag drop the create method in the data action form it is working fine. But how to do this programmatically, I have a need where i need to execute a query on another view object and set the create method.
Thanks.Steven:
(My application does not need to show all records and provide Edit/ Remove buttons at row level, navgational buttons and Create button for inserting new record. Instead, I would just open a blank record for entry, and commit)
As per your post, I followed the following steps (action class) to insert blank record:
DCBindingContainer bindings = actionContext.getBindingContainer();
DCControlBinding binding = bindings.findCtrlBinding("Id");
Row row = binding.getRowIterator().createRow();
row.setNewRowState(row.STATUS_INITIALIZED);
RowSetIterator rs =(RowSetIterator)
binding.getRowIterator();
rs.insertRow(row);
End Results: It works fine and a new blank record is created. The only problem is <html:errors/> in JSP throws error for the first time. I do not want to elliminate error object from JSP.
Please help!
Thanks in advance
Maybe you are looking for
-
Auto reclass of Freight from GR/IR document
Hi Guru, For GR/IR account, we know, we can have a reclassification process at month end and reverse out at the first day of next month. How can we achieve for some other accounts, eg. Freight clearing account, when GR, it have credit entry, when IR
-
COLLECTING OBJECTS INTO A REQUEST
HI ALL, I HAVE 2 QUERIES BASED ON THE REMOTE CUBE EXTRACTING DATA FROM THE FM THROUGH A GENERIC EXTRACTION. I HAVE COLLECTED ALL THE OBJECTS INTO A REQUEST WHICH HAS GOT AN ERROR. I DECIDED TO CREATE A NEW REQUEST INSTEAD. IF IS IT POSSIBLE THAT I C
-
Problem with Groupwise 7 and Adobe Reader/Microsoft Office products
We recently went to Groupwise to handle corporate external email (we've been using it for years for internal email). We've run into a little trouble. The first trouble is that we had to manually push out registry settings using ZENworks (changes we t
-
Ne email has been sent to rest my security question
need it very badly
-
JournalEntry Creation and Updating
Good Day Experts: I am working with the JournalEntry object and ran into a bit of trouble this morning. Yesterday, all was well with the object when I was creating 1 set(2 lines 1 debit and 1 credit) per J/E. Today I am trying to use the object to