on 05-22-2006 8:19 AM
Hi All,
While creating cProject using BAPI_BUS2172_CREATE, how can i assign fill data for project description. I have project description in 5 lines say:
line1
line2
line3
line4
line5
In BAPI, PROJECT_DESCRIPTION_PART1 is RAW(255) data type so how can i assign my char/string data type to RAW datatype?
Thanks in Advance
JIT
Hi Jitendra,
I'm facing the same problem in cProjects as yours.
Please let me know if u came across any solution for creating the
Description field for project?
Hope to get timely help from you.
Thanks in adv.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look at the below FM to convert from Char to RAW.
FUNCTION z_convert_char_to_raw.
*"----
""Local interface:
*" IMPORTING
*" REFERENCE(GUID_C) TYPE CRMT_PARTNER_NO
*" EXPORTING
*" REFERENCE(GUID_R) TYPE BU_PARTNER_GUID
*"----
TYPES: BEGIN OF x_guid,
guid TYPE crmt_partner_no,
END OF x_guid.
DATA : lt_guid_c TYPE TABLE OF x_guid,
ls_guid_c LIKE LINE OF lt_guid_c.
DATA : lt_guid_r TYPE crmt_object_guid_tab,
ls_guid_r LIKE LINE OF lt_guid_r.
ls_guid_c = guid_c.
ls_guid_r = ls_guid_c.
guid_r = ls_guid_r.
ENDFUNCTION.
Thanks
Jit
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.