Mm01 purchase text view

Hello Friends,
I want to upload material master through mm01 but while recording purchase text view is not getting recorded in bdc.
Kindly suggest how to handle purchase text in such case.
Rgds,
Sunny

You can use BAPI_MATERIAL_SAVEDATA for creating the PO text .
Here is the sample code
TABLES : MARC,MARA.
TYPE-POOLS : TRUXS.
DATA : BEGIN OF ITAB OCCURS 0,
       MATNR(18),
*       MTART(4),
       TEXT(10000)," TYPE STRING,
       END OF ITAB.
DATA : ITEMP TYPE TRUXS_T_TEXT_DATA.
DATA : TEXT(132).
data : HEADDATA             LIKE BAPIMATHEAD,
       PLANTDATA            LIKE BAPI_MARC,
       PLANTDATAX           LIKE BAPI_MARCX ,
       MATERIALLONGTEXT     LIKE BAPI_MLTX  OCCURS 0 WITH HEADER LINE.
DATA: RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
      RETURN1 LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE,
      RETURNMESSAGES LIKE BAPI_MATRETURN2 OCCURS 0 WITH HEADER LINE.
DATA : ITEXT(132) OCCURS 0 WITH HEADER LINE.
DATA : LEN TYPE I,
       POS TYPE I,
       TIM TYPE I,
       LENGTH TYPE I,
       FILENAME TYPE STRING.
DATA : TABIX LIKE SY-TABIX,
       LEN1  TYPE I,
       TOTAL TYPE I,
       TEXT1(132),
       LINES TYPE I.
PARAMETERS : P_FNAME LIKE RLGRAP-FILENAME.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
   PROGRAM_NAME        = SYST-CPROG
   DYNPRO_NUMBER       = SYST-DYNNR
*   FIELD_NAME          = ' '
IMPORTING
   FILE_NAME           = P_FNAME.
START-OF-SELECTION.
*CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
*  EXPORTING
**   I_FIELD_SEPERATOR          =
**   I_LINE_HEADER              =
*    I_TAB_RAW_DATA             = ITEMP
*    I_FILENAME                 = P_FNAME
*  TABLES
*    I_TAB_CONVERTED_DATA       = ITAB
* EXCEPTIONS
*   CONVERSION_FAILED          = 1
*   OTHERS                     = 2
*IF SY-SUBRC <> 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
FILENAME = P_FNAME.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    FILENAME                      = FILENAME
*   FILETYPE                      = 'ASC'
   HAS_FIELD_SEPARATOR           = 'X'
  TABLES
    DATA_TAB                      = ITAB
EXCEPTIONS
   FILE_OPEN_ERROR               = 1
   FILE_READ_ERROR               = 2
   NO_BATCH                      = 3
   GUI_REFUSE_FILETRANSFER       = 4
   INVALID_TYPE                  = 5
   NO_AUTHORITY                  = 6
   UNKNOWN_ERROR                 = 7
   BAD_DATA_FORMAT               = 8
   HEADER_NOT_ALLOWED            = 9
   SEPARATOR_NOT_ALLOWED         = 10
   HEADER_TOO_LONG               = 11
   UNKNOWN_DP_ERROR              = 12
   ACCESS_DENIED                 = 13
   DP_OUT_OF_MEMORY              = 14
   DISK_FULL                     = 15
   DP_TIMEOUT                    = 16
   OTHERS                        = 17
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ITAB.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = ITAB-MATNR
     IMPORTING
       OUTPUT        =  ITAB-MATNR.
    SPLIT ITAB-TEXT AT SPACE INTO TABLE ITEXT.
     SELECT SINGLE MTART INTO MARA-MTART FROM MARA WHERE MATNR = ITAB-MATNR.
     HEADDATA-MATERIAL = ITAB-MATNR.
     HEADDATA-IND_SECTOR = 'M'.                              "IMM-MBRSH.
     HEADDATA-MATL_TYPE = MARA-MTART.
     HEADDATA-PURCHASE_VIEW  = 'X'.
  DESCRIBE TABLE ITEXT LINES LINES.
  LOOP AT ITEXT.
  TABIX = SY-TABIX + 1.
  CONCATENATE TEXT ITEXT INTO TEXT SEPARATED BY SPACE.
  LEN = STRLEN( TEXT ).
*  IF LEN GT 100.
  IF TABIX LE LINES .
      READ TABLE ITEXT INDEX TABIX.
      LEN1 = STRLEN( ITEXT ).
      TOTAL = LEN1 + LEN.
      IF TOTAL GT 132.
          MATERIALLONGTEXT-APPLOBJECT =  'MATERIAL'.
          MATERIALLONGTEXT-TEXT_NAME = ITAB-MATNR.
          MATERIALLONGTEXT-TEXT_ID  = 'BEST'.
          MATERIALLONGTEXT-LANGU  = SY-LANGU.
          MATERIALLONGTEXT-TEXT_LINE = TEXT.
          APPEND MATERIALLONGTEXT.
          CLEAR : MATERIALLONGTEXT,TEXT.
      ENDIF.
  ELSE.
          MATERIALLONGTEXT-APPLOBJECT =  'MATERIAL'.
          MATERIALLONGTEXT-TEXT_NAME = ITAB-MATNR.
          MATERIALLONGTEXT-TEXT_ID  = 'BEST'.
          MATERIALLONGTEXT-LANGU  = SY-LANGU.
          MATERIALLONGTEXT-TEXT_LINE = TEXT.
          APPEND MATERIALLONGTEXT.
          CLEAR : MATERIALLONGTEXT,TEXT.
  ENDIF.
*  ENDIF.
*  AT LAST.
*  IF LEN LE 100.
*  MATERIALLONGTEXT-APPLOBJECT =  'MATERIAL'.
*  MATERIALLONGTEXT-TEXT_NAME = ITAB-MATNR.
*  MATERIALLONGTEXT-TEXT_ID  = 'BEST'.
*  MATERIALLONGTEXT-LANGU  = SY-LANGU.
*  MATERIALLONGTEXT-TEXT_LINE = TEXT.
*  APPEND MATERIALLONGTEXT.
*  CLEAR : MATERIALLONGTEXT,TEXT.
*  ENDIF.
*  ENDAT.
  ENDLOOP.
*  AT END OF MATNR.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
         HEADDATA                   = HEADDATA
       IMPORTING
         RETURN                     = RETURN
       TABLES
         MATERIALLONGTEXT           = MATERIALLONGTEXT
         RETURNMESSAGES             = RETURNMESSAGES.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         WAIT          = 'X'.
      move-corresponding return to return1.
      APPEND RETURN1.
      CLEAR RETURN1.
      CLEAR :HEADDATA ,
             RETURNMESSAGES,
             RETURNMESSAGES[],
             MATERIALLONGTEXT,
             MATERIALLONGTEXT[].
*  ENDAT.
  CLEAR ITAB.
ENDLOOP.
LOOP AT RETURN1.
WRITE :/ RETURN1-MESSAGE.
ENDLOOP.
Change the code as per your need and you can create that by create_text fm also but wont forget to use commit_text after using create_text

Similar Messages

  • How to capture purchase order text view in mm01

    Hello All,
    Im doing recording for one material type in BDC but im not able to capture purchase order text view while creating material.
    Its not getting recorded only pls guide bcoz i have to enter purchase and sales text for new materials.
    Regards,
    Sunny

    Hi Sunny,
    I have a different sugesstion. Never use BDC if u have BAPI available for the same functionality.
    use this BAPI BAPI_MATERIAL_SAVEDATA for material creation. Even u can create the po texts here. Check the parameters MATERIALLONGTEXT and EXTENSIONIN. in FM documentation. It is pretty clear.
    Different long texts (basic data texts, purchase order texts, internal comments, sales texts, material memos) can be created for a material. This requires the fields APPLOBJECT, TEXT_NAME, TEXT_ID, and LANGU or LANGU_ISO in table parameter MATERIALLONGTEXT to contain entries. Depending on the content of field TEXT_ID, the field TEXT_NAME must have the following structure:
    The material number is transferred first. If it has fewer than 18 characters, the remaining characters must be filled with blanks. If it is a material memo (LTXT), the plant key must also be transferred from character 19 onwards; in the case of a sales text (0001), this must be the sales organization and distribution channel. The combinations allowed for the four different fields are indicated in the following table:
    APPLOBJECT TEXT_NAME  TEXT_ID    LANGU
    MATERIAL Matl no. (18 char.)  BEST, GRUN, or IVER  Language
    MDTXT Matl no. (18 char.)  LTXT    Language
    Plant
    MVKE Matl no. (18 char.)  0001    Language
    Sales organization and
    distribution channel
    Thanks,
    Vinod.

  • Long text in  PURCHASE order text view in program RMDATIND

    hi all,
    ive to upload data for material master  iam doing this using lsmw & standard object 0020  program RMDATIND.purchase order text.In this iam unable to upload purchase order text  in Purchase order text view can anyone plz tell me how to do tht??? its a bit urgent
    points will be awarded!
    rgds
    Message was edited by:
            abbaper
    Message was edited by:
            abbaper

    Hi
    In LSMW
    for Long texts Upload
    Please take a look at this..
    http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
    Regards
    Anji

  • Material Master - Purchase order Text view as plant specific

    Is there any provision in standard SAP to make Material Master u2013 Purchase order Text view as plant specific.
    Example: Material Master u2013 Sales text view is sales org & Distribution channel specific and the sales text is unique of each of the sales org and distribution channel combination.
    i.e, if we change sales text for a sales org and distribution channel combination, it will not affect the sales text of another sales org and distribution channel combination.
    Similarly, can we make the Purchase order Text view as plant specific? How to achieve this?
    As of now, if we change the text for one plant, it will be affected to all other plants also.

    Hi Pankaj, thanks for the reply.
    The solution you have given is applicable if the info record PO text is used only in Purchase order?
    Moreover, we are not using plant specific info records.
    We want to use material master PO text for some other custom transactions.
    Please give your inputs.
    Thank you.

  • Mm02 - Sales text view update?

    Hi Friends,
    I am working on the material master change (i.e MM02 transaction) and I need to upload Material master u2013sales text view and purchase order text view and all other additional data views.
    I have updated one material in recording mode (i.e through SHDB transaction).
    I am unable to find the sales text field name. But I find BDC_SUBSCR in my recording.
    Pls find the below recording log.
    SAPLMGMM     4040     X                                                                               
    BDC_OKCODE               =BU
                BDC_SUBSCR               SAPLMGMM                                 2010TABFRA1
                BDC_SUBSCR               SAPLMGD1                                1004SUB1
                MAKT-MAKTX               test material desc XXX
                BDC_SUBSCR               SAPLMGD1                                2121SUB2
    Pls let me know how to update sales text view and po text view in MM02 transaction.
    Thanks in advance.
    Regards
    raghu

    You have to use FM SAVE_TEXT to upload sales text and purchase order test.
    You can't record a BDC for custom controls like text editor.
    MOVE V_MATNR TO tname-tdname.
    MOVE 'MARA' TO TNAME-TDOBJECT.
    MOVE 'SL1 TO TNAME-TDID.
    MOVE SY-LANGU TO TNAME-TDSPRAS.
    APPEND TNAME
    TXTLINES-TDFORMAT = '*'.
    TXTLINES-TDLINE = 'This is your purchase order text'.
    APPEND TXTLINES.
    CLEAR TXTLINES.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    HEADER = TNAME
    INSERT = 'X'
    SAVEMODE_DIRECT = 'X'
    *OWNER_SPECIFIED = ' '
    *LOCAL_CAT = ' '
    IMPORTING
    *FUNCTION =
    NEWHEADER = TNAME
    TABLES
    LINES = TXTLINES
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 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.

  • Sales n Purchase Texts.

    could anyone tell me as to how the sales and purchase text are created MM01 and how r they called in the program?where r these texts stored?
    how r they used in the bdc,scripts and the reports....?
    wat r the other tables which r associated with the STXH?
    thanking u in anticipation.
    Regards,
    Sirisha Matta.

    THIS IS THE CODE
    DATA : BEGIN OF T_TEXT OCCURS 0,
            TEXT(70) ,
           END OF T_TEXT .
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT                        = SY-MANDT
        ID                            = '0001'
        LANGUAGE                      = 'DE'
        NAME                          = '0000005082000010'
        OBJECT                        = 'VBBP'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      TABLES
        LINES                         = T_TEXT
    EXCEPTIONS
      ID                            = 1
      LANGUAGE                      = 2
      NAME                          = 3
      NOT_FOUND                     = 4
      OBJECT                        = 5
      REFERENCE_CHECK               = 6
      WRONG_ACCESS_TO_ARCHIVE       = 7
      OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to load purchase text

    Hi I want to load multiple purchase text of material master data,it looks like there is no way to load with lsmw? Could you advise?

    Hi,
    In BDC:-
    Re: Uploading sales text and Purchase order text for material master
    http://wiki.sdn.sap.com/wiki/display/ABAP/MaterialMasterUpload+Program
    http://wiki.sdn.sap.com/wiki/display/Snippets/BDCProgramtoUploadMaterialMasterData+(MM01)
    pherasath

  • Why won't the iTunes Store allow me to make purchases and view my account information?

    Hello,
    I'm having several issues with my iTunes store account and was wondering if someone could help me. This is basically what happened...
    Problem #1 - iTunes store will not let me purchase music:
    I signed into iTunes (i.e. entered my Apple ID and Password). I looked up some music and pressed "Buy." A pop-up appears and says, "Are you sure you want to buy and download "Song Name?" As a response, I press the "Buy" button. Then another pop-up appears and says, "Improve Apple ID security - To help ensure the security of your Apple ID, choose 3 security questions and answers" and it also requires my Apple ID and Password. I enter my Apple ID and Password and press the "Continue" button. Another pop-up appears saying, "Sign in Required - enter your Apple ID and Password" (Note: I am already signed in at this point). So, I enter my Apple ID and Password again. However, the "Sign in Required - enter your Apple ID and Password" appears again. I'm signed in, but the iTunes store apparently believes that I'm not. Why is this happening and how do I solve this?
    Problem # 2 - iTunes store will not let me view my account information:
    While signed in, I click the button at the top right corner of the iTunes store (i.e., the button with my Apple ID on it - [email protected]). Then I click "Account." A pop-up appears saying, "Sign in to view account information - Please enter your Apple ID and password and click "Account Info." So I enter my Apple ID and password and click the "Account Info" button (Note: I am already signed in at this point). Then another pop-up appears saying, "Sign in to view account information - Please enter your Apple ID and password and click "Account Info." Once again, I enter my Apple ID and password, then press the "Account Info" button. Then, the same "Sign in to view account information" pop-up appears again.
    Basicially, I can sign into my iTunes store account, but when I want to make purchases or view my account information, iTunes continuously asks me to sign in even when I am already signed in.
    Also, it might be helpful to note the following:
    - I want to change my account info because my old credit card expired and I now have a new one (and would like to change my payment info accordingly)
    - Also, I changed my password in hopes that it would help solve these problems. However, this did not help in the least.
    I hope someone can help me out because I do not want anyone else to access my account (and spend my money) due to its apparent malufunctioning. And thanks in advance for your help!
    Cheers,
    K.E.K.

    I had similiar problems with my itunes account and after some searching found a response that helped me - perhaps it will help you also...
    It has to do with the cookie settings in Safari (of all things!)
    https://discussions.apple.com/thread/3559322?start=0&tstart=0
    I had the problem where when I started up itunes I was constantly prompted for my password regarding something about "automatic downloads". No matter how many times I typed it in, the prompt would just keep re-appearing (I tried about 8-10 times).
    When I tried to resolve the issue (based on another thread) by viewing my itunes account (in the top left drop down window where your user name is), I was getting odd messages about "make sure the date is correct", and itunes would not let me view my account.
    By turning OFF the option to block ALL cookies in Safari, the problem(s) have gone away.
    Open Safari - go to prefs - click on Privacy tab - make sure "block cookies" is set to "from third parties..."
    Good luck.
    key search terms:
    can't log into itunes
    sign in to view account
    can't access account in itunes

  • HTML Tags in Text View

    Is it possible to use HTML tags to format a string displayed
    within a text view.  If so how?

    Jonathan,
    No, this is impossible for TextView.
    In WD ABAP it is possible using FormattedTextView UI control.
    See my post that describes workaround for WD Java: /people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
    VS

  • How to print text in a new line in a text view.

    Hi,
    I have a situation where I need to print two lines inside a text view.
    for eg:     Bye Bye < user name>
                  Have a nice day!!
    I am assigning this to the context by conactenating   Bye Bye   < user name>   Have a nice day!!.
    But the text view prints it a same line.
    How can I print Have a nice day!!. in the second line. 
    Any suggestions and ideas are welcome and  appreciated.
    Thanks and regards.

    Hi,
    This link will help you to do all the functions in text view using HTML.
    [html in text view|http://help.sap.com/saphelp_erp2005/helpdata/en/08/5696420cc2c56ae10000000a155106/content.htm]
    Karthik.R

  • How to use a Text View to show the current user

    Hi Experts,
    I am using a Text View to show the current logged on user.
    Also i need to retrieve the date of creation of proposal and show it as output parameter.
    I am using the following code but it is not working properly.
    Please help me out regarding the same.
    Method technicalDescription()
    //Attribute User to store user name
    IGPAttributeInfo user = output.addAttribute("USER", IGPAttributeInfo.BASE_STRING);
                user.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
    //Attribute date to store current system date           
    IGPAttributeInfo date = output.addAttribute("DATE", IGPAttributeInfo.BASE_DATE);
                date.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
    Method execute()
    //getting current system date
    Date currDate = new Date(System.currentTimeMillis());
              contextElement.setDate(currDate);
    //Retrieve Current User Details
    try {
    IWDClientUser user = WDClientUser.getCurrentUser();
    String firstName = user.getFirstName();
    String lastName = user.getLastName();          
    String userName = lastName + " " + firstName;
    contextElement.setUserName(userName);
    } catch (WDUMException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    Method complete()
    output.setAttributeValue("USER", wdContext.currentContextElement().getUserName());
    output.setAttributeValue("Date", wdContext.currentContextElement().getDate());
    Thanks a lot.
    Cheers
    Gaurav Raghav

    There are a few ways, for example declare an IBOutlet for the text field and then use it with NSControl's stringValue: method (inherited by the NSTextField), or bind the value of the text field to a property, etc.  What have you got so far?

  • How to use a Text View to show the current user in WDJ

    Hi Experts,
    I am using a Text View to show the current logged on user.
    Also i need to retrieve the date of creation of proposal and show it as output parameter.
    I am using the following code but it is not working properly.
    Please help me out regarding the same.
    Method technicalDescription()
    //Attribute User to store user name
    IGPAttributeInfo user = output.addAttribute("USER", IGPAttributeInfo.BASE_STRING);
    user.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
    //Attribute date to store current system date
    IGPAttributeInfo date = output.addAttribute("DATE", IGPAttributeInfo.BASE_DATE);
    date.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_1);
    Method execute()
    //getting current system date
    Date currDate = new Date(System.currentTimeMillis());
    contextElement.setDate(currDate);
    //Retrieve Current User Details
    try {
    IWDClientUser user = WDClientUser.getCurrentUser();
    String firstName = user.getFirstName();
    String lastName = user.getLastName();
    String userName = lastName + " " + firstName;
    contextElement.setUserName(userName);
    } catch (WDUMException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    Method complete()
    output.setAttributeValue("USER", wdContext.currentContextElement().getUserName());
    output.setAttributeValue("Date", wdContext.currentContextElement().getDate());
    Thanks a lot.
    Cheers
    Gaurav Raghav

    You can use a text string as the reference.
    If you use the VISA Find Resource function, it will return an array of strings which you can index in your code, and store either the index, or store the string itself. You can even use strings like COM1 and COM2, assuming those ports are available.
    The challenge is when you move from one machine to another, where the serial ports may be different on the other machine.
    Message Edited by LabViewGuruWannabe on 01-07-2008 06:33 AM
    Message Edited by LabViewGuruWannabe on 01-07-2008 06:37 AM
    Attachments:
    VISA find.png ‏5 KB

  • How to populate read only input field or text view form value help only

    Hi experts,
    I have one requirement to populate a read-only field or text view from value help.
    User cant put any value there.value comes only from the value help.
    For example,
    when we read context using Code Wizard,we cant type any value there.value only comes from value help.
    How to implement that functionality?
    Please reply.
    Thanks in advance,
    Subhasis.

    Yes it is possible.
    1.Create a context Attribute and then bind this attribute to the Text view UI element.
    2. read context attribute and then set value to the context attribute like this way.
    DATA:
        elem_context1                        TYPE REF TO if_wd_context_element,
        stru_context1                        TYPE if_first=>element_context ,
        item_potxt                          LIKE stru_context-potxt.
    get element via lead selection
      elem_context1 = wd_context->get_element(  ).
    stru_context1-potxt = 'PO'.
    elem_context1->set_attribute(
        VALUE  = stru_context1
        name   = 'POTXT'
    thanks
    Suman
    Edited by: suman kumar chinnam on Sep 9, 2008 12:12 PM

  • Switching from text view to visual view in SharePoint Designer 2013 crashes 100% of the time

    Whenever I am in SharePoint Designer 2013 and try to switch a workflow from text view to visual view, SharePoint Designer crashes. Text workflows work fine. I have tried any of the solutions that I could find including:
    - Removing KB2837633 and 2768006 (neither were installed)
    - Installing SharePoint Designer 2013 SP1 (KB2817441)
    - Performing a "Repair" on both SharePoint Designer 2013 and Visio 2013
    - Clearing the caches in the AppData directory
    - Setting Visual as the default mode for workflows to open in (so, not exactly switching, but trying to open it directly in the visual view)
    Event viewer reports that it is an issue with Microsoft.Web.Authoring.ni.dll which throws an unhandled exception, System.AccessViolationException.
    This is the error message:
    System.AccessViolationException was unhandled
      HResult=-2147467261
      Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
      Source=Microsoft.Web.Authoring
      StackTrace:
           at Microsoft.Web.Authoring.Workflow.XamlWrapper.GetStageInfo(UInt32 node, String& name, UInt32& transition, UInt32&
    stageContainer)
    There is no InnerException.
    Can anyone suggest something else to try?
    Thanks!

    Hi,
    I have checked out the links above to no avail. I will keep looking. I have included the details from event viewer below.
    Details from event viewer:
    Event ID 1001
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: SPDESIGN.EXE
    P2: 15.0.4569.1503
    P3: 52b0b061
    P4: Microsoft.Web.Authoring.ni.dll
    P5: 15.0.4531.1000
    P6: 51cb6bd8
    P7: c0000005
    P8: 0012f4b8
    P9:
    P10:
    Event ID 1000
    Faulting application name: SPDESIGN.EXE, version: 15.0.4569.1503, time stamp: 0x52b0b061
    Faulting module name: Microsoft.Web.Authoring.ni.dll, version: 15.0.4531.1000, time stamp: 0x51cb6bd8
    Exception code: 0xc0000005
    Fault offset: 0x0012f4b8
    Faulting process id: 0xc3c
    Faulting application start time: 0x01cf69f7dfc05fc8
    Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\SPDESIGN.EXE
    Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.W7830ee34#\bed75c80b5bf64ca619a88ad4a48b674\Microsoft.Web.Authoring.ni.dll
    Report Id: 45c4e398-d5eb-11e3-8ff3-7054d21a367e

  • Trying to set the contents of a Text View in Objective-C

    Hi there,
    I have a properly linked up Text View (within a Scroll View) in Interface Builder, and I wish to change the value of that Text View at runtime.
    I am trying this code here, but it (and other similarities of it) is not working;
    [textField setObjectValue:@"Hello there user"];
    //or
    [textField setStringValue:@"Hello there user"];
    //or
    [textField setObjectValue:myString];
    When run, my app crashes and the console returns me with something like this;
    {quote}
    2008-04-12 11:23:43.040 Application Bugging Message Test[2251:10b] * -[NSScrollView setObjectValue:]: unrecognized selector sent to instance 0x12a490
    2008-04-12 11:23:43.041 Application Bugging Message Test[2251:10b] An uncaught exception was raised
    2008-04-12 11:23:43.041 Application Bugging Message Test[2251:10b] * -[NSScrollView setObjectValue:]: unrecognized selector sent to instance 0x12a490
    2008-04-12 11:23:43.041 Application Bugging Message Test[2251:10b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSScrollView setObjectValue:]: unrecognized selector sent to instance 0x12a490'
    2008-04-12 11:23:43.042 Application Bugging Message Test[2251:10b] Stack: (
    2460484171,
    2484588795,
    2460513354,
    2460506700,
    2460506898,
    7997,
    2460543573,
    2524339906,
    2524299500,
    2524297805,
    2524296848,
    2524296654
    {quote}
    I have also tried changing the bindings in Interface Builder, but they make no difference, whether I link the Text View (which I think I should link to) or to the Scroll View.
    Any help would be greatly appreciated.
    Ricky.

    Of course!
    I am always getting mixed up when to use the prefixes - in this case;
    [textField getStringValue:variable1];
    Thanks for reminding me
    Ricky.

Maybe you are looking for