2LIS_13_VDITM Enhancement problem
Dear Experts,
Below is the Code which i wrote in the EXIT_SAPLRSAP_001 Function exit. There are two field which i wanted to fill (TSR and Profit Center) but only Profit center is getting filled. Please let me know what is wrong in this code.
WHEN '2LIS_13_VDITM'.
REFRESH : it_VDITM.
CLEAR : it_VDITM.
it_VDITM[] = c_t_data[].
SORT it_VDITM BY VBELN.
Getting TSR -
SELECT KUNNR VBELN
FROM VBPA
INTO CORRESPONDING FIELDS OF TABLE IT_VBPA
FOR ALL ENTRIES IN it_VDITM
WHERE VBELN = it_VDITM-vbeln.
Getting Profit Center -
SELECT PRCTR POSNR VBELN
FROM VBRP
INTO CORRESPONDING FIELDS OF TABLE IT_VBRP
FOR ALL ENTRIES IN it_VDITM
WHERE VBELN = it_VDITM-vbeln and
POSNR = it_VDITM-POSNR.
LOOP AT c_t_data INTO l_s_vditm.
l_tabix = sy-tabix.
-----------------------------------------------TSR --------------------------------------------------------------------------------
READ TABLE IT_VBPA INTO WA_VBPA WITH KEY VBELN = l_s_vditm-vbeln PARVW = 'ZM'.
IF SY-SUBRC = 0.
l_s_vditm-zztsr1 = WA_VBPA-KUNNR.
ENDIF.
Profit Center -
READ TABLE IT_VBRP INTO WA_VBRP WITH KEY VBELN = l_s_vditm-vbeln posnr = l_s_vditm-posnr.
IF SY-SUBRC = 0.
l_s_vditm-zzprof1 = WA_VBRP-PRCTR.
ENDIF.
MODIFY c_t_data FROM l_s_vditm INDEX l_tabix.
ENDLOOP.
ENDCASE.
Thanks in Advance.
Regards
B.Virupasan
Thanks rookie
i have changed the code , but still i am not getting the Values for TSR. But when i remove the Profit Center code then TSR is getting filled.
New Code :
TABLES: vbpa,vbrp.
DATA : l_s_vditm LIKE mc13vd0itm,
l_tabix LIKE sy-tabix,
tsr TYPE kunnr,
prof TYPE prctr,
it_VDITM TYPE TABLE OF mc13vd0itm.
*****pramod**
TYPES:BEGIN OF TY_VBPA.
INCLUDE STRUCTURE VBPA.
TYPES:END OF TY_VBPA.
TYPES:BEGIN OF TY_VBRP.
INCLUDE STRUCTURE VBRP.
TYPES:END OF TY_VBRP.
DATA: IT_VBPA TYPE TABLE OF TY_VBPA,
WA_VBPA TYPE TY_VBPA,
IT_VBRP TYPE TABLE OF TY_VBRP,
WA_VBRP TYPE TY_VBRP.
WHEN '2LIS_13_VDITM'.
REFRESH : it_VDITM.
CLEAR : it_VDITM.
it_VDITM[] = c_t_data[].
SORT it_VDITM BY VBELN.
SELECT KUNNR VBELN PARVW
FROM VBPA
INTO CORRESPONDING FIELDS OF TABLE IT_VBPA
FOR ALL ENTRIES IN it_VDITM
WHERE VBELN = it_VDITM-vbeln.
SELECT PRCTR POSNR VBELN
FROM VBRP
INTO CORRESPONDING FIELDS OF TABLE IT_VBRP
FOR ALL ENTRIES IN it_VDITM
WHERE VBELN = it_VDITM-vbeln and
POSNR = it_VDITM-POSNR.
LOOP AT c_t_data INTO l_s_vditm.
l_tabix = sy-tabix.
CLEAR SY-SUBRC.
READ TABLE IT_VBPA INTO WA_VBPA WITH KEY VBELN = l_s_vditm-vbeln PARVW = 'ZM'.
IF SY-SUBRC = 0.
l_s_vditm-zztsr1 = WA_VBPA-KUNNR.
ENDIF.
CLEAR SY-SUBRC.
READ TABLE IT_VBRP INTO WA_VBRP WITH KEY VBELN = l_s_vditm-vbeln posnr = l_s_vditm-posnr.
IF SY-SUBRC = 0.
l_s_vditm-zzprof1 = WA_VBRP-PRCTR.
ENDIF.
MODIFY c_t_data FROM l_s_vditm INDEX l_tabix.
ENDLOOP.
ENDCASE.
Similar Messages
-
PB30 Short Profile enhancement problem
Hi Experts,
If you go to the PB30 Tcode there is a tab for applicant short profile..named just 'short profile'.When you hit that, it shows all the details of the applicant which you have entered from T code PB10 which is Initial entry of applicant master data.
On this short profile screen I need to enhance it with an additional field PERNR which is the personel number which is currently non existing.The output of this screen seems to be coming from a Script which I am not able to identify yet.When I dig into the code It leads me to SAPMSSCD mainline and there is some heavy logic for getting the output onto the screen using an OTF table.I am really not able to figure out how and where do I get this new field to populate in the OTF table with the existing logic..or do I need to modify the inbuilt coding or is there any other efficient way.
Thanks,
Nipunhi Nipun to you found some solution for your problem. Iwant to know how to change the language of the sapcript...the short profile appears in English and i want in Portuguese. let me know if you found something.
regards
Mário -
Text enhance problems!!
I recently bought a macbook pro 13'' and haven't really done to much on it, i went onto safari a couple of days ago and noticed some words were highlighted and when i scrolled over them pop up ads came up,, it is still here and after doing research i found out the problem was something called text enhance virus..? i don't know much about computers but i went onto preferences and blocked add ons.. still the problem is here, i have seen a few people talking about this problem and people are saying to go on to preferences-extensions-and disable extensions but when i go onto extensions nothing comes up.. does anybody else have any idea how to get rid of the problem and if you know if there is a bigger problem i.e a virus on my mac, although i am told macs don't get viruses? If anybody has any idea PLEASEE help as it is driving me crazy, thanks.
To remove the Codec-M spyware, first back up all data, then select
Safari ▹ Preferences... ▹ Extensions
from the Safari menu bar. For any extension with a name you don't recognize, select it and click Uninstall. If in doubt, delete all extensions.
If you use Firefox or Chrome, do the equivalent in those browsers. You might have to delete Chrome completely and reinstall it from a fresh download.
Triple-click anywhere in the line of text below on this page to select it:
~/Library/LaunchAgents/com.codecm.uploader.plist
Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open with a file selected. Delete the selected file. Then do the same with this line:
~/Library/Application Support/Codec-M
Finally, this:
/Applications/Codec-M.app
This time you may be prompted for your administrator password.
Log out and log back in. -
Hi All,
I am trying to enhance the datasource 0FI_GL_4 , I added the field Kursf to this datasource
and then wrote an user exit to populate this field.When i tried to check the data in Rsa3,
I was just able to find this field but there was'nt any data in it.
Following is the code that i used to populate.Please tell me if anything is wrong with the
code.
Thanks in advance.
data: i_tab like dtfigl_4,
l_tabix like sy-tabix.
tables:bkpf.
case i_datasource.
when '0fi_gl_4'.
l_tabix = sy-tabix.
loop at c_t_data into i_tab.
select kursf into i_tab-zzkursf from bkpf
where bukrs = i_tab-bukrs.
endselect.
if sy-subrc = 0.
modify c_t_data from i_tab index l_tabix.
endif.
endloop.
endcase.Hi,
here some corrections:
data: i_tab like dtfigl_4,
l_tabix like sy-tabix.
tables:bkpf.
case i_datasource.
when '0fi_gl_4'.
when '0FI_GL_4'.
*l_tabix = sy-tabix.
loop at c_t_data into i_tab.
l_tabix = sy-tabix. "this one is the most important change
*select kursf into i_tab-zzkursf from bkpf
*where bukrs = i_tab-bukrs.
*endselect.
Try to find another table as you will normally get
lots of records per company code.
select single kursf into i_tab-zzkursf from bkpf
where bukrs = i_tab-bukrs.
if sy-subrc = 0.
modify c_t_data from i_tab index l_tabix.
endif.
endloop.
endcase.
regards
Siggi -
Me53n Enhancement problem in displaying Save data
Dear gurus
i have added two field in structure CI_EBANDB
1) Date1
2) Date2
In PBO of Screen 0111 i have use this code
CHECK FL_INPUT IS INITIAL. "FL_INPUT is global field for FLAG DATA: FL_INPUT TYPE FLAG.
LOOP AT SCREEN.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
in EXIT_SAPLMEREQ_003
i used this code
ex_changed = 'X'.
if sy-tcode = 'ME52N' or sy-tcode = 'ME51N'.
data : req_ref type ref to if_purchase_requisition,
req_items type mmpur_requisition_items,
req_item type mmpur_requisition_item,
req_it_data type mereq_item.
call method im_req_item->get_requisition
receiving
re_requisition = req_ref.
if req_ref is bound.
call method req_ref->get_items
receiving
re_items = req_items.
if req_items is not initial.
loop at req_items into req_item.
if req_item-item is bound.
call method req_item-item->get_data
receiving
re_data = req_it_data.
move eban-zzitemremarks to req_it_data-zzitemremarks.
move eban-zzitemremarks1 to req_it_data-zzitemremarks1.
* Move all the custom screen fields.
call method req_item-item->set_data
exporting
im_data = req_it_data.
endif.
endloop.
endif.
endif.
endif.
the problem im facing is that im able to save the data but im not able to view the data when i run the T-Code me53n
please help
regards
Saad NisarClosed Not answered
-
VA01 CAN'T BE RUN DUE TO ENHANCEMENT PROBLEM
DEAR EXPERTS ,
I have displayed object-type CL_EXITHANDLER using SE24. Then on double-clicking GET_INSTANCE (RETURNS A
REFERENCE TO A GENERATED EXIT-CLASS) a code gets displayed. There on the line CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE I have put a break-point. Then I have run / N VA01 as I wanted
to find the BADI'S on VA01 transaction.
Upon doing so , I got a RUNTIME ERROR stating :
TRIGGER LOCATION OF RUNTIME-ERROR :
PROGRAM SAPMV45A
INCLUDE RMCSSV01
ROW 6
AFTER THAT WHENEVER I GO TO TRANSACTION VA01 (VA02 , VA03 as well) I get the same runtime-error , that is I can't run those transactions any way.
I have DELETED the 'BREAK-POINT' , EXIT THE DEBUGGER . Then went to se38 to run the program : 'SAPMV45A', BUT COULDNOT SET BREAK-POINT THERE, as AN ERROR STATING ' breakpoint not set due to generation problem' IS COMMING.
PLEASE HELP ME.
Moderator message: please do not post in all upper case.
Edited by: Thomas Zloch on Jun 30, 2011 5:51 PMYou're running 10.9 (Mavericks) correct?
Reboot the machine while holding down the command and R keys. This will boot into the recovery partition. Select Reinstall Mavericks from the menu, clcik continue. You will need an internet connection for this.
See Recovery Systtem
Recovery System
OS X Recovery includes a built in set of utilities as part of the Recovery System. To start your computer from Recovery, restart your Mac and hold down the Command key and the R key (Command-R). Press and hold these keys until the Apple logo appears. This indicates that your Mac is starting up. After the Recovery System finishes starting up, you should see a desktop with an OS X menu bar and a "Mac OS X Utilities" window. Note: If you see a login window or your own desktop and icons, it's possible that you didn't hold Command-R early enough. Restart and try again. -
Enhancing Problem with FB1D Transaction
Hi
when posting the documents in fb1d transaction
i have to restrict the dummy profit center value for one user.
when sending more line items it is not possible for me.
how to solve this problem.click on the action type that you want to perform and try hitting execute.
-
Purchase requsition enhancement problem
when i am execute me51n that time no value is fetched in lv_bwtty and lv_bwtar from mbew.
DATA: lw_req_item TYPE mereq_item,
lv_bwtar TYPE bwtar_d, " valuation type
lv_bwtty TYPE bwtty_d. " valuation catagory
CLEAR: lw_req_item,lv_bwtar,lv_bwtty.
* DATA:
* bwtar TYPE MBEW-bwtar,
* bwtty TYPE MBEW-bwtty.
IF im_item IS NOT INITIAL.
CALL METHOD im_item->get_data
RECEIVING
re_data = lw_req_item.
ENDIF.
IF sy-tcode EQ 'ME51N' AND lw_req_item IS NOT INITIAL.
SELECT SINGLE bwtar bwtty FROM mbew INTO (lv_bwtar , lv_bwtty)
WHERE matnr = lw_req_item-matnr AND bwkey = lw_req_item-werks.
* AND bwtty = 's' OR bwtty = 'b' OR bwtty = 'k' OR bwtty = 'z' OR bwtty = ' '.
IF sy-subrc EQ 0.
IF lv_bwtty = 'S' OR lv_bwtty = 'b' OR lv_bwtty = 'k' OR lv_bwtty = 'z' OR lv_bwtty = ' ' AND lv_bwtar <> lw_req_item-bwtar.
MESSAGE 'valuation type does not exits in Material Master' TYPE 'E'.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
how can i resolve that issue..Hi, Kaustav,
Check the material value is same as the mbew table content.
if not use fm CONVERSION_EXIT_ALPHA_INPUT.
try to use all key fields for select single or use into table.
SELECT SINGLE bwtar bwtty FROM mbew INTO (lv_bwtar , lv_bwtty)
WHERE matnr = lw_req_item-matnr AND bwkey = lw_req_item-werks.
check sy-subrc 0.
IF lv_bwtty = 'S' OR lv_bwtty = 'b' OR lv_bwtty = 'k' OR lv_bwtty = 'z' OR lv_bwtty = ' ' AND lv_bwtar <> lw_req_item-bwtar.
exit.
ENDIF.
endselect.
Regards,
Venkat. -
Re : PPCO0012 Enhancement Problem
Hi Freinds,
I have a created a Project in cmod for PPCO0012 and in this exit when i am trying to create a screen exit for the foloowing SAPLXCO1 0100.
when i activated the folllowing screen it is defaultly storing in the $TMP (Local) object . How i need to move this screen from One system to other system.
I have tried various ways but it is not working .
Could you please suggest me how to overcome this issue.
Thanks in Advance.
Thanks
Arjun.Arjun,
You can't move it to any other system unless you assign it a valid custom package.
So, try to change the package from $tmp to other. Open Screen in SE80, GOTO-->Object directory Entry and change package there.
IF it doesn't work, try SE03 to change object directory entry for your component there.
Regards,
Diwakar -
Line drawings distorted by Adobe Reader's Thin Line Enhancement feature
I am working with InDesign CS6 on an engineering textbook with approximately 1300 line drawings. When a pdf exported from InDesign is viewed in Adobe Reader XI, the line widths of the drawings are distorted by Reader's Thin Line Enhancement feature. The default setting for Thin Line Enhancement in Reader is on. I understand that Reader's user features cannot be controlled by a document. Is there anything I can do in InDesign to would reduce the effect of Reader's Thin Line Enhancement on the image quality?
(Ironically, the art work drawn in Illustrator in a pdf and exported from InDesign looks fine in Google Chrome, but wretched in Adobe Reader!)Thank you for your response. The textbook is to be printed and presented as an ebook. The print version is not a problem nor is the ebook version when viewed in a pdf viewer other than Adobe Reader, or in Adobe Reader in the non-default state with the Thin Line Enhancement feature disabled.
I attempted to resolve the Adobe Reader Thin Line Enhancement problem by increasing line widths and ensuring that interrupted lines segments were aligned. Sadly, the overall size of the illustrations limits the the maximum width of the thinnest lines and Thin Line Enhancement problem persisted.
The reason I ask if there is anything which can be done within InDesign to counter the distortion of Reader's Thin Line Enhancement is the following observation. An MS Word document with the same illustrations embedded as png graphics and saved as a pdf does not suffer the Thin Line Enhancement distortion when viewed in Adobe Reader. I am hoping that whatever is done when MS Word saves a document as a pdf can be replicated when InDesign exports a pdf. Unfortunately, I am constrained by my publisher to link rather than embed the graphics. I have experimented linking eps, Illustrator, and pdf graphics files but they pdfs exported from InDesign were distorted when viewed in the default configuration of Adobe Reader.
I must disagree with your assertion that the only correct way to view the pdf is in Adobe Reader. Adobe Reader distorts the images unless the user has disabled the Thin Line Enhancement. I believe that I am a typical user of Adobe Reader in that I was unaware that the feature existed until recently. I mistakenly presumed that what may have been distorted graphics were simply poor quality graphics. Given my choice, I would hope that none of the future readers of the text use Adobe Reader, but, unfortunately, I know that many will. That is why I am attempting to resolve this problem. -
Tutorial problem 'no metadata'
Hi there,
I'm working through the tutorial under an evaluation license of the
standard edition, and have gotten stuck in Chapter IV: Inventory
Growth. When I go to do the enhancement after compiling, the enhancer
complains
'Type "tutorial.Rabbit" has no metadata; enhancing as
persistence-aware.'
which then manifests itself again by having the schematool throw an
exception:
'Exception in thread "main" javax.jdo.JDOFatalUserException: Type
"class tutorial.Rabbit" does not have JDO metadata.'
What's going wrong? How do I fix it?
Notes that may be of assistance:
(1) Yes, I checked that my Rabbit.java is the same as in the
tutorial.solutions package.
(2) Yes, I updated the package.jdo file. But I've attached it just in
case something's wrong here.
(3) For the sake of thoroughness, I have been recompiling everything
before the enhancement step (which I always do via the package.jdo file
rather than naming the specific classes via the command-line
parameters).
(4) I'm not using the project structure implied by the tutorial. I'm
using my company's standard:
KodoTutorial\
src\tutorial - the .java source files.
bld - the resulting .class files.
This hasn't caused problems in prior chapters, though.
(5) I'm using Sybase db & drivers and the GenericDictionary. But this
wouldn't cause the enhancer problem, of course. And it's worked fine
anyway.
(6) I'm compiling via JBuilder.
(7) JDK 1.4.0 beta.
TIA.
Angus.it' s possible, that the path, where your xml-file package.jdo is right.
bin\tutorial
can be. Than can the enhancer identify, that a jdo-file exists and
can this can make persistance-capable.
ok, cheers heiko
"Angus Monro" <[email protected]> schrieb im Newsbeitrag
news:[email protected]...
Hi there,
I'm working through the tutorial under an evaluation license of the
standard edition, and have gotten stuck in Chapter IV: Inventory
Growth. When I go to do the enhancement after compiling, the enhancer
complains
'Type "tutorial.Rabbit" has no metadata; enhancing as
persistence-aware.'
which then manifests itself again by having the schematool throw an
exception:
'Exception in thread "main" javax.jdo.JDOFatalUserException: Type
"class tutorial.Rabbit" does not have JDO metadata.'
What's going wrong? How do I fix it?
Notes that may be of assistance:
(1) Yes, I checked that my Rabbit.java is the same as in the
tutorial.solutions package.
(2) Yes, I updated the package.jdo file. But I've attached it just in
case something's wrong here.
(3) For the sake of thoroughness, I have been recompiling everything
before the enhancement step (which I always do via the package.jdo file
rather than naming the specific classes via the command-line
parameters).
(4) I'm not using the project structure implied by the tutorial. I'm
using my company's standard:
KodoTutorial\
src\tutorial - the .java source files.
bld - the resulting .class files.
This hasn't caused problems in prior chapters, though.
(5) I'm using Sybase db & drivers and the GenericDictionary. But this
wouldn't cause the enhancer problem, of course. And it's worked fine
anyway.
(6) I'm compiling via JBuilder.
(7) JDK 1.4.0 beta.
TIA.
Angus.
<?xml version="1.0"?>
<jdo>
<package name="tutorial">
<class name="Animal" />
<class name="Dog" persistence-capable-superclass="Animal" />
<class name="Rabbit" persistence-capable-superclass="Animal" >
<field name="parents">
<collection element-type="Rabbit"/>
<extension vendor-name="tt" key="inverse" value="children"/>
</field>
<field name="children">
<collection element-type="Rabbit"/>
<extension vendor-name="tt" key="inverse"value="parents"/>
</field>
</class>
</package>
</jdo> -
I am using Vista RC 32bit with an Audigy Platnium. Sound is working fine using the latest available drivers. My problem is with the new audio enhancements I've read about, such as Loudness Equalization.
http://arstechnica.com/news.ars/post/20060907-7682.html
Will cover an example of this. When I initially go into the Playback Devices I get an error that states the following,
Audio Enhancements Problem
Windows has detected that audio enhancements for the following device are causing problems:
Speakers (Creative SB Audigy)
Would you like to disable Driver Enhancements for this device?
Yes No
If I click yes, this never comes back. If I click no, it says this each time I open this dialog. My problem is that I do not get the "Enhancements" tab in the speakers properties. Is anyone else having this problem? An old do-nothing USB sound card I have laying around even worked properly with this. Anyone have any ideas?I am using Vista RC 32bit with an Audigy Platnium. Sound is working fine using the latest available drivers. My problem is with the new audio enhancements I've read about, such as Loudness Equalization.
http://arstechnica.com/news.ars/post/20060907-7682.html
Will cover an example of this. When I initially go into the Playback Devices I get an error that states the following,
Audio Enhancements Problem
Windows has detected that audio enhancements for the following device are causing problems:
Speakers (Creative SB Audigy)
Would you like to disable Driver Enhancements for this device?
Yes No
If I click yes, this never comes back. If I click no, it says this each time I open this dialog. My problem is that I do not get the "Enhancements" tab in the speakers properties. Is anyone else having this problem? An old do-nothing USB sound card I have laying around even worked properly with this. Anyone have any ideas? -
Error on BED,AED,SED in MIGO
Hi experts,
When i am working on MIGO and if i enter the Excise values on item level ( BED,SED,ECS) i am getting a DUMP error. I have asked all the ABAPers and they are unaware of it. I am not sure if it is a ABAP enhancement problem or MM problem.
The following is the error :
Runtime Errors MESSAGE_TYPE_X
Date and Time 01.03.2012 16:55:29
Short dump has not been completely stored (too big)
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
Balance in transaction currency
Technical information about the message:
Message classe...... "F5"
Number.............. 702
Variable 1.......... 00
Variable 2.......... " 100.000"
Variable 3.......... "INR"
Variable 4.......... " "
Trigger Location of Runtime Error
Program SAPLMBWL
Include LMBWLU21
Row 59
Module type (FUNCTION)
Module Name MB_POST_GOODS_MOVEMENT
Line SourceCde
29 * when a goods movement for an inbound or outbound delivery is posted
30 * directly from VL31N/ VL01N, XBLNR is not yet known when we call
31 * CKMV_AC_DOCUMENT_CREATE, but the number is supposed to be stored in
32 * BKPF as well. There is no other way to forward XBLNR to FI as not
33 * every document is posted by MB_CREATE -> a new function module in
34 * MBWL for transferring the information, called by FI, meant to load
35 * the complete function group for all MBxx postings when this isn't
36 * required (Performance). Would be the better way to transport the
37 * information after switching off MBxx in later release.
38 * corresponding IMPORT ... FROM MEMORY ... can be found in
39 * AC_DOCUMENT_POST (FORM FI_DOCUMENT_PREPARE (LFACIF5D))
40 l_mem_id = 'MKPF-XBLNR'. " 641365
41 EXPORT xblnr = xblnr_sd TO MEMORY ID l_mem_id. " 641365
42 ENDIF.
43 IF xmkpf-xabln IS INITIAL. "note 434093
44 CALL FUNCTION 'MB_XAB_NUMBER_GET'. "note 434093
45 ENDIF. "note 434093
46
47 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_01 SPOTS ES_SAPLMBWL STATIC.
48
49 ENHANCEMENT-POINT MB_POST_GOODS_MOVEMENTS_02 SPOTS ES_SAPLMBWL.
50 CALL FUNCTION 'MB_CREATE_MATERIAL_DOCUMENT_UT'
51 EXCEPTIONS
52 error_message = 4.
53 * As soon as we have started to put things into UPDATE TASK, we must
54 * ensure that errors definitely terminate the transaction.
55 * MESSAGE A is not sufficient because it can be catched from
56 * external callers which COMMIT WORK afterwards, resulting in
57 * incomplete updates. Read note 385830 for the full story.
58 IF NOT sy-subrc IS INITIAL.
>>>>> MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
60 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
61 * MESSAGE A263.
62 ENDIF.
63 * Optische Archivierung
64 * Spaete Erfassung mit Barcode
65 * Redesign of barcode handling -> note 780365
66 PERFORM barcode_update(sapmm07m) USING xmkpf-mblnr
67 xmkpf-mjahr
68 barcode.
69
70 MOVE-CORRESPONDING xmkpf TO emkpf.
71 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
72 EXCEPTIONS
73 error_message = 4.
74 MOVE-CORRESPONDING xmkpf TO emkpf.
75 CALL FUNCTION 'MB_MOVEMENTS_REFRESH'
76 EXCEPTIONS
77 error_message = 4.
78 IF NOT sy-subrc IS INITIAL.
any help will be useful guys.
thanks in advance guysHi,
It seems from the error that balance in transaction currency is the cause so try this
Go to OBYZ -> Procedures
Select the tax procedure you are using say TAXINN
Here for all your ED conditions type
Like JMOP,JMX1 for BED
JAOP,JAX1 for AED
also for all condition type E Cess ,HE cess ,VAT ,CST assign CalType --> 17 (Rounding As per T001R)
And save
Now go to SPRO-> IMG->SAP NetWeaver ->General settings ->Currencies ->Define rounding rules for currencies->
OR use OB90 directly
here maintain a entry For your company code ,Cureency (INR), Rounding unit (100)
Save the entry
Now try to run a new cycle you will find system is rounding off all the tax amounts
Please check and revert -
Internal Message Code: MESSAGE G:N
Hi,
We have upgraded from 4.7 to ECC 6.0. We are executing the Code Inspector transaction to correct the syntactical Errors occuring in Programs. When we try to execute this transaction for User exit, i am getting the following message. Please help.
ObjectType FUGS Object name XPRM Include ZXPRMU01 Row 7 Column 0
Syntax check warning
After a structure enhancement, the semantics of the assignment or comparison may
change.
Internal Message Code: MESSAGE G:N
Appreiciate your quick response.
Regards,
ShankarHi,
This error can arise if the enhancement category in the table use may be set as 'Can be Enhanced'.
Structure Enhancements
Possibilities offered by structure enhancements
Problems with structure enhancements
Classifying enhancements in the ABAP Dictionary
Handling the enhancement in the program check
1. Possibilities offered by structure enhancements
Customers can subsequently enhance structures and tables, defined by SAP in the ABAP Dictionary, as follows: Customizing Includes
Customizing Includes:
Specified parts of a structure or table are already reserved for enhancements. The customer then creates the appropriate includes.
Appends:
The customer appends fields to the end of the structure or the table without any prior reservation having been made.
Enhancements of this kind affect not only the structures and tables themselves but also all dependent structures that take the enhancement as an include or substructure. For example, if an enhancement using an Append takes effect only at the end of the initial structure, it will affect all the dependent structures.
2. Problems with structure enhancements
In programs without an active Unicode check, structure enhancements can cause significant problems with type checks or if used in connection with deep structures, leading both to syntax and runtime errors. In programs with an active Unicode check, assignments, operand checks, and accesses using offset and length are also affected and problems can arise For example, if a purely character-type structure is enhanced by inserting numeric or deep components, it can lose its character-type nature. Enhancements cause further problems because they can change the fragment view and hence affect the checks (based on the fragment view) for assignments and comparisons.
3. Classifying enhancements in the ABAP Dictionary
So that the effects of structure enhancements are visible, you can classify structures and tables in the Dictionary under Extras ® Enhancement Category as follows:
Level
Category
Description
1
Not classified
The structure has no enhancement category
2
Cannot be enhanced
The structure cannot be enhanced
3
Can be enhanced (character-type)
All structure components and their enhancements must be character-type
4
Can be enhanced (character-type or numeric-type)
The structure and its enhancement cannot contain deep data types
5
Can be enhanced in any way
The structure and its enhancement can contain components with any data type
Character-type includes elementary types C, D, N, and T; numeric includes the elementary types F, I, P, and X. The deep types STRING and XSTRING are not supported.
For structures and tables with includes or substructures, the enhancement categories of these includes and substructures cannot be lower than those of the initial structure. For example, if the initial structure contains a level 4 include, that initial structure cannot be a more restrictive level 2 or 3 structure.
Structure enhancements in the Dictionary can also affect internal structures in ABAP programs if Dictionary structures are used as an include or substructure in the source code. These dependencies are implicitly taken into account in the ABAP program check. This also includes non-classified structures containing includes or substructures that can be enhanced.
4. Enhancement handling in the program check
The ABAP program check uses the structure enhancement classification in the Dictionary to indicate all points in the source code that can lead to problems in connection with structure enhancements. The warnings are separated into three classes, depending on the effects of the permissible structure enhancements
Class
Type check
Description
A
Syntax check
Every enhancement using the enhancement categories causes a syntax error
B
Extended check
Permissible enhancements can cause a syntax error, but not in every case
C
Extended check
No syntax errors, but semantic problems because program behavior has changed
All structure enhancement checks are only effective in programs with an active Unicode check. Only static checks are carried out and no checks at runtime. The check also includes non-classified structures and tables, as long as the initial structure contains includes or substructures that can be enhanced.
Regards,
Renjith Michael. -
Audigy LS W/ Alchemy Upgrade - Error after installing Vista Sp1
First off, yes I know it is a release candidate, and yes, I can uninstall it... but the error is there, and will of course be there when the final release is pushed out on updates unless it is fixed.... so here goes...
I installed Vista Sp RC yesterday. No issues that I identified immediately, everything seemed fine. Yet today when I tried to listen to podcasts, iTunes wouldn't play audio (other apps still play audio fine). I tracked this down to a sound driver issue, so I went to control panel to load the Sound controls, and lo, there was an error box that did appear:
"Audio Enhancements Problem"
"Windows has detected that audio enhancements for the following device are causing problems:"
"Speakers (SB Audigy LS)"
"Would you like to disable Driver Enhancements for this device? (Yes/No)"
I'm not sure what the side effect of disabling driver enhancements would be - it sounds like pretty much crippling the card, which will not accept as I did pay for the upgrade to support Alchemy in Vista for it. I'm also not sure if I tell it to disable the enhancements if I'll ever be able to turn them back on again without a reinstall - vista is that way with some of its hidden settings.
So - is there another way around this other than simply uninstalling SP (which hopefully will work), and most importantly, will there be an update to fix the problem before Sp final pushes?
My system is as follows:
AMD Opteron 70, 2gb PC4000 DDR
320GB Seagate SATA Dri've
SB Audigy LS
ATI Radeon HD2600XT
DFI Lanparty NF4 Ultra-D
Windows Vista Home Premium
everything worked until today, and I'm assuming my install of SP RC was the trigger. I'm about to start a rollback, but that will of course take some time. I will post back here if the rollback does NOT fix the problem. I'm hoping it will, but still need a fix before SP final pushes.http://www.eweek.com/c/a/Vista/Vista-SP-RTMs-and-Lies/ http://www.microsoft-watch.com/conte..._question.html Is it RTM or not Google it and see. Main issue with SP is drivers (not many). That's all I care to comment on.You could reinstall any drivers that are a problem.Didn't work for me.
Maybe you are looking for
-
Organized pictures an hour ago, and now they're gone
I'm so confused. An hour ago I was going through my photos in iPhoto, organizing them into events. I quit iPhoto and did other stuff. Then I reopened iPhoto ... and it told me it couldn't find my Library and asked if I wanted to start a new one. None
-
hi expert's, how will you do : in report Qty field refers to the Target Qty field in the table VBAP. To get Price in the unit divide the price by Condition Pricing Unit. If SHKZG field is set, then multiply the amount by -1, making it negative. Moder
-
Email photo album from the iphone
How do I email a photo album from an iPhone, presuming I can?
-
SOX Auditing on BPC 7.0
We are in the process of rolling out BPC 7.0 and have run into some SOX auditing issues. The team leveraging the software is not large enough to segment roles in order to fulfill the segregation of duties requirement. Because of this, it looks like w
-
I'm a bit confused about the round trip process. If LR is non-destructive, what happens when a virtual copy photo is sent to Photoshop? I notice that Photoshop seems to be working on the original photo. Question #2: How then is photo routed back to L