Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

hi urgent plz(string processing)

LOOP AT int_objnr.

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

client = sy-mandt

flg_user_stat = 'X'

objnr = int_objnr-objnr

only_active = 'X'

spras = sy-langu

  • BYPASS_BUFFER = ' '

IMPORTING

  • ANW_STAT_EXISTING =

  • E_STSMA =

line = fs_line

user_line = fs_user

  • STONR =

  • EXCEPTIONS

  • OBJECT_NOT_FOUND = 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.

IF fs_line CA 'REL'.

IF fs_user NA 'FBLK'.

MOVE int_objnr-objnr TO output-objnr.

APPEND output.

ENDIF.

ENDIF.

ENDLOOP.

actuall my internal table consists of lot of records.i want take the numbers i.e, my <b>fs_line</b> field should contain REL AND fs_user should not contain FBLK .

THIS IS MY SCENARIO.

the above coding does not check the above logic.

plz suggest me a solution

regards]

karthik

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question