Ouput field is not getting displayed

Hi All,
I created an object type in BOB which gives me ernam field of MARA table on testing.
I need to use that object type in the new workflow in which user inserts a material number and should get ernam (Created by) as an output field.
I tied doing that but on testing , it shows task's status 'COMPLETED' but does not display the ERNAM.
What else I need to do to make it displayed on the screen?
Thanks in advance
Shweta

Hi Vidya,
I used 'SAP_WAPI_CREATE_EVENT' to pass the values. Also , I created an event parameter 'MATERIAL' so that the value can be passed as the event gets triggered then I did the binding of event parameter and workflow container parameter of material.
after that i run the following code in se80.
DATA : MATERIAL like SWR_STRUCT-OBJECT_KEY,
       lv_matnr TYPE mara-matnr.
DATA : wa_event like  SWR_STRUCT-EVENT,
       wa_obj LIKE swr_struct-object_typ.
DATA : lv_user TYPE SWC_ELEM VALUE 'INITUSER',
       LV_MATERIAL TYPE SWC_ELEM VALUE 'MATERIAL'.
DATA : T_MSG TYPE STANDARD TABLE OF SWR_MESSAG.
DATA : flg(1) TYPE c.
DATA : it_cont TYPE TABLE OF SWCONT,
       wa_cont like LINE OF it_cont.
wa_event = 'ZCLICK_EVENT'.
Wa_obj = 'ZDEMO_BOR1'.
   MATERIAL = lv_matnr.
   wa_cont-element = lv_user.
   wa_cont-value = sy-uname.
   append wa_cont to it_cont.
   CLEAR : wa_cont.
   wa_cont-element = LV_MATERIAL.
   wa_cont-value = LV_MATNR.
   append wa_cont to it_cont.
   CLEAR : wa_cont.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
   EXPORTING
     object_type             = wa_obj
     object_key              = MATERIAL    "Key field in BOR
     event                   = WA_EVENT
*   COMMIT_WORK             = 'X'
*   EVENT_LANGUAGE          = SY-LANGU
*   LANGUAGE                = SY-LANGU
    USER                    = SY-UNAME
*   IFS_XML_CONTAINER       =
* IMPORTING
*   RETURN_CODE             =
*   EVENT_ID                =
  TABLES
    INPUT_CONTAINER         = it_cont[]
    MESSAGE_LINES           = T_MSG[].
*   MESSAGE_STRUCT          =
   READ TABLE T_MSG WITH KEY MSG_TYPE = 'E' TRANSPORTING NO FIELDS.
       IF SY-SUBRC = 0.
         Flg = 'N'.
         MESSAGE E208(00) WITH 'Error initiating Workflow.'.
        ELSEIF SY-SUBRC <> 0.
         MESSAGE 'Workflow initiated.' Type 'S'.
After this code , I get a message 'Worlflow initiated' but I can not see the value being transferred to the workflow respective container

Similar Messages

  • Data carrier & application field are not getting displayed in CV04N

    Hi Guru's
    In TCode : CV04N,  data carrier & application field are not getting displayed.
    While i compare with my IDES system, data carrier & application fields are getting displayed in CV04N.
    Let me know is there any configuration that has been missed out.
    Regards
    Bhanu

    Hi Bhanu,
    Please note that the fields 'Data carrier' & 'Application field'  are visible only if no document type is entered.
    Suppose you enter a document type and press ENTER then these fields disappear. This is because the field 'Application' was designed when only the storage is archive, vault or SAP-SYSTEM was possible and the number of added originals was limited.
    Currently DMS allows storage of originals on Content Server and there is no limit on the number of added originals, the system behavior was changed due to performance reasons. To avoid performance problems if you search for a document with a lot of originals attached this field gets invisible if you enter a document type which uses the KPRO storage.
    Regards,
    Pradeepkumar Haragoldavar

  • PR Release Strategy tab processor field is not getting displayed

    Hi Experts,
    While creating Purchase Requisition, In the Release Strategy tab processor field is not getting displayed which should be showing the name of the user id which has been configured in the SPRO.
    SPRO--> Rel Proc for PR > Rel Group> Rel Code--> Object type (US) and --> Agent (User id who has to approve the PR).
    release strategy - Release code  -work flow 1
    That processer name is not displaying
    Thanks
    chandoo

    This is the workflow forum.

  • Time From field is not getting displayed in correct format in Activities

    Hello Experts ,
    We are facing one problem in UI , when we search for Activities in Web UI . In the field "Time From" we are not getting the time in correct format , ie is instead of  getting time as say 13::38 we are getting time as 13::3 , but when we place cursor on it the field it shows correct format say 13::38.
    Can any one suggest how to display in correct format ?
    Regards
    Vinayak

    Hi,
    Its an SAP Product error.
    Please check note 1151821 ,if you facing the greyed button in time.Also the other note 1136402 needs to be applied for time display issue
    - Bobby

  • Adobe field values not getting displayed in UWL workitem

    Hi,
    We filled a ISR Adobe form and submitted it and generated the corresponding notification number.
    On clickng the 'display and print form', the form is gettin displayed properly.
    But on checking the form at the approvers UWL, the field values are not getting properly filled.
    The form is getting properly displayed at R/3  through IQS22 and also the data values are properly attached to the notification number( checked through ISR_PROCESS_EVENT ).
    Kindly help.
    Thanks and Regards,
    Anto.

    Thanks for publishing your own solution!
    Cheers,
    Noë

  • Xpath field details not getting displayed

    Hi all,
    I am working on a idoc to file scenario, where I want to refer the receiver to be determined based upon certain condition or values that get populated for a particular field (using receiver determination). But the problem is that when I click on the condition tab on receiver determination I get a warning "Problem loading schema description"
    with message as
    "Message interface does not exist in any software components installed on this business system"
    But since it is an Idoc at the source we dont have any msg interfaces, further if i neglect this warning message and go further, I am not getting the fields or details of the Idoc structure getting displayed in the xpath.
    But the same when I use for a file scenario(file as sender) I get the details of the context object if any.. Let me know how to resolve this..
    Thanks in advance
    Regards,
    Nithiyanandam

    Hi,
    Yes you coudl add the missing Software component as per below steps
    Even if you open Business system in Integration Directory, at last tab "Other Attributes" --> you will find the list of software components.
    Press the tab Third Party service to verify the list against SLD.
    If its not avaialbel in SLD
    1. Goto System Landscape Directory
    2. select Business Landscape and slect the apporpriate Business system and open it. (Click the name of BS)
    3. There you will get the list of Software components added in it.
    4. Verify the technical system name.
    5. Also verify if same technical system name is used after importing the software component in Integration Repository (IR).
    Goto IR -- > Explore the SCV -->Double click on name of software component version -->Check Interface Import as Import of RFC and have the same details  in Connection data as per technical system
    If everything is setup just refresh the SLD_CACH and import the scenario once again in Integration Directoy and process it.
    You will see the IDOC in Business system.
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 4, 2008 8:00 AM

  • Dynamic mandatory field error message is not getting displayed in webui

    Hi,
    In Appointment if the importance is HIGH i made Location as mandatory.For this i enhanced BT126H_APPT/ApptDetails. In the get_p_location() method of BTACTIVITYYH i have written the code.
    Now the problem is Error message for this dynamic mandatory field is not getting displayed in webui.
    I debugged in DO_FINISH_INPUT error message is getting generated but it is not getting displayed in ui.
    Can anybody tell where the problem is?
    Thanks,
    Hari.

    Hi Hari,
    Really sorry do not know how to convert this nug file to text
    How ever quick solution for your problem would be just keep your validation in 'DO_VALIDATE_INPUT' method of the view controller.
    Means even if the User clicks on SAVE , Since it fails here , it would not allow you to go further.
    Thanks,
    Rajesh P

  • Text not getting displayed in PA40 action.

    Hello All,
    We upgraded from 4.6 to 5.0. When I doing the hiring or any other action, the text for the action type, reason for action or any other field is not getting displayed. Even when I select the entries the text for that is not getting displayed.
    like its displaying only 01- for Action type hiring.
    Thank You all in advance for your reponse!
    Chakri.

    Hello Sharath,
    I checked this and this table is having all the values properly maintained. Language, Action, Name of the action is maintained. Is there any place where we need to activate this in order for us to see the name of the action type also when we select an action in PA40.
    Thanks a lot for your response.
    Chakri.

  • SAP Fields not getting displayed on the BDT screen

    Hello Gurus,
    I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
    1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
    2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
    3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
    4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
    5. Attach the section to the Subclaim Overview Screen.
    6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
    Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
    Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
    Reagrds,
    Shiva

    Hi Shiva,
    did you create your own Z BDT application? Is it set to be active?
    I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
    Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
    Regards,
    Frank
    Message was edited by: Frank Vieregge

  • Fields not getting displayed in Sapscript

    Hi Guyz,
    I have a customized Sapscript form ZPV_INVOICE and its print program RVADIN01. This form outputs the Sales Invoice. When the print preview is triggered, Material number (MATNR) is not getting displayed on the form. However, when the form is debugged, MATNR values are properly fetched and showed (while debugging only, not in output).
    Can somebody please let me know the reason, why the MATNR is not getting displayed on the output, even though it is showing values while debugging.
    Thanks in advance !

    Hi ,
    Then check matnr  field which is display  is same  what you are checking  in debugging  .
    COnfirm  the field   and check whether data stays till end of module   .
    regards
    Deepak.

  • Catalog codes not getting displayed in Field- QS41

    During my customisation activity, codes of catalog profiles are not getting displayed in SAP screen. Field for codes are showing as blank grey area in QS41 Tcode. If I try creating same codes again, system throwing error saying "key for entry is exisying already".
    Another observation is in the initial screen of QS41 if I select catalog and codes from folders all codes we can see for selection in initial screen, but same is not getting displayed in field for codes in QS41, its showing blank grey fields. Could anyone tell me what might be reason. Its happening for standard catalog profiles also.
    Could anyone tell me what might be the reason.

    Hello Vineeth,
    could you please apply note [1078292|https://service.sap.com/sap/support/notes/1078292] in your system this should resolve the discribed issue.
    Regards,
    Isabelle

  • Screen fields not getting displayed after Line 16

    Hi All,
    There is a screen exit created in IW51, now the new requirment is to add 3 more fields.  I added the fields below the exiting fields, in line number 15 , 16 &17. After executing the Tcode I could find that the field created in line 17 is not getting displayed in runtime. I have increased the screen length. The fields if moved to line numbers below 16 then they are getting displayed. Can anyone help me to find why it is not getting displayed after line 16.

    Hi,
    Can you give me the Enhancement name?
    I searched for the exits using package , but i did not find any screen exists for that IW51 Tcode?

  • Quantity field not getting displayed

    Hi,
    I am using Adaptived RFC Model to get Sales Order Data from SAP. The Sales Order BAPI that i am using is
    BAPI_SALESORDER_DETAIL. I have mapped the SALESORDER table(SALESOPRDER Model node) to the TABLE UI element in my WebDynpro Application.
    The problem i am facing is that while all the fields get displayed the Quantity value is not getting displayed in the appropriate column. I have checked the mapping and everything seems to be fine.
    Also when i create a separate value node for the table and fill the value node from the model node the quantity value gets displayed then.
    Please suggest what can be the possible cause for this.
    Regards
    Sidharth
    Can you please

    Hi,
    As far as I understand you display output parameters of BAPI, so check to following things:
    1. After calling BAPI model method call invalidate on context node to update the values (e.g. outputNode.invalidaet() )
    2. Check that you dispaly output parameters and not input parameters of the table. (e.g. You have Quantity and QuantityOutput node so connect you table field to QuantityOutput)
    Hope it helps.
    Victor.

  • Enhanced Datasource fields not getting displayed in Transformation

    Hi,
         Eventhough after replicating the datasource, the Enhanced Datasource fields not getting displayed in Transformation.
      Eg I have done mapping of 6 fields in transformation from datasource to DSO
    Now the datasource is enhanced with 8 fields...........The transformation is not showing the added 2 fields
    I am deleting the existing transformation.Is this the only solution?
    Kindly suggest your answers.
    Thanks,
    Sonu.

    HI,
    Deleting is not solution as it is common scnerio.
    Go to the data source in BW and in change mode check the option "transfer" for this two fields and then see if its coming or not.
    Thanks
    Ajeet

  • Newly added field not getting displayed in ALV output

    Hi All,
       I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA: BEGIN OF it_salary OCCURS 0,
            pernr LIKE pa0000-pernr,
            ename LIKE pa0001-ename,
            rtext like lv_rtext, -
    added field
            waers LIKE pa0008-waers
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = driver
          i_internal_tabname     = 'IT_SALARY'
          i_client_never_display = 'X'
          i_inclname             = driver
        CHANGING
          ct_fieldcat            = lv_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = driver
          it_fieldcat             = lv_fieldcat[]
          i_default               = 'X'
          i_save                  = 'A'
          is_variant              = lv_tmplt
          is_layout               = lv_ls_layout
         i_callback_user_command = 'USER_COMMAND'
        TABLES
          t_outtab                = it_salary
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
    The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
    Please provide suggestion for this issue.
    Regards,
    Sridevi S

    Hi,
    Fieldcat is buffered - so use
    I_BYPASSING_BUFFER = 'X'
    Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
    A simple use would be:
    data: gt_output type standard table of (adjust!).
    *simple ALV output
    data go_alv type ref to cl_salv_table.
    data go_functions type ref to cl_salv_functions_list.
    data go_columns type ref to cl_salv_columns_table.
    data go_column type ref to cl_salv_column_table.
    *Exceprion handlig
    data: go_exception  type ref to cx_root,
          gv_errortext   type string.
    ** fill table gt_output ...
    ** ALV output
    if not gt_output is initial.
        try.
            call method cl_salv_table=>factory
              importing
                r_salv_table = go_alv
              changing
                t_table      = gt_output.
          catch cx_salv_msg into go_exception.
            gv_errortext = go_exception->get_text( ).
            message gv_errortext type 'A'.
        endtry.
    * enable all standard ALV functions
        go_functions =  go_alv->get_functions( ).
        go_functions->set_all( ).
    * hide MANDT
        go_columns = go_alv->get_columns( ).
        go_column ?=  go_columns->get_column( columnname = 'MANDT' ).
        go_column->set_technical( ).
        go_alv->display( ).
    Kind regards,
    Holger

Maybe you are looking for

  • How can I install lion on a captive-network?

    I recently purchased OSX Lion for a compatible Macbook Pro, and would be able to install it if not for the fact that I'm stuck on a captive-network for the next 2 weeks. When I boot into the Lion installer, it fails in the initial stages, as it is un

  • ABAP List Faxing using BCS  method ( Business communication service )

    Experts, I have a requirement where we are faxing the ABAP list as it gets generated . I am using NEW-PRINT ON and NEW-PRINT OFF , to get the ABAP list in a spool request , and then  get the spool contents using function module : 'RSPO_RETURN_SPOOLJO

  • File name punctuation WILL cause MP3 and DVD burn errors – workaround?

    OK, I’ve seen TONS of questions about problems burning MP3 format CDs and DVD. I’ve been having this problem for quite a while and today I just got ****** off enough to do some deep research. I seek to share my finding and suggestions for work around

  • Partial  posting in MIRO

    Hi All, We have a PO of ten items of total 10,000   and Vendor has send the invoice of only one item 1000. How do I get the balance to be 0.00 when the PO quantity is 10 but the vendor is only billing for 1? Thank you, Misbah

  • Lost photo in iphoto

    I have SnowLeopard 10.6.8 and Iphoto 6.0.6. All of a sudden only 135 of my pictures are viewable in Iphoto. I can see all of them on my ipad; and I see them all in the library. ???