on 10-19-2015 11:52 AM
Hi,
I have copied and modified leave request workflow (WS12300111)
Now i am trying to get values from req object into an internel table .
I have tried swc_get_element container macro and used object but i can't catch the values into an internal table .
I used a BOR object type for this .
Thanks in advance everyone
Hi,
I need to get BEGDA from the atts to a variable.. But when is macro swc_get_table container is not working for me i have tried object too .. but none is working..
I tried to bind the ATTS - name and value to different containers and that is working fine but i couldn't get it in BOR object
I'm using BOR object because i have to convert date from to a string like this 'BEGIN DATE<$>15-09-2015 '
(Sorry I am new to abap i'm sorry if i couldn't help much please tell me what more you need to know more)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Toney,
I would seriously suggest getting help from someone locally, this is basic ABAP. There's nothing wrong with being new to ABAP, or asking here, but it could take a long time to do over the internet what you can solve in 5 minutes with another developer at your desk.
To get a concatenated value from an object, create a functional method
METHODS: get_date_with_stuff RETURNING VALUE(r_date) type DATS.
Then in your method implementation do your string bit:
METHOD get_date_with_stuff.
r_date = me->begdate && ' Stuff'.
ENDMETHOD.
and in your using program call it:
...
my_stuffed_date = myobj->get_date_with_stuff( ).
...
Regards,
Mike
I have tried swc_get_element container macro and used object but i can't catch the values into an internal table .
I used a BOR object type for this .
The leave request is a class, using BOR here is like hooking a caravan onto a Ferrari. As Rick said, share what you're doing (and more importantly, what you're trying to accomplish).
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show the abap you used. Showing the container doesn't help much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.