2010 Jan 11 8:16 AM
Hello Experts,
I am using BAPI_PR_CREATE bapi for creating a PR my problem is as follows i am getting the header text in a string format and i need to build the table from string for the paramater PRHEADERTEXT LIKE BAPIMEREQHEADTEXT for bapi
can i get a function module for this and
another Question is that i want to add a long text at header level just like we add at line item
2010 Jan 11 8:33 AM
i am getting the header text in a string format and i need to build the table from string
I have a soln for this prob..
DATA: BEGIN OF TABLE OCCURS 10 ,
STR(100),
END OF TABLE.
DATA WA LIKE LINE OF TABLE.
CALL FUNCTION 'IQAPI_WORD_WRAP'
EXPORTING
TEXTLINE = 'sumit12sddadsadasd3456789'
* DELIMITER = ' '
OUTPUTLEN = 5 " this is the length of each peice
* IMPORTING
* OUT_LINE1 =
* OUT_LINE2 =
* OUT_LINE3 =
TABLES
OUT_LINES = TABLE
* EXCEPTIONS
* OUTPUTLEN_TOO_LARGE = 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.
Regards,
Sumit Nene
Hello Experts,
I am using BAPI_PR_CREATE bapi for creating a PR my problem is as follows i am getting the header text in a string format and i need to build the table from string for the paramater PRHEADERTEXT LIKE BAPIMEREQHEADTEXT for bapi
can i get a function module for this and
another Question is that i want to add a long text at header level just like we add at line item
2010 Jan 11 8:33 AM
i am getting the header text in a string format and i need to build the table from string
I have a soln for this prob..
DATA: BEGIN OF TABLE OCCURS 10 ,
STR(100),
END OF TABLE.
DATA WA LIKE LINE OF TABLE.
CALL FUNCTION 'IQAPI_WORD_WRAP'
EXPORTING
TEXTLINE = 'sumit12sddadsadasd3456789'
* DELIMITER = ' '
OUTPUTLEN = 5 " this is the length of each peice
* IMPORTING
* OUT_LINE1 =
* OUT_LINE2 =
* OUT_LINE3 =
TABLES
OUT_LINES = TABLE
* EXCEPTIONS
* OUTPUTLEN_TOO_LARGE = 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.
Regards,
Sumit Nene
2010 Jan 11 10:38 AM
Hello experts your views on adding a one more header note like extra long text for PR ?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |