Makt_single_read
Hi experts,
I am using makt_single_read function module.
I got a short dump error while executing this FM.
It point out the SPRAS parameter.
Pls any one give one example to use this function module.
Thanks.
Message was edited by:
Murugan Arumugam
Hi Murugan,
Try this code.
TABLES : MARA, MAKT.
DATA : BEGIN OF I_DATA OCCURS 0,
MATNR LIKE MARA-MATNR,
END OF I_DATA.
DATA : LS_WMAKT LIKE MAKT.
SELECT MATNR FROM MARA INTO TABLE I_DATA.
LOOP AT I_DATA.
CALL FUNCTION 'MAKT_SINGLE_READ'
EXPORTING
KZRFB = ' '
MAXTZ = 0
MATNR = I_DATA-MATNR
SPRAS = SY-LANGU
IMPORTING
WMAKT = LS_WMAKT
EXCEPTIONS
WRONG_CALL = 1
NOT_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
ENDIF.
WRITE : / LS_WMAKT-MAKTX .
ENDLOOP.
Thanks,
Reward If Helpful.
Similar Messages
Maybe you are looking for
-
ITunes shows added music but won't play
Hi, I recently started having problems with newly added mp3's to my iTunes library. iTunes appears to have added the song to my library, as it shows up in the recently added playlists and music tab, however when I click to play the song, it skips to
-
Hi All Am running first time Manual Reconciliation for my client, please advise me and what all fields need to take care and how the transactions takes place. i have one more doubt.. the user already posted this entry, before clearing the vendor line
-
Prime infrastructure 2.0 - Inventory error with Virtual-Access Interface
Hi, We have recently been trying to resolve a few issues with routers which get partial inventory failures upon discovery. I have managed to narrow this down slightly with the help of the inventory.log file. (With help from this post https://supportf
-
How to get rid of System extension warnings
Every time I open up my macbook pro with OSX 10.6.8 I get a series of system warning window that appear dealing with extensions (.kext) in the system/library/extension folder that go from saying that the extension was improperly installed to one that
-
How do I download OS 10.6.7 to an external drive? For some reason I get an error message when I try to download directly to my MacBook Pro from Software Update or from the Apple Downloads site.