PDF Name in the Action Profile

Hello,
CL_CRM_DOCUMENTS->get_info i have try to use but not working.
We have action profile to fire the smartform, later on it will convert as pdf & stores in the sap.
do you guys know any function modules to get the pdf file name of the crmd_order.
Thank you.

Zack,
Did it create a transport request when you initially created the condition?
If it did and if the transport was loaded onto QA and you cannot see the new condition in QA then there seems to be a problem in the system. Try creating a new dummy condition and see if that gets transported. If not then, you have open a message to sap.
Ani

Similar Messages

  • Follow up task without using the action profile

    Hi,
    Is it possible to create the follow up task without using the action profile? If so, please let me know how we can do that?
    as per the requirements, i have to the custom coding that will automatically create follow-on task triggered by status change on the all the transaction type. Please guide me how can we do that.
    Task details (task id, description), I'm reading it from the custom table.
    Thanks for your help.
    Regards,
    Vaibhav

    Thanks Naresh for the response.
    Not sure if I can use the CRMV_EVENT. Even I'm not aware how to use that. Let me tell what i am doing in the logic.
    - implementing the logic in the badi order_save (method - CHECK_BEFORE_SAVE)
    - get the header and item details using the FM CRM_ORDER_READ.
    - get the status of header / item from the output of CRM_ORDER_READ.
    - compare the status with the custom table (having info of hearder type, item type, status, tast id, task description etc)
    - if status is different, create the task using the details from the custom table.
    now i want to write the logic to implement the last step. Do we have any standard FM where I can pass the task ID and it will create the task? Please help.

  • Should I change the action profile?

    Hi Experts!
    The message type slf1 has the action profile:
    SMSD_ABA_MLDG_SERVICEVORGANG
    Our Support Desk has some bugs, but it works.
    My question is: May I change the action profile to:
    SLFN0001_STANDARD_DNO?????
    What consequences might occur?
    Thanks for reply!

    Hi Rauno,
    You should definitly copy the current pricing procedure and make your changes to the copy.
    The only disadvantage is that you can't mix old and new flows into e.g. the same billing document ( = pricing procedure is split criterium ).
    But the BIG advantage is that all your old flows will not get inconsistent 100% guaranteed ( when you 'look' at them, or do e.g. VA02 on an old flow etc..)
    rgds
    Dirk

  • How to find the action profile when I know a BADI?

    Hi,
      I have a BADI ZS_ORDER_SAVE, but I don't know which action profile uses this BADI? How can I find it?
       Thanks a lot!

    Hi Long,
    take a look at the definition name of your badi implementation. If ORDER_SAVE, then the BADI is called during the save process of an one order object. If EXEC_METHODCALL_PPF, then it is used by an action; check table PPFTFLTVAT to determine the action.
    Regards
    Wolfgang

  • Getting the name of the Action that runs this script

    If I create a action in photoshop to run a script called "test script", How can I determine within the "test script" what action name started running this script?  I'm trying to write a script to scale my images.  The scaling will be determined by what Action ran this script.
    Example
    Action Names are 5x7, 4x6, 8x10
    Eash action above will run the same script called "scale me"
    Within "scale me", the java code will determine that 4x6 started running "scale me"
    "scale me" will go to the section within the java code to scale the image loaded in Photoshop to a 4x6 size.
    The reason for writing the "scale me" code this way is that I can maintain only one script to scale my images.
    Any suggestions or help would be appreciated.
    Raymond

    Thanks for all your comments.  Micheal, I took your code for the "ActionReference()" object and it works great!  I completed my code and it is working okay (some more testing needed).
    *  My Scaling Impage Script  */
    var docRef = app.activeDocument;  //Pointer to current opened document
    finish:
    if (documents.length == 0)      // Check to see if image opened if not, error message
                alert('There are no opened images\r\r' +"Exiting Script");
                break finish;
    var savedState = docRef.activeHistoryState      // Save the history state
    var originalUnit = preferences.rulerUnits   // Save the existing ruler perferences - units
    var ref = new ActionReference();  //Pointer to current selected Action
    ref.putEnumerated( charIDToTypeID("Actn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );  // Point to selected Action
    var desc = executeActionGet(ref);
    var actionName = desc.getString( charIDToTypeID("Nm  ") );  // Get Name of seclected Action
    var actionSetName = desc.getString( charIDToTypeID("PrNm") ); // Get Group the selected Action belongs to
    var actionnumber = 100;    //actionname =  100  (No Action Defined as default)
    var portraitorienation = 0;  // Orientation default to portrait
    var resolutions = 300;  // resolution default to 300
    var sizeh = 999999;  // default size
    var sizew = 999999;  // default size
    var resolution = 300;
    var scaleup1 = 0;  //enlargement
    var scaleup2 = 0;  //enlargement
    var scaleflag = 0;
    var scaleflagg = 0
    //  Assumption is the long side is always defined in sizeh
    if (actionName=="4 x 5") { actionnumber =0;  sizeh = 1535; sizew = 1228;}
    if (actionName=="4 x 6") { actionnumber =1;  sizeh = 1842; sizew = 1228;}
    if (actionName=="5 x 7") { actionnumber =2;  sizeh = 2149; sizew = 1535;}
    if (actionName=="6 x 9") { actionnumber =3;  sizeh = 2127; sizew = 1842;}
    if (actionName=="8 x 10") { actionnumber =4;  sizeh = 3020; sizew = 2416;}
    if (actionName=="8 x 12") { actionnumber =5;  sizeh = 3624; sizew = 2416;}
    if (actionName=="11 x 14") { actionnumber =6;  sizeh = 4228; sizew = 3322;}
    if (actionName=="12 x 18") { actionnumber =7;  sizeh = 5436; sizew = 3624;}
    if (actionName=="12 x 24") { actionnumber =8;  sizeh = 7248; sizew = 3624;}
    if (actionName=="12 x 36") { actionnumber =9;  sizeh = 10872; sizew = 3624;}
    preferences.rulerUnits = Units.PIXELS
    var doch = parseInt (docRef.height);
    var docw = parseInt (docRef.width);
    scaleflag = doch-docw;
    if ( doch > docw ) { scaleflagg =1}
    if  (scaleflagg == 0)
                    portraitorienation = 1;  // Landscape Orientation
                    //alert("Seclected Landscape")
                    //alert(doch+" Height" +docw +" Width")
    var scale1 = docw - sizeh
    var scale2 = doch - sizeh
    if (docw > sizeh) {scaleup1=1}
    if (doch > sizeh) {scaleup2=1}
    // We know know what action was started (What size to scale to and the orientation - Landscape or Portrait)
          //      alert ( "Current selected action is: "+actionName+"\r\rin the action set: "+actionSetName +"\r\rAction Number is " +actionnumber +"\r\rDeminsions are (HxW):  "  +sizeh +", "+sizew );
            if (portraitorienation == 1)   //landscape if true
                            if (scaleup1 == 1)
                                            alert ( "This Photo is landscape\r\r"+ "The doc H x W are:  " +doch +" x " + docw +"\r\r" +"Resizing to (H X W:  " +sizew +", "+ sizeh + "\r\r"  + "Reduction");                               
                                            docRef.resizeImage (sizeh, undefined, resolution, ResampleMethod.BICUBICSHARPER)  // Reduction in size
                            else
                                            alert ( "This Photo is landscape\r\r"+ "The doc H x W are:  " +doch +" x " + docw +"\r\r" +"Resizing to (H X W:  " +sizew +", "+ sizeh + "\r\r"   + "Enlargement");                                       
                                            docRef.resizeImage (sizeh, undefined, resolution, ResampleMethod.BICUBICSMOOTHER)  //Enlargement in size
            else  // portrait
                        if (scaleup2 ==1)
                                            alert ( "This Photo is Portrait\r\r"+ "The doc H x W are:  " +doch +" x " + docw +"\r\r" +"Resizing to (H X W:  " +sizeh +", "+ sizew + "\r\r"  + "Reduction");                                                 
                                           docRef.resizeImage (undefined, sizeh, resolution, ResampleMethod.BICUBICSHARPER)
                            else
                                            alert ( "This Photo is Portrait\r\r"+ "The doc H x W are:  " +doch +" x " + docw +"\r\r" +"Resizing to (H X W:  " +sizeh +", "+ sizew + "\r\r"   + "Enlargement");
                                            docRef.resizeImage (undefined, sizeh, resolution, ResampleMethod.BICUBICSMOOTHER)
    preferences.rulerUnits = originalUnit  // Restore ruler perferences - units
    My script is a single file that is run by the Actions, I've created for each size and each action runs the same script.  When the script runs, it determines via "ActionReference();" what the current selected Action name is and then applies the scaling.  This script has logic for landscape and portrait and will scale using the different algorithms (bicubic xxxx) depending if it is reducing the image or enlarging.   The parametersfor the scaling is long side and constraint proportions.
    So if I have to add another size to the code, all I need to do is to add one line of code to the script, copy any of the existing Actions and rename the copied Action to the size and I am done.
    I'm not a experience programmer so pls don't laugh at my coding but have done some C, C++, Fortran (Yes I'm an electrical engineer) in my days.  A number of things has stumped me abit and one of them was the use of arrays which didn't work for me too well.  I was to use the array for storing my parameters of each size.  Another one that really got me puzzled was the use of the docRef = activeDocument object.  The docRef.height and docRef.width will tell you the dimensions of the document based on the units set for rules.  I set mine for pixels.  The problem I had was the statement if(docRef.height > docRef.width) { do some stufff}.  If I change the  > to < for the same document it alway gives me a "true" logical.  After some thoughts today, I suspect that true is anything not 0 and false is only 0.  I will try this out tonight.  This theory does not fit well with my understanding on how the if statement works in other languages.  Any comments on this would be appreciated.
    Oh and I noticed some extra code var declarations that is not needed such as the activeHistoryState - was determining if I need to use this or the perferences.rulerunits to restore my ruler perferences and apparently the activeHistoryState does not and forgot to remove from the code.

  • Trasnporting the Condition in the Action Profile

    I have defined an action profile “Activity” for sending the email automatically when saving an activity.
    I defined the condition for the Remainder email to send in the Tcode CRMC_ACTION_CONF.
    But I am not able to transport the defined Condition from the Dev system to the QA system.
    How can I transport the condition from the dev to QA

    Zack,
    Did it create a transport request when you initially created the condition?
    If it did and if the transport was loaded onto QA and you cannot see the new condition in QA then there seems to be a problem in the system. Try creating a new dummy condition and see if that gets transported. If not then, you have open a message to sap.
    Ani

  • How to change the printer name in the User profile in the run time.

    Hi
    I am in need to change the printer name in the run time.
    Do any one hav idea about this?
    Thanks
    Karthik

    The user default settings can be changed using funtion module SUSR_USER_DEFAULTS_PUT.
    Import parameter USER_DEFAULTS-SPLD will hold the default printer name.

  • How to make daily mail sending using the action profile?

    I have a LEAD. If the LEAD is not closed within 5 days after creation i need to send reminder to manager. 
    So if the status of this LEAD is "open" and "today date" >= "planned finish date" the email must be sent to manager everyday until the status will be changed to "closed".

    Hi Vipul
    I need help in configuring the Optimization Rule on start condtion of action definitions. As i can see you have suggested to use the optimization rule in start condition. Would you please tell me how and where i can configure the rule for optimization
    Please advise
    thank you
    regards
    shankar

  • My ipad reacts slow on touchscreen. I have to really puss an icon to select it, and then tap it several times. Scrolling is impossible. And there is a voice with names all the actions I do / the buttons I touch. I have done a hard reset and itunesrecovery

    My ipad 2 does not react well to the touchscreen. I have to push the icons really firm (kind of selecting it) and then tapp them several times before something happens. And a voice tells me what buttons I touch. I have don the hard reset and a recovery through itunes. But the problems stays. Has anyone had the same set of problems? DirkiedH

    You have VoiceOver turned on. To turn off:
    iPhone: Configuring accessibility features (including VoiceOver and Zoom)
    Triple click the Home button should allow you to go to Settings>General>Accessibility and turn it off. Scroll with three fingers if necessary.

  • Error while saving a smartform in pdf with action profile in service order

    Hi experts,
    I have a problem in saving a smartform which is converted in pdf.
    WHat i m doing is.
    The action profile is configured with new Z class and Z method. CL_DOC_PROCESSING_CRM_ORDER and CRM_SRVORDER_EXEC_SMART_FORM.
    But when i click the button in the Order, i m able to save the pdf in local drive, but an error is coming in the Order page(at the bottom) "Action could not be executed successfully".
    The action has been setup with "Printonly" and "Smartforms print" in customization.
    I have a dount whether, this action Printonly is only to print the smartform ??? Or can we use just to save the smartform in pdf.
    But when i remove the pdf conversion and save dialog and try to print it directly, Its printing the smartform. No errors are coming.
    But guys, please help me on this. I have tried all the tricks i know.
    I just want to save a smartform in pdf with action profile configured.
    Thanks in advance.
    <REMOVED BY MODERATOR>
    KK
    Edited by: Alvaro Tejada Galindo on Mar 19, 2008 4:26 PM

    Hi;
    Did you checked
    Queries Error With FRM-92101 In Many NLS Forms [ID 443922.1] << seems similar error like yours
    Forms FRM-92050, FRM-92100, FRM-92101, FRM-92102 Reference Guide [ID 444690.1]
    If its not help please enable trace
    How To Perform System Tracing For All Forms Runtime Processes? [ID 400144.1]
    Regard
    Helios

  • Can I Change My name in the Profile

    Hi All,
    Don't mine any one that  I Asked this Q here
    How To Change My Name in the SDN Profile ???
    I Given My Pet name At the Time of Registration in SDN.
    So I Want to Change My Display Name As Wel As The name in the Database
    I Tried Like this
    GotoMy Profile-Update Profile
    Here I Changed First name Last name Display Name
    I Logoff the User
    Then Dispaly name Has been Changed But In My Postings my old name is Remains Same
    I Want to See the Changes to Those Also
    Please Let me Know
    Regards
    Vamsi

    Vamsi,
    <b><i>Then Dispaly name Has been Changed But In My Postings my old name is Remains Same</i></b>
    Where u are seeing ur old name in ur thread? Please make sure only the display will change not the contents which u wrote in ur questions/replies. Like Best regards Vamsi, this one u are referring to? If yes then it won't changes.
    Best regards,
    raj.

  • How to change the name of an action

    I have defined a AbstractAction and I am wanting to change the name of the action. How can I do this. setName(String name) does not work either. This is what I am doing.
    private class BrowseButtonAction extends AbstractAction
          public BrowseButtonAction(  )
             super("Browse");
           * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
          public void actionPerformed( ActionEvent evt )
             JFileChooser fch = new JFileChooser();
             if ( evt.getSource(  ) == btnBrowseLogo ) {
                //don't change name b/c it's already correct
             } else if ( evt.getSource(  ) == btnBrowseDirectory ) {
                 //set name of action to "BrowseDirectory"
             }else if(evt.getSource() == btnLoadFile){
                //set name of action to "Load";
    }I am assigning this action as follows:
    JButton btnBrowseDirectory  = new JButton(new BrowseButtonAction());
    JButton btnLoad = new JButton(new BrowseButtonAction());
    JButton btnBrowseLogo = new JButton(new BrowseButtonAction());

    Make a BrowseButtonAction constructor that takes a String. Then, pass that String to super instead of always passing "Browse".

  • 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
    Chan

    The 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.

  • Link Adobe Form to Action Profile

    Hi,
    I need to link and action profile in CRM to a custom adobe pdf form.
    But it appears that I can not fill in the action profile a method class with an adobe form.
    Are there any solutions?
    Points rewarded for any help.
    Yann

    The only solution I found is to cheat a bit with SAP.
    I set up a smartform name, a specific class with a method.
    Within that method, I manually change the form name to use my Adobe form.
    Hope this might help. Works well for me.
    Yann

  • Action profile for Business Partners

    Dear SAPers,
    Currently Action profile, can be easily set-up for Business transactions (Opp, Activity,etc.).
    Examle: When Opp status is changed (schedule condition, start condition), Business Parnter attribute is adapted (Execution).
    Does anyone know if Action profile can  be set-up for Business Partner?
    Examle: When BP is changed (schedule condition, start condition), Business transaction attribute is adapted (Execution).
    In standard, it does not look possible.
    Should it be possible from Business Parnter BADI (check_before_save) to generate the schedule condition of a set of Business transactions e.g Opp.
    Thanks for any help.

    Hi Marc,
    Yes. As of today you can customize the Action Profiles to trigger actions for Business Transactions only. This is not available for the Business Partners. So, your approach of Business Partner BADI sounds a very reasonable solution to achieve the functionality.
    And for the Business Partner BADI that you mentioned here I was unable to find any such BADI in SAP CRM 7.0 system. Can you let me know from which system you got that BADI name?
    I got a BADI of BP - COM_PARTNER_BADI. Can you have a look at the implementations of it so as to have a understanding of it's usage.
    Hope this helps.
    Thanks,
    Samantak.

Maybe you are looking for

  • Technical Error when uploading a file using java 1.6.0_17

    When I'm uploading a mp3 file size 84.01 Mb i get the following message: Warning-Security Name:MyFTPUploader Publisher:JavaAtWork From:http://mixes.djfez.com A box is ticked if you always trust the content from this publisher and then there is the op

  • Can i receive XML via a web service into the PDF form??

    hi all,  I am able to send data to a server via a web service configured in my email submit button.  Once the data has been received on the server, a reference number is sent back.  My problem starts here as the reference number comes back into my br

  • Can I use QoS exam in ccnp voice?

    Hi all, I have a doubt. I made a ccip exam and will expire in 2015, even retired. When I  made the QoS exam,  i be enroled in ccnp voice. Now I have cvoice, cipt1 and cipt2. If I take the tshoot voice exam, I will become ccnp voice certified? Or I ha

  • Entitlementsadministration shows blank page

    Hi all, I installed OES 10.1.4.3.0 using Oracle 11g and tomcat. I am able to start the SCM and admin server. I am able to login to https://<host>:7010/asi as admin/password and see the content. But when I try to login to https://<host>:7010/entitleme

  • How to create Form based on a table to display multiple record

    Hello All, Would somebody please tell me how to create a Form based on a single table , to view and insert multi record based on a single table.In other words I would like to have a form as shown below ,where the users can Insert,update,delete,query