Problem testing Standard BOR object : CATS

Hey SAPians,
I have issue with one of the standard BOR objects in SAP.
BOR Object: CATS
1. When i try to test the object, it gives a program dump, both in Development and Production environment.
2. The dump contains the following text: "ASSIGN_LENGTH_0"
This occurs in program SWO_DIALOG_OBJECT_KEY_EDIT". A sample screenshot of the dump location is given below:
The Error occurs at LINE NO 68
    65   SORT info BY editorder.                                  
    66   LOOP AT info.                                            
    67     MOVE-CORRESPONDING info TO objid.                   
    68     ASSIGN old_id+objid-offset(objid-ddlength) TO <obj_id>.
    69     IF objid-outlength > width.                            
    70       width = objid-outlength.                             
    71     ENDIF.                                                 
    72     IF objid-memoryid NE space AND                         
    73        <obj_id> = space AND                                
    74        objid_control-display = false.                      
    75       GET PARAMETER ID objid-memoryid FIELD <obj_id>.      
    76     ENDIF.                                                 
    77     objid-value = <obj_id>.                                
    78     APPEND objid.                                          
    79     ADD 1 TO height.                                       
    80   ENDLOOP.
The problem according to me is in the field "DDLENGTH" which holds value '000000'. If this field value is changed at runtime, then everything works perfect.
Now, the question is from where his value gets populated ??
Further debugging led me to a Function module : "SWO_QUERY_VERBS"
which exports a internal table with values that match exactly to the values in internal table "INFO" in the above code on whom the loop is executed.
Ppl, please guide me on this function module or the source of the function module contents...
Is it any config issue ?? If yes, what needs to be done ??
If not, then how it needs to be resolved ???
Thanks in advance.
Shashank Shirali

Hey Mates, thanks for your valuable suggestions. However, the problem was solved. I regenerated the BOR object "CATS". This is the only thing i did. This may be due to inconsistencies during upgrade....
Thanks
Shashank

Similar Messages

  • Enhance standard BOR object BUS2202

    Hi,
    I'd like to enhance the standard object BUS2202, with an additional attribute (Offer total value).
    Can someone help me with the different steps to be done:
    -Specific object creation (how to manage object inheritance? my ZBUS2202 derivates BUS2202 or the contrary ?)
    -Make the standard to use the created specific object ZBUS2202 instead of the standard BUS2202 one
    Thanks in advance for your help.
    Vadim

    Hi Vadim,
    As you know, ia m not a WF expert
    but maybe you will find something interesting in the following document :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a6d6d4bb-0601-0010-5f92-e5b8bdc74f19
    Kind regards,
    Yann

  • Problem extending standard ViewReceiptsSearchVO view object with logic on get method

    Hi All,
    EBS 12.1.3
    Database 11.2.0.3
    I am trying to extend the 3 VOs related to ViewReceiptsSearch.  I extended a seeded ViewReceiptsSearchVO view object.  I haven't made any changes yet, no columns added, nothing altered.  When I run this substitution, the "Received" column is null.  This column in the view used for the view object only selects NULL and uses the getter method for the attribute to populate the value.  The generated extension getter calls getAttributeInternal and skips the logic in the standard getter and the substituted view object is displaying the null in the screen.  The below discussion explains the problem very well except that the original posted had the issue in 11.5.10.2.  I am having this issue with 12.1.3.
    Problem extending standard view object with logic on get method
    The 3 VOs that I am having the problem are:
    ViewReceiptsSearchVO
    ViewReceiptsSearchReqVO
    ViewReceiptsSearchSupplierVO
    What do I need to do to get the "Received" column populated?  Please let me know any additional information you want to troubleshoot the issue.
    Thanks.

    Hi,
    Can you Please Share Extended ViewReceiptsSearchVO.xml and .jpx File?
    Thanks,
    Dilip

  • BOR Object Delegation

    Hi all,
    I want to know what is the advantage of having delagtion for Subtype of SAP standard BOR Object. Does it have any performance impact?
    Regards,
    Roopesh

    hi,
    you can access the customized method in the customized object  in super type itself ...
    As you have correctly noted Delegation is the opposite of Inheritance. The thing that you will have to note is that once you create a subobject of a Standard object and add some custom methods to the subtype and delegate it, it "Will" not appear in the supertype. It is only at the time of execution or at runtime that you will be able to see the custom method. For example now as you have created ZBUS2089 and delegated it, now you can go to BUS2089 and try testing the object and you will find the custom method appearing in the supertype if the method is not instance dependent. If the custom method is instance dependant then you will have to instantiate the object for the method to appear.
    This technique is present so that you will not have the necessity to change the standard object which is also not suggested.
    thanks,
    reward points if helpful...

  • BOR object for notification

    can anybody tell me any standard BOR object for notification create(IW51) and servise order create  (IW31)

    Hi,
    BOR object for Service notification: ISUSMNOTIF
    BOR object for Service order: ISUSMORDER
    Regards,
    Minal

  • ZFM to be called inside a BOR object

    Hi Experts,
    I had developed a Func Module (FM) and this is to be called inside a method or an event in the standard BOR object .
    Any Suggestions pls..
    Thanks
    Dany

    Hi Dan,
    Goto to t.code SWO1 and create a object/interface type click on create and you will be able to find one tree structure and there will be one node of method select the method and click on the create button on the application tool bar, once clicked it will ask for fucntion module, pass the fm name and the first generate it and then implement it and then release it.
    I hope you can add your fm into the bor.

  • Problem with Copied Business Object : SELFITEM

    Hi,
    sub:    Problem with Copied Business Object : SELFITEM
    I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error
    In SWI2_DIAG it is showing like this.
    Work item  cannot be read                                                
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    The problem is with COPYING The Business Object. Because , generally we extend BOR ,not copy. But i did copy.
    Please help me regarding this.
    Balaji.T.

    hi Martin,
    The problem may not be in method. because simply we copied the BO:SELFITEM into ZSELF . And i want to test this for a mail at first , whether copied BOR  is working or not.The mail is not triggering . it is saying that it is Error.
    WF_BATCH error...
    I can see error in Tx: SWI2_DIAG ,
    this is Error :
    Work item 000000639770: Object  method SWW_BI_EXECUTE_S cannot be executed
    Once it is rectified i can modify the method in BO:ZSELF.
    Thank you in Advance..
    Balaji.T.

  • Standard S_TCODE object showing Yellow trafic light

    Hi All,
    Recently I have noticed standard s_tcode object is showing Yellow traffic light (Not fully maintained) in one of the role in ECC6 system. I have tried to maintain by clicking on change button which usually doing with other objects and got succeeded to do modifications.
    I have downloaded that role and uploaded in to another ECC6 system and observed that s_tocde is in green color and not allowed me to modify it as usual.
    As per my knowledge standard s_tocde object is not modifiable but we can modify manually inserted s_tcode object.
    Please advice.
    Regards,
    Sri Vandan.

    Hi,
    What happens if you delete the role in your original system and re-upload and generate?
    I have tried that one also but getting same problem.
    propably the SU24 entries have been changed (for field S_TCODE) since the last mergeing of authorization data....
    Bernhard, can you please elaborate on this.
    Regards,
    Sri Vandan.

  • How to use Standard Authorization Object 'M_MATE_WRK'  in SE38?

    Hi all,
    We have developed one program which calculates the commercial price of the material   
      and update the same in the material master.
    Now we want to implement authorization checks at Plant Level.
    For this purpose I am Using 'M_MATE_WRK' which is standard authorization object.
    But in my Program when I am checking for it, its giving the sy-subrc value as 0.
    This indicates that either it is successful or the object is not active for this particular  program. In my case I know that its the second case only.
    So now somewhere i need to 'Check' this object for this particular Program.
    I have checked SU22 , SU24 but couldn't figure out where should i do the respective  setting.
    I am working on ECC 6.0
    Please help me on this.
    Bare with me if i am asking a silly question.

    Hello All,
    The Problem is resolved now.
    Actually it was the first case only.
    When i created the new user id and checked i realized that its working fine and there was
    some mistake while checking previously.
    Anyways thanks for ur reply.

  • How to create an inbox item with attached BOR object?

    Dear Colleagues,
    Does anyone of you know a simple way to create inbox items for a user?
    I would like to use the inbox for notifying users and attach a BOR object to the message as attachment. Is there a good and plain way to do that?
    It would also be good, to be able to do the determination of the receiver by a customizable responsibility or something similar, so that it is not hard-linked to SAP user accounts.
    Does anyone of you know a solution for this, that is not too complicated?
    Also I read that in the future notifications should be usable in the UWL (Universal Work List).
    I did not find anything but marketing material on UWL and I would not be terribly happy to set up a portal just for sending simple notifications/work items to people. Does anyone have a clue on how to accomplish this?
    That would be wonderful, thank you.
    Regards
    Christian

    Dear Scott,
    Thank you for this hint, the function looks promising.
    Is there a way to specify a receiver group and a text for the text part of the message?
    There is a Parameter called RECTYPE, which is expected to contain a "task id". The text seems to be derived in some way from the object type. Do you know any documentation or sample where this is used?
    How do I specify the recipient and the message subject and text?
    Concerning a single-step workflow: I don't know what the advantages/disadvantages are. The system receives a message or discovers a problem and wants to inform the related user.
    A simple workflow should be possible, but I have no idea what that means in terms of complexity for implementation and customizing.
    Sorry for so many questions and thank you.
    Christian

  • How do I test if an object exists? in Flash CS4(AS3.0)

    I am trying to test if an object with an instance name of "test_mc" exists.
    How would i write the code with an if statement, i have no idear?
    ~Thank you for help tips and advice.

    Hello,
    using SPSiteDataquey, you are able to query multiple lists. if your column is only on those list, you just need to query the items and see if you get 2 elements on return.
    more info there :http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • How to add authorization field to a standard authorization object

    Hi All,
    I'm trying to limit user to can only create & change X type of order type in PM module. This can be fullfill by creating suer with assigned role with only allow X type of order type.
    But when I assigned a display role which has authorization to display all order type (maintained as authorization object), now my user can create and change all order type.
    How to limit user to can only create & change X order type and only display the rest of order type?
    I assume by adding authorization field: AUFART(order type) in authorization object: I_TCODE will solve the problem, is it right? and is it possible to do that?
    regards,
    Andre

    Hi,
    your assumption is incorrect. First of all, adding a new field to standard authorization object is a bad idea. You would have to modify all checks for that object. For standard SAP object it means that you would have to modify many SAP programs.
    The authorization object I_TCODE is checked in PM transactions. It gives you authorization to run that transactions. That object can't be used to limit what you do in that transaction or what order type you can process. You are looking for some other authorization object(s). You need to go to SU24 which gives you what authorization objects are checked in particular transaction. It does not have to cover all objects but it's a good starting point.
    Cheers

  • BOR Object or ABAP Class

    Hi Experts,
    We are implementing the Leave Request WF using WS12300111. The user raises a leave request from the portal.
    As per the functional point of contact, they have said that this WF can be set up in the configuration in SPRO to be triggered when a leave request is raised.
    When we saw the standard SAP provided WF, the steps in it are based on ABAP class. I just want to know if the approach has to be only using ABAP classes or can BOR objects be used.
    We require some customizations in the sense, we need to add some custom logic to retrieve some data from some custom tables and also display the same.
    Kindly let me know if we need to use ABAP classes or we can use a BOR Object.
    Cheers,
    Belinda Clarke

    Hi Karri,
    Thanks a lot for your response.
    I was actually evaluating the possibilities of the same as our WF consultant is currently on leave. I was just seeing a scenario where they have used BOR Object for Travel and Expenses module. When i saw the standard WF for Leave Request WS12300111, I was seeing mainly ABAP Objects and there was no BOR objects used.
    I just wanted to confirm whether we could create a BOR Object or go on with the ABAP Classes. Does the ABAP Classes involve a lot of effort? We need to actually send email notifications and add some new steps etc...so was just thinking as to which would involve more effort.
    We need to actually retrieve data from table PTREQ_ATTABS and send the email notification to the concerned user whenever the leave request is approved/rejected/cancelled as shown below :
    Your leave request has been approved/rejected
    Name : abcde
    Emp No : 123456
    Type of Leave : Annual Leave
    Date : 7th July to 11th July
    No. of Days : 3 days
    So do u imply that all of this can be done with an ABAP Class
    Could you kindly guide us.

  • How to Change behavior of standard text object&text ID (SE75)?

    Hello there!!
    I'm struggling with this:
    For standard text object C_SHES_ACH & ID 0001 (EHS: IHS Safety Measures) wichs is used as a description for safety measures (CBIH82/CBIH02..) need that when the user create or edit the text, already appears a "Fill in the blanks"  form.
    For example, in CBIH82, editing an accident log, I go to Safety measures Button, then create a safety meassure, and when i click for long text description something like this should appear:
    TEXT 1 (1st Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    TEXT 2 (2nd Title)
    user line
    user line
    user line
    user line
    (free amount of user lines)
    Thanks a lot for your feedback!
    Rgds!!

    Hii,
    I am unable to understand exactly wat you want.
    But for free amount of lines : Keep that text under LOOP. Right click on template or window and create a loop and under that loop keep the text ,you can get many lines. or the given below point plzz follow.
    1,Use SO10 Tcode to write standard text in Smartform.
    2.For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    3.
    1. take function module name of the smartform.
    2. goto se37 and type that fm name.
    3. goto attributes tab
    4. double click on either program or include .
    5. There u can find all the subroutines used inside smartform.
    6. search for "perform %move using %textkey-name".
    4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
    check the tables STXH & STXL.
    5.
    How to CAll Standard Text in Smart Forms
    In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.

  • Problem in Standard CO Reports

    Hi Sap Gurus,
    I'm facing a problem in Standard Controlling Reports, when generating reports such as S_ALR_87013011 known as  Orders: Actual/Plan Variance, the currency displayed was "Value in report currency", now we need to change it to  "Value in object currency".
    How will I change it?
    Please help.
    Thanks

    Hello,
    Please check if this can be changed in Layout setting. Pick up the fields from hide area to display area.
    However, you go to OKKP settings and see what is the controlling area currency has been used.
    Please note that changing the controlling area currency at this would have its own complications at this stage. Go through the relevant notes before changing controlling area currency.
    Regards,
    Ravi

Maybe you are looking for

  • "Default" attribute in XML not getting populated in BPEL process

    Hi. I have a SOA 11g composite that listens to an inbound MQ (using JMS Adapter), which handovers the request to a BPEL process. In the input xml, some of the elements have "default" attribute. So, if the user doesnot populate these values in the inp

  • Target blank in PHP

    Hello every body: I'm using DW to design Dynamic web site. In footer I need write the following sentence: Designed by: My Web Site Name. When click on My Web Site Name. It should open my own web in new window.. My code was html code: Designed By:<a h

  • Nokia 5700 512 mb bundled micro sd card problem.

    hi, i am getting "certifictae error.Contact application supplier" error after about 80% installation is complete on most of my .jar files on this nokia supplied micro sd card.i cud install some of these apps. earlier.( the phone is only 7 days old).

  • Month End Closing Procedure.

    Hi, Can some one send me month end closing activites carried out with  T Code to my mail id is [email protected] Points will awarded. Regards, Kiran.

  • While executing mapping facing Warnnings

    Hi All, We are executing mappings facing the following Warnnings Weekly once or twice its happening remaing days its executing sucessfully. Warnnings as follows: Warning CursorFetchMapTerminationRTV20007 Warning ORA-01002: fetch out of sequence ORA-0