Workflow: call transaction CJ20N not displaying customized screen

Experts,
My workflow needs to call transaction CJ20N. so that the user can accept a customized field on the project display. When I called the transaction, I did not see the customized fields on the display. I need to call transaction CJ20N that will display all the fields that have been customized on the screen display. I am not using SET PARAMETER before I make the call as it was unclear to me what the SET PARAMETER is used for.
Any clue would be appreciated.
thank you
david Dittmer

Hello Modak,
I agrree that a parameter ID will not solve this issue. To test I built a stand alone ABAP program with the following code:
data: bdcdata_wa typr bdcdata,
bdcdata_tab type table of bdcdata.
clear bdcdata_wa,
bdcdata_wa-program = 'SAPLCNPB_M'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
append bdcdata_wa to bdcdata_tab.
bdcdata_wa-fnam = 'PSP'.
bdcdata_wa-fval = 'P.2009.00002'.
append bdcdata_wa to bdcdata_tab.
Call transaction 'CJ20N' using bdcdata_tab.
This call works  just fine in a stand alone ABAP but will not work in a workflow method....any suggestions or clues
Thank you

Similar Messages

  • CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN .

    Hi all,
    i hope there is someone that can help me.
    My problem is: in an ABAP custom report in a FORM user-command my code is
      CASE ls_selfield-sel_tab_field.
        WHEN 'ITAB-BELNR'.
          IF NOT ls_selfield-value IS INITIAL.
            SET PARAMETER ID 'RBN' FIELD ls_selfield-value.
            CALL TRANSACTION 'MIR6' AND SKIP FIRST SCREEN .
      ENDCASE.
    When i click on output field of my report, not skip first screen but only call MIR6!!!
    How can i solve this problem? 
    Regards.

    Hi,
    First of all Please don't use all Caps for Subject Line
    Test Following Sample Code it will solve out your problem,
    DATA: it_bdcdata TYPE TABLE OF bdcdata,
          wa_it_bdcdata LIKE LINE OF it_bdcdata,
          belnr(10).
    belnr = '100'. " Give Document Number here
    DATA opt TYPE ctu_params.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-program  = 'SAPMM08N'.
    wa_it_bdcdata-dynpro   = '100'.
    wa_it_bdcdata-dynbegin = 'X'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'BDC_CURSOR'.
    wa_it_bdcdata-fval = 'SO_BELNR-LOW'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'SO_BELNR-LOW'.
    wa_it_bdcdata-fval = BELNR.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'BDC_OKCODE'.
    wa_it_bdcdata-fval = '=CRET'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    opt-dismode = 'E'.
    CALL TRANSACTION 'MIR6' USING it_bdcdata OPTIONS FROM opt.
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • Call transaction 'LS33' and skip first screen.

    This doesn't work:
    set parameter id 'LEN' field '04018091'.
    call transaction 'LS33' and skip first screen.
    I've found this:
    <a href="https://www.sdn.sap.com/irj/sdn/message?messageID=3715690">https://www.sdn.sap.com/irj/sdn/message?messageID=3715690</a>
    but I'm not sure about the exact meaning (wouldn't know where to put the *)
    nor even about if it applies.
    Thanks in advance.

    Sorry, I mistook this forum for that of ABAP General.
    Anyway, the answer is in
    Call transaction 'LS33' and skip first screen.

  • Statement "CALL TRANSACTION" is not allowed in this form.

    Hi
    I have a form in which i want to call a transaction:
      CALL TRANSACTION 'VL32N'  USING bdc_tab
                                                       MODE    'E'
                                                       UPDATE  'S'
                                                       MESSAGES INTO mestab.
    I call this report from within a message and when reaching this statement it fails.
    Now i get this error in ST22:
    POSTING_ILLEGAL_STATEMENT
    Statement "CALL TRANSACTION" is not allowed in this form.
    and afterwards this error:
    DYNPRO_SEND_IN_BACKGROUND
    Screen output without connection to user.
    As i read,it is not allowed to call this kind of statement from within a form and we should use something like:
    RECEIVE RESULTS FROM FUNCTION but i do not know how because i have never before used such call statements.
    thanks

    Hi,
    The bdc table is filled correctly but the CALL TRANSACTION is not alllowed.I think it is because of the call from the Form ENTRY which is called when issuing an message from my transaction.I have read that it is not allowed to have any call transaction,submit or any other statements like these in a function call,and i think that my form ENTRY is seen as a sort of function module.
    Any other opinions?
    With my "call transaction" statement i wanted to open the VL32N Transaction and post a goods receipt.Is there any other way to do this?
    I get this message in the ST22 Transaction:
    This program is triggered in the update task. There, the   
    following ABAP/4 statements are not allowed:                                                                               
    -  CALL SCREEN                                             
    -  CALL DIALOG                                             
    -  CALL TRANSACTION                                        
    -  SUBMIT                                                  
    But i do not know what is ment by update task.All i use are some "export to memory"  statements and this is all.
    Any ideas?
    thanks.
    Edited by: seba seba on Jul 28, 2009 11:22 AM

  • JSplitPane not displaying on screen

    Someone please help me. Stuck on this problem for 3 days now but just cannot see the answer. JSplitPane just does not display on screen. When I call it from within the class xer it appears as a little rectangle of about 2mm by 4 mm insize. When I call it from within actionPerformed I just do not see anything at all. I need to call it from actionPerformed as a final solution. Please give the answer based on it being called from actionPerformed. Thanks.
    Peter Loo
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.tree.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.lang.*;
    public class xer extends JFrame
    JPanel erPanel;
    Container contentPane;
    public xer()
    contentPane = getContentPane();
    erPanel = new JPanel();
    contentPane.add(erPanel);
    // Menu
    ErMenu erMenu = new ErMenu(contentPane, erPanel);
    setJMenuBar (erMenu.getErMenuBar());
    // If I call Define Report here I have small JSplitPane about 2mm by 4 mm size
    new DefineReport(contentPane, erPanel);
    pack();
    setExtendedState(Frame.MAXIMIZED_BOTH);
    setDefaultCloseOperation (DISPOSE_ON_CLOSE);
    setVisible(true);
    public static void main (String args[])
    new xer();
    * Processing for menu
    class ErMenu implements ActionListener
    Container contentPane;
    JPanel erPanel;
    JMenuBar erMenuBar;
    JMenu fileMenu;
    JMenu reportMenu;
    JMenuItem defineMenuItem;
    JMenuItem runMenuItem;
    DefineReport defineReport;
    StringBuffer currentScreen;
    * Create menu & menubar
    public ErMenu (Container contentPane, JPanel erPanel)
    this.contentPane = contentPane;
    this.erPanel = erPanel;
    // Menu bar
    erMenuBar = new JMenuBar ();
    // Menu reports
    reportMenu = new JMenu (" Report ");
    defineMenuItem = new JMenuItem ("Define Report");
    defineMenuItem.setActionCommand ("MenuItemDefineReport");
    defineMenuItem.addActionListener (this);
    reportMenu.add(defineMenuItem);
    runMenuItem = new JMenuItem ("Run Report");
    runMenuItem.setActionCommand ("MenuItemRunReport");
    runMenuItem.addActionListener (this);
    reportMenu.add (runMenuItem);
    erMenuBar.add (reportMenu);
    public JMenuBar getErMenuBar()
    return erMenuBar;
    public void actionPerformed (ActionEvent e)
    String menuaction = e.getActionCommand();
    if (menuaction.compareTo ("MenuItemDefineReport") == 0)
    // If I call Define Report here I do not get the JSplitPane
    defineReport = new DefineReport(this.contentPane, this.erPanel);
    * Main processing for Defining a report
    class DefineReport
    JPanel erPanel;
    Container contentPane;
    JSplitPane erJSplitPane;
    public DefineReport (Container contentPane, JPanel erPanel)
    this.erPanel = erPanel;
    this.contentPane = contentPane;
    // this.contentPane.invalidate();
    // this.contentPane.removeAll();
    // this.erPanel.invalidate();
    // this.erPanel.removeAll();
    erJSplitPane = setupErJSplitPane ();
    erPanel.add (erJSplitPane);
    // contentPane.add(erPanel);
    contentPane.setVisible(true);
    } // End of constructor DefineReport
    public JSplitPane setupErJSplitPane()
    JScrollPane listScrollPane;
    JScrollPane treeScrollPane;
    listScrollPane = new JScrollPane ();
    treeScrollPane = new JScrollPane ();
    erJSplitPane = new JSplitPane (JSplitPane.HORIZONTAL_SPLIT,
    listScrollPane, treeScrollPane);
    erJSplitPane.setOneTouchExpandable (true);
    erJSplitPane.setDividerLocation (50);
    Dimension minSize = new Dimension (50,50);
    listScrollPane.setMinimumSize (minSize);
    treeScrollPane.setMinimumSize (minSize);
    listScrollPane.setBackground(Color.red);
    listScrollPane.setForeground(Color.red);
    treeScrollPane.setBackground(Color.blue);
    treeScrollPane.setForeground(Color.blue);
    return erJSplitPane;
    } // End of class DefineReport

    I have read all the tutorials that I can find and it
    seems (at least to me) that I have done everything
    necessary. I am really quite new to Java.
    Peter LooIts called a learning curve dear, we've all been there

  • Calling Transaction CJ20N

    Hi all,
    I am attempting to call trans. CJ20N when user clicks on a particulart WBS elements or project in an ALV report. If the user clicks on WBS element, CJ20N should open with that WBS elements selected. If the user clicks on project, CJ20N should open with that project. Can anyone tell me how i can pass the selected parameter to CJ20N.
    regards,
    Hamza

    Call transaction CJ20N (open element PEP) from ALV.
    I need help about that.
    My program runs the CJ20N calling the first screen, then called the search window PEP,
    but nothing appears, only the initial screen.
    DATA: bdcdata_wa TYPE bdcdata,
    bdcdata_tab TYPE TABLE OF bdcdata.
    CLEAR bdcdata_wa.
    *- initial screen----
    bdcdata_wa-program = 'SAPLCNPB_M'.
    bdcdata_wa-dynpro = '1000'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    *----- search document PEP -
    bdcdata_wa-program = 'SAPLCNPB_W'.
    bdcdata_wa-dynpro = '0900'.
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    *---- parameter -
    bdcdata_wa-fnam = 'PRO'.
    bdcdata_wa-fval = 'XX.XXXX.X.XXX.XXXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CALL TRANSACTION 'CJ20N' USING bdcdata_tab.
    Thanks.

  • CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

    Hi,
    i'm using this in an report.
    SET PARAMETER ID 'BES' FIELD WA_ITAB-EBELN.
    SET PARAMETER ID 'BSP' FIELD WA_ITAB-EBELP.
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    It works OK.
    Is there any parameter ID to go in a sprecial part of an PO, for example
    direct to materialdata or konditions?.
    thanks.
    Regards, Dieter

    Hi,
    I think u can do that by using BDC as used in this code please refer to this code.
    FORM get_user_command USING cr_ucomm     LIKE sy-ucomm      "#EC *
                                cr_selfield TYPE slis_selfield.
      CLEAR wa_final.
      DATA BEGIN OF bdcdata OCCURS 10.
              INCLUDE STRUCTURE bdcdata.
      DATA END OF bdcdata.
      CASE cr_ucomm.
        WHEN '&IC1'.
          READ TABLE it_final INTO wa_final
                   INDEX cr_selfield-tabindex.
          IF cr_selfield-fieldname = 'MATNR'.
            IF sy-subrc IS INITIAL.
              SET PARAMETER ID 'MXX' FIELD 'E'.
              SET PARAMETER ID 'MAT' FIELD wa_final-matnr.
              SET PARAMETER ID 'WRK' FIELD wa_final-werks.
              CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
            ENDIF.
          ELSEIF cr_selfield-fieldname = 'LIFNR'.
            IF sy-subrc IS INITIAL.
              CLEAR bdcdata.
              bdcdata-program  = 'SAPMF02K'.
              bdcdata-dynpro   = '0101'.
              bdcdata-dynbegin = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-LIFNR'.
              bdcdata-fval     = wa_final-lifnr.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-EKORG '.
              bdcdata-fval     = wa_final-ekorg.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-D0310'.
              bdcdata-fval     = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'WRF02K-D0320'.
              bdcdata-fval     = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'BDC_OKCODE'.
              bdcdata-fval     = '/00'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-program  = 'SAPMF02K'.
              bdcdata-dynpro   = '0110'.
              bdcdata-dynbegin = 'X'.
              APPEND bdcdata.
              CALL TRANSACTION 'XK03' USING bdcdata MODE 'E'.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.  " get_user_command
    regards,
    sudha

  • CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN?

    Hi, Gurus:
    In my program, after I call 'CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.'    in the va02, user maybe do some change and save
    then I want to get those change as the dollowing:
        select single uvall into c_complete_flag from vbuk
         where vbeln = lv_vbeln.
    why I can't get the latest change.
    Thanks,

    VA02 usese the asynchronus update mehtod so, it gives you the message like "Order 1111 was saved" but the database update is still going on.
    So, you need to wait for some time before facthing the data from the database.
    You can use like:
    WAIT UP TO 10 SECONDS.
    But this statement will force you to wait for atleast 10 seconds before doing any thing.
    Regards,
    Naimesh Patel

  • Acrobat Pro XI v.11.0.06 - PDF created by Microstation Print Organizer - Windows 7 -  Printing shaded squares on top of shaded building and not displayed on screen, only displays on paper when printing

    I have attached an image of the sheet to show the areas that are shaded. The building is supposed to be shaded, however the two squares within are not. These squares are not in the file converted to pdf and do not display on screen when viewing the pdf. Also there are several sheets in the set with shaded buildings and only two of the buildings have this issue. Any help with this would be greatly appreciated.

    I'm seeing this same problem happen on multiple platforms here in the office. Every time this happens, the screen view does not show these shapes. I have been seeing the same problem except linework will be missing in one of these square shapes as well. Please give feedback if anyone knows what causes this problem. One thing to note -  these squares are the size and placement of a selection box within acrobat.  For example, if i use the selection tool and click near where the problem printed out, the shaded area that gets selected is in the exact same spot and is the exact size.@

  • I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    Apple support article:
    Mail Keeps Asking for Password
    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/20549403#20549403

  • HT201263 IPad starts but will not display home screen.

    IPad starts by will not display home screen.  Seems to be suspended but will not respond.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Some JPG images, stored in DB, do not display on screen/image item.

    Hi friends,
    I have a form to save and retrieve images (JPG, GIF, TIF) to and from DB, using WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB and CLIENT_IMAGE.WRITE_IMAGE_FILE respectively.
    It’s working fine, but with few JPG images, it stores in DB but do not display on screen/image item.
    Secondly, if I try to retrieve and write this JPG to OS (using CLIENT_IMAGE.WRITE_IMAGE_FILE), it prompts error “FRM-47101: Cannot write image file”.
    Environment:
    Forms [32 Bit] Version 10.1.2.0.2
    OS XP Pro 2002 SP3
    Oracle DB 11g Enterprise Edition Rel. 11.1.0.7.0 - 64bit
    Any help will be highly appreciated.

    Hi,
    I have done a workaround here, which worked for me.
    My requirement is to direct save images in DB. So my system was just saving images without knowing if picture would display on form or not later.
    I created a (non-DB) image item on form and added a code (CLIENT_IMAGE.READ_IMAGE_FILE) to place image in this image item, if it successfully display image then save image directly in DB using code (WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB).
    Note: - If CLIENT_IMAGE.READ_IMAGE_FILE fails it raises exception and it means image has invalid format/internal data header and system does not save image in DB.
    Now I have a kind of a filter to stop saving pictures which do not display later on form. :)
    Edited by: user12173428 on 29/09/2011 16:38

  • CUCM: Third Party SIP Phone "Caller ID" is not displaying for outgoing calls

    Hi Team,
    we are running CUCM 9.1(2a),
    we have integrated Third Party SIP Phone(Avaya 1230 SIP Phone) with CUCM,
    Issue: Third Party SIP Phone "Caller ID" is not displaying for outgoing calls, we are able to see only the dailed Number,
    When "A" calls to "B", "A" can see only the dailed number of "B" but not the "Caller ID"
    Regards
    Ananthakumar

    Are A and B both Avaya phones?
    So it looks like you're not seeing the alerting name/connected name getting updated then?  Do you have alerting names configured on the directory numbers?  Might need to take a look at the SIP messaging to see if the alerting name/connected name is being sent to the Avaya phones and maybe they just aren't displaying it.  Might just be something that needs to be tweaked in the 46xxsettings.txt file.

  • Nokia E73- Call log does not display entries

    I recently purchased a E73 by itself.
    For some reason the call log does not display any telephone numbers or activity in recent calls; missed calls, received calls, dialed numbers. It would show that I have a missed call but when I enter it, it says (no missed calls).
    Any ideas? Please let me know...
    Thanks

    Enable and set log duration to 30days.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Call Transaction "MIGO" in display mode only

    Hi friends,
    I have changed the standard the SAP standard program MB51 to a Customer Program 'ZMB51' based upon the user requirement.Iam able to get all the values (output)
    Now my requirement is .... iam trying to call transaction "MIGO" when the user clicks on the Material Document Number (MBLNR) (as how in Standard program)
    I ve used "ALV_GRID..." display. and given a callback_user_command also .... iam able to call the trasaction ...... but it is editable and not in the display mode ..........
    Here my code :
    FORM SY_UCOMM_FOR_MBLNR USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE
    SLIS_SELFIELD.
      IF RS_SELFIELD-FIELDNAME EQ 'MBLNR'.
      IF NOT RS_SELFIELD-VALUE IS INITIAL  AND
             RS_SELFIELD-VALUE NE SY-ULINE.
          CALL TRANSACTION 'MIGO'.
        ENDIF.
        IF R_UCOMM EQ SPACE.
        ENDIF.
      ENDIF.
    ENDFORM.                    " SY_UCOMM_FOR_MBLNR
    So ??????????????????
    What is the remedy ????
    Expecting ur answers....
    Thanks in Advance
    Cheers,
    R.Kripa.

    Hi ... it is solved ...
    I ve changed the code as how it was in MB51 report.
    Here is my code
    FORM SY_UCOMM_FOR_MBLNR USING R_UCOMM LIKE SY-UCOMM RS_SELFIELD TYPE
    SLIS_SELFIELD.
      CASE RS_SELFIELD-TABNAME.
        WHEN 'I_FINAL'.
          READ TABLE I_FINAL INDEX RS_SELFIELD-TABINDEX.
      ENDCASE.
      CHECK SY-SUBRC = 0 .
      IF R_UCOMM = '&IC1'.
        CHECK RS_SELFIELD-TABNAME = 'I_FINAL'.
        CASE RS_SELFIELD-FIELDNAME.
          WHEN 'MBLNR'.
            SET PARAMETER ID 'MBN' FIELD I_FINAL-MBLNR.
            SET PARAMETER ID 'POS' FIELD I_FINAL-ZEILE.
            SET PARAMETER ID 'MJA' FIELD I_FINAL-MJAHR.
        ENDCASE.
        IF SY-SUBRC = 0.
          SELECT SINGLE * FROM MKPF
                    WHERE  MBLNR = I_FINAL-MBLNR
                      AND  MJAHR = I_FINAL-MJAHR.
          IF SY-SUBRC = 0.
    MIGO_DIALOG is a funcion module to set the MIGO transaction
    in Display mode.
            CALL FUNCTION 'MIGO_DIALOG'
              EXPORTING
                I_ACTION            = 'A04'
                I_REFDOC            = 'R02'
                I_NOTREE            = 'X'
                I_NO_AUTH_CHECK     = ' '
                I_DEADEND           = 'X'
                I_SKIP_FIRST_SCREEN = 'X'
                I_OKCODE            = 'OK_GO'
                I_MBLNR             = I_FINAL-MBLNR
                I_MJAHR             = I_FINAL-MJAHR
                I_ZEILE             = I_FINAL-ZEILE.
          ENDIF.
        ENDIF.
      ENDIF.
    But still if anyone knows how to call MIGo transaction i Display mode using 'CALL TRANSACTION 'MIGO''.
    Thanks friends,
    Cheers
    R.Krpia.

Maybe you are looking for