Error in SAP code when using VL02n
I am trying to use VL02n to do a PGI (post goods issue). The problem just started today when we activated a requirement on an output type. This error does not occur in development but only in Test. Below is the short dump of the error. Does anybody have any ideas what could have gone wrong when we activated the output type requirement?
Information on where terminated
The termination occurred in the ABAP program "SAPLKKBL" in
"K_KKB_LIST_DISPLAY".
The main program was "RSM13000 ".
The termination occurred in line 418 of the source code of the (Include)
program "LKKBLU01"
of the source code of program "LKKBLU01" (when calling the editor 4180).
The program "SAPLKKBL" was started in the update system.
388 l_fieldcat_state = '2'.
389 l_sort_state = '2'.
390 call function 'ALV_EXPORT_TO_BUFFER_KKBLO'
391 exporting
392 is_ltdxkey = ls_ltdxkey
393 * I_LANGU = SY-LANGU
394 it_fieldcat_kkblo = gt_stack-it_fieldcat
395 i_fieldcat_kkblo_state = l_fieldcat_state
396 it_sort_kkblo = gt_stack-it_sort
397 i_sort_kkblo_state = l_sort_state
398 it_filter_kkblo = gt_stack-t_filter
399 is_layout_kkblo = gt_stack-is_layout
400 exceptions
401 no_key = 0
402 no_export = 0
403 others = 0.
404 if sy-subrc ne 0.
405 endif.
406 endif.
407
408 *... Export Stack to Memory
409 perform stack_memory_export.
410
411 if i_screen_start_line ne 0.
412 gt_stack-is_layout-i_am_popup = 'X'.
413 endif.
414
415 if gt_stack-is_layout-detail_only is initial.
416 if gt_stack-is_layout-suppress_dynpro is initial.
417 if i_screen_start_line eq 0.
>>>>> call screen 500.
419 sy-pagno = g_sypagno. "wegen Dynpro 200 Spoolinfo bei F8+Druck
420 else.
421 call screen 501 starting at i_screen_start_column
422 i_screen_start_line
423 ending at i_screen_end_column
424 i_screen_end_line.
425 sy-pagno = g_sypagno.
426 endif.
427 else.
428 if gt_stack-is_layout-interface_complete is initial.
429 perform first_list_display.
430 else.
431 perform list_output_new tables t_outtab
432 gt_dummy.
433 endif.
434 endif.
435 else.
436 gs_selfield-tabindex = 1.
437 gs_selfield-tabname = gt_stack-i_tabname.
Regards,
Davis
The error message is Posting_illegal_statement and yes I did search OSS (I always do that first) but I could not find anything relevant to my error.
Regards,
Davis
Similar Messages
-
Values of return code when using dba_audit_session
Is there anywhere I can look up the possible values for return code when using dba_audit_session?
I am generating a report over the data and have so far only been able to provide the returncode and whether the username exists (ie username or "other" error)
Thanks
(using 9i)So far I have fathomed out:
Return code: 0 everything OK
Return code: 1017 wrong username or password
Return code: 28000 locked account
Return code: 28001 expired account -
Error in Abap code when combining data from two tables
Hi,
I got error in my code when i try to select data based on two tables
error message Unknown column name "(" field list. field list. field list. field list.
select ( WLK1~ARTNR )
into ZOXE1D0041-ZZPROMO
from WLK1 INNER JOIN T001W
ON WLK1FILIA = T001WKUNNR.
where WLK1-PFLKN NE 'P' AND
WLK1-QUELL NE '2'.
Table 1 WLK1
ARTNR FILIA PFLKN QUELL
001 C001 P 2
002 C001 A 1
Table 2 T001W
KUNNR WERKS
C001 P001
My requirement is to extract from article number from table WLK1 where the customer number (FILIA) matches with Customer number from (T001W) and plant (WERKS).
In conclusion I like to have this only this row
ARTNR FILIA PFLKN QUELL
002 C001 A 1Hi
You need to append every article number after each select is performed
is this an intermal table ZOXE1D0041 with header line ? if yes
then do this way
select WLK1~ARTNR
into ZZARTICLE
from WLK1 INNER JOIN T001W
ON WLK1FILIA = T001WKUNNR
where WLK1~PFLKN NE 'P' AND
WLK1~PFLKN NE 'S' AND
WLK1~QUELL NE '2'.
ZOXE1D0041-ZZLISTARTICLE = ZZARTICLE.
Append ZOXE1D0041. " <edited>
endselect.
then ZOXE1D0041 will have all article numbers.
Edited by: Sonal Patel on Sep 5, 2009 10:27 AM -
How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5
As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
Mylenium -
Error while calling RFC when using BSP Web Interface
Hi,
we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
R_AREA
R_METHOD
R_PACKAGE
R_PARAM
R_PLEVEL
R_PM_NAME
R_PROFILE
R_STS_PT
R_STS_SUP
R_WEBITF
S_RS_ADMWB
S_RS_AUTH
S_RS_COMP
S_RS_COMP1
S_RS_DAS
S_RS_ICUBE
but we still get the error message: "Error while calling RFC".
When using a user with SAP_ALL, it works.
What can we do?
Thx for your time.
JoergActually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded. -
"Type mismatch" error in IE7/8 when using custom Actions Menu Image
Hi all,
in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Actions Menu Image" field empty, everything works fine. The error doesn't seem to happen in IE9 (unless using compatibility mode), or in any non-IE browser.
I've been able to reproduce the issue in an application on apex.oracle.com:
http://apex.oracle.com/pls/apex/f?p=69347:1
Some debugging seems to indicate that the following line in widget.interactiveReport.js is the culprit:
lTemp.parentNode.replaceChild($x('apexir_WORKSHEET'), lTemp);Does anybody know if this is a known issue, or if there is some workaround?
Thanks,
TobiasHi,
Great solution Paul! It cost me a while before I found out the Action Menu Image was causing my interactive reports to stop refreshing in IE10 and not other browsers. Your solution works great, I've implemented it with a few minor adjustments:
- Put the css in report template (for some reason it didn't work in our own application stylesheet)
- replace 'url("/c/action_dropdown.gif")' with 'url("&APP_IMAGE_PREFIX./<path_to_image>")'
- place one dynamic action on page 0: after refresh of '#apexir_DATA_PANEL' , set event scope to "Dynamic".
- Let the Dynamic action also fire on page load.
- To make sure the dynamic action only works for pages with an interactive report add condition of type 'Exists' with expression:
select 1
from dual
where :APP_PAGE_ID in (select page_id
from apex_application_page_ir
where application_id = :APP_ID
Best regards,
Vincent Deelen -
Win7 can't boot in USB hard drive blue screen 7b error,but can boot when use PD8
Install Win7 64bit in a USB hard drive through some tools,when start windows the microsoft logo appear,get blue screen.
***stop:0x0000007B(0x80786B58,0xC0000034,0x00000000,0x00000000)
problem has been detected and windows has been shut down to prevent damage to your computer.If this is the first you've seen this stop error screen restart your computer .If this screen appears again.follow these steps:Check for viruses on your computer.Remove any newly hard drives or hard drive controllers.Check your hard drive to make sure it is properly.Configured and terminated.Run DCHKDSK/F to check for hard drive corrption,and then restart your computer.
Technical:
***stop:0x0000007B(0x80786B58,0xC0000034,0x00000000,0x00000000)
But when use Parallels Desktop 8 My boot camp ,the win7 can boot normally.
Any solution?
Thank you.Hi,
If this issue is related with firmare, then it's recommend to contact the vender\manufacture, if you got any update of this issue, we'd be appreciate that you could share your experience with us.
Regards
Yolanda Zhu
TechNet Community Support -
Replace xml code when used as a xmltype converted from clob.
I am still new at all this so I will try to make sense.
I have the "sys_xmlgen" where it takes my clob_content which is a clob and converts it into the v_xml which is xmltype.
****code to show change of clob to xmltype.
SELECT sys_xmlgen(clob_content) INTO v_xml FROM xmltest2 WHERE item_id = v_item_id;
update xmltest2 set xml = v_xml where item_id = v_item_id;
**end of code
When you use sys_xmlgen it changes the xml into this example:
<?xml version="1.0"?>
<CLOB_CONTENT><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE metadata SYSTEM "csdgm2.dtd">
<?xml-stylesheet href="FGDC_V2.xsl" type="text/xsl"?>
<metadata>
<idinfo>
</CLOB_CONTENT>
I need to remove the <CLOB_CONTENT> tag and change some things such as the "<" to a "<" and so on. But when I do a replace statement
select replace(clob_content, '<', '<') into v_xml from xmltest2;
It says I can not do a clob into number.
Just to make myself clear, the clob_content is clob and v_xml is xmltype. SOOO I think that is where my problem is. Does anyone know the syntax to replace the code in my xml so that it looks like the original clob xml??
Any help would be appreciated.I am still new at all this so I will try to make sense.
I have the "sys_xmlgen" where it takes my clob_content which is a clob and converts it into the v_xml which is xmltype.
****code to show change of clob to xmltype.
SELECT sys_xmlgen(clob_content) INTO v_xml FROM xmltest2 WHERE item_id = v_item_id;
update xmltest2 set xml = v_xml where item_id = v_item_id;
**end of code
When you use sys_xmlgen it changes the xml into this example:
?xml version="1.0"?>
<CLOB_CONTENT><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE metadata SYSTEM "csdgm2.dtd">
<?xml-stylesheet href="FGDC_V2.xsl" type="text/xsl"?>
<metadata>
<idinfo>
<citation>
<citeinfo></CLOB_CONTENT>
I need to remove the <CLOB_CONTENT> tag and change some things such as the "<" to a "<" and so on. But when I do a replace statement
select replace(clob_content, '<', '<') into v_xml from xmltest2;
It says I can not do a clob into number.
Just to make myself clear, the clob_content is clob and v_xml is xmltype. SOOO I think that is where my problem is. Does anyone know the syntax to replace the code in my xml so that it looks like the original clob xml??
Any help would be appreciated. -
Business Partner Code when using *
Hi all,
In Business Partner code when the user want's to see all Business Partner and makes "*" appears the BP code, BP Name and Foreign Name.
All user see this information except one that doesn't see the Foreign Name.
Why?Hi Ad,
Thank you for your reply.
"Foreign Name" is already select in the Form Setting.
You say that "This is a setting per user" but i dont think so. In Form Setting of the "List of Business Partners" i add "Account Balance" to one user and ALL users see the same information.
Best regards,
Augusto Silva -
Error message 173-36 when using Add mode in SAP Add-on
I have created an ADD ON application that includes file maintenance on some master data type user defined tables (SAPbobsCOM.BoUTBTableType.bott_MasterData). When I try to add a new record to one of my tables, using a form that I created in my add on application, I am receiving the following error message in the red line area on the bottom of the screen, meaning that it is an error coming from SAP B1, and not from my add on:
Invalid code [Network master] [Message 176-36].
Network master is the name of the user defined table that I am trying to add a record into. Now, if I just ignore the message and hit the add button again, the record gets added to the table. But I need to figure out what is causing this error message so that I can get rid of it. I have tried to debug my code, but I cannot find the specific place where the error message is originating from. I only know that it is somewhere between the time I press the add button, and the time the form is reloaded to the screen. I have other user tables and maintenance forms in my application that are adding records without this error. How can I find out what is causing this error message? Thanks,
Nancy Walk
[email protected]Hi Nancy,
Are you using UserDefinedObjects together with your MasterData table?
MasterData and Document tables types are designed to work with UDOs. Then when you create your form you link this form to your UDO and the Add/Update/Find button works automatically.
When you create a MasterData table you have automatically a field called Code and another called Name. This two fields must be shown in your form and filled by the user or calculated in your code before the Add action takes place. Is it your case? It seems like you are trying to insert twice the same code or you don't fill the Code information...
Regards
Trinidad. -
Getting Error in Windows 8.1 XAML code when using Microsoft.PlayerFramework
Error Is:
The specified value cannot be assigned to the collection. the following type was expected UIelement
xmlns:player="using:Microsoft.PlayerFramework"
<Border x:Name="Border" DataContext="{TemplateBinding ViewModel}">
<Border.Resources>
<player:BoolToVisibilityConverter x:Key="VisibleIfConverter" />
</Border.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Center">
<StackPanel Orientation="Horizontal" x:Name="NonEssentialsNearLeft">
<player:SkipPreviousButtonBehavior x:Name="SkipPreviousButton" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsSkipPreviousButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Size="70" FontSize="40" Margin="10,0,10,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
<player:RewindButton x:Name="RewindButton" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsRewindButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Size="70" FontSize="40" Margin="10,0,10,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
<player:SkipBackButton x:Name="SkipBackButton" ViewModel="{TemplateBinding ViewModel}" Visibility="Collapsed" Size="70" FontSize="40" Margin="10,0,10,0" Padding="0,-10,0,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
</StackPanel>
<player:PlayPauseButton x:Name="PlayPauseButton" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsPlayPauseButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Size="140" FontSize="80" Margin="25,0,25,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
<StackPanel Orientation="Horizontal" x:Name="NonEssentialsNearRight">
<player:SkipAheadButton x:Name="SkipAheadButton" ViewModel="{TemplateBinding ViewModel}" Visibility="Collapsed" Size="70" FontSize="40" Margin="10,0,10,0" Padding="0,-10,0,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
<player:FastForwardButton x:Name="FastForwardButton" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsFastForwardButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Size="70" FontSize="40" Margin="10,0,10,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
<player:SkipNextButton x:Name="SkipNextButton" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsSkipNextButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Size="70" FontSize="40" Margin="10,0,10,0" StrokeThickness="0" Background="{StaticResource ItemBackgroundThemeBrush}"/>
</StackPanel>
</StackPanel>
<Grid x:Name="TimelineContainerGrid" Grid.Row="1" Height="60" HorizontalAlignment="Left">
<Grid x:Name="TimelineContainer" Background="{StaticResource ItemBackgroundThemeBrush}">
<Grid Margin="30,4,30,7">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<player:TimeElapsedButton x:Name="TimeElapsedButton" Grid.Column="0" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsTimeElapsedButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Margin="8,0,8,0"/>
<player:Timeline Height="5" Padding="0,10,0,10" x:Name="Timeline" Grid.Column="1" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsTimelineVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Margin="8,0,8,0">
<player:Timeline.SliderStyle>
<Style TargetType="player:SeekableSlider">
<Setter Property="Foreground" Value="{StaticResource ButtonForegroundThemeBrush}"/>
<Setter Property="SliderTrackDecreasePressedBackground" Value="{StaticResource ButtonPressedForegroundThemeBrush}" />
<Setter Property="SliderTrackDecreasePointerOverBackground" Value="{StaticResource ButtonPointerOverForegroundThemeBrush}" />
<Setter Property="SliderThumbStyle">
<Setter.Value>
<Style TargetType="Thumb">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Thumb">
<Canvas HorizontalAlignment="Center" VerticalAlignment="Top" Margin="-18,-38,18,0">
<Grid>
<Ellipse Stroke="{StaticResource ButtonForegroundThemeBrush}" Fill="{StaticResource ButtonPressedForegroundThemeBrush}" StrokeThickness="2" Width="35" Height="35"/>
<Path Fill="{StaticResource ButtonForegroundThemeBrush}" Margin="0,0,0,-7" VerticalAlignment="Bottom" HorizontalAlignment="Center" Data="M 0,0 8,0 4,8Z"/>
</Grid>
</Canvas>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Setter.Value>
</Setter>
</Style>
</player:Timeline.SliderStyle>
</player:Timeline>
<player:TimeRemainingButton x:Name="TimeRemainingButton" Grid.Column="2" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsTimeRemainingButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Margin="8,0,8,0"/>
<player:DurationButton x:Name="DurationButton" Grid.Column="2" ViewModel="{TemplateBinding ViewModel}" Visibility="{Binding IsDurationButtonVisible, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource VisibleIfConverter}}" Margin="8,0,8,0"/>
</Grid>
</Grid>
</Grid>
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Iam Getting the above mentioned error at the Bolded parts of the code. How to Resolve this Error, Help me.
Mohan Rajesh KomatlapalliHello,
Technically the PlayerFramework is not supported in this forum. For PlayerFramework specific questions you should post to the
Discussion Topics for Player Framework forum. In this case though it looks like the issue is more specific to your XAML binding implementation then the framework itself.
Are you getting the error in the XAML designer or at runtime? Do you know the underlying hex code associated with the error message?
-James
Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/ -
Satellite A200 - Error code when using fingerprint
Hi
I have Satellite A200 with window vista 32 bit, when I try to log in via finger scan I got the massage (error code oxe 7210001 (An internal error occured (shared: encrypt-cryptopp(StreamTransformationFilter: invalid PKCS #7 block padding found)).)
Can any one help me?
ThanksHello
Im not an expert with this fingerprint tool but I noticed here in forum that reinstalling the fingerprint software could help to get rid of this problem.
According the Toshiba website the newest fingerprint software is version 5.8.0.4024.
Do you have it installed? If not reinstall the fingerprint software and test it again. -
Error connecting SAP BW System using EP6.0
Hi All
I am trying to connect EP6.0 with SAP BW 3.1, using ITS.
I have created a 'system' in portal and my ITS test connection is successful. I chose 'SAP BW' as sytem instead of SAP R/3.
When I try to preview/access an iView which internally execute BW workbook, I am getting following error. Can anyone please guide me the possible solutions. As this is urgent, please provide help.
Sapgui 640 error window with the following message:
connection to partner broken
Time Wed Dec 12 16:15:03 2005
Component NI(Network interface)
Release 640
Version 37
Module ninti.c
Line 756
Method NiPRead(192.168.64.103/3320, hdl 1)
Return Code -6
System Call recv
Counter 1Hi,
let me try to sort this out.
You want to use an ITS against a BW system using a SAP GUI for HTML. If you use the system type SAP R/3 everything is OK but if you use the system type SAP BW it doesn't work and you get a error message from your SAP GUI for Windows.
I'm not much aware of this but for me it looks like the portals iview is trying to use your SAP GUI for Windows to connect to your BW System (which is, as far as I understood, not what you intended).
If all my assumtions above are correct you should create a ITS iview (SAP IAC iView) against your BW system and everything should be OK then.
Regards Ralph -
Error connecting SAP BW System using EP 6.0
Hi All
I am trying to connect EP6.0 with SAP BW 3.1, using ITS.
I have created a 'system' in portal and my ITS test connection is successful. I chose 'SAP BW' as sytem instead of SAP R/3.
When I try to preview/access an iView which internally execute BW workbook, I am getting following error. Can anyone please guide me the possible solutions. As this is urgent, please provide help.
Sapgui 640 error window with the following message:
connection to partner broken
Time Wed Dec 12 16:15:03 2005
Component NI(Network interface)
Release 640
Version 37
Module ninti.c
Line 756
Method NiPRead(192.168.64.103/3320, hdl 1)
Return Code -6
System Call recv
Counter 1Hi,
Any reason why want to connect to BW from EP through ITS.
I think you can directlty connect to BW from EP.
These links should be of some help
http://help.sap.com/saphelp_nw04/helpdata/en/a9/76bd3b57743b09e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm
Thanks
Senthil
P.S: Rewards Points for useful/helpful answers -
Error Message Repeated Display When using BBP_DOC_CHECK_BADI
Hi,EveryOne,
Who can help me,I am using BBP_DOC_CHECK_BADI,Check the item's,when the first time,i modify some PO item data,then through this BBP_DOC_CHECK_BADI,can show one error message.Then i modify the error data to correct,push the check button,no error message show again.
Then i go into the second item,check,no error message.
And there only two item.
So, i Save the order.But the first error message display again.
I don't know why? Is there have any one can help me.I am will very appreciate him.
Thanks a lot.
The code display:
DATA:l_destination TYPE rfcdest.
DATA:lt_ekbe TYPE TABLE OF zgp_invoice_check,
ls_ekbe TYPE z_invoice_check,
lt_ekpo TYPE TABLE OF z_invoice_po,
ls_ekpo TYPE z_invoice_po.
CLEAR:l_destination.
CHECK po_header-be_log_system IS NOT INITIAL.
MOVE po_header-be_log_system TO l_destination.
CALL FUNCTION 'Z_INVOICE_PRICING_CHECK'
DESTINATION l_destination
EXPORTING
pi_ebeln = po_header-be_object_id
TABLES
pto_ekbe = lt_ekbe
pto_ekpo = lt_ekpo
EXCEPTIONS
OTHERS = 1.
IF lt_ekbe[] IS NOT INITIAL.
SORT lt_ekbe BY ebeln ebelp.
LOOP AT po_item INTO ls_po_item.
READ TABLE lt_ekbe INTO ls_ekbe WITH KEY ebelp = ls_po_item-number_int.
IF sy-subrc EQ 0.
READ TABLE lt_ekpo INTO ls_ekpo WITH KEY ebelp = ls_po_item-number_int.
IF sy-subrc EQ 0 AND ls_ekpo-netpr NE ls_po_item-price.
ls_messages-msgty = 'E'.
ls_messages-msgid = 'BBP_PU'.
ls_messages-msgno = '001'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = ls_po_item-number_int
IMPORTING
output = ls_po_item-number_int
EXCEPTIONS
OTHERS = 1.
CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
INTO ls_messages-msgv1.
CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
INTO ls_messages-message.
APPEND ls_messages TO et_messages .
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
Edited by: andy zhou on Apr 10, 2008 3:51 AMHi
Which SRM version are you using ?
All the Data after makning changes in the PO document, will be also aviavale in BBP_DOC_CHANGE_BADI for the filter type- BUS2201 (Purchase orders) in your case. You can either do a validation there using BBP_DOC_CHECK_BADI.
The Business Add-Ins [BADI] - BBP_DOC_CHECK_BADI should be used for customer messages to be triggered ->
Re: Error message control for invoice w/o PO in SRM
Re: calling a screen from BADI BBP_DOC_CHECK_BADI
Re: PO Message
Re: Problem with BBP_DOC_CHECK_BADI
Re: Mandatory field
Re: "Refresh" button in BBP_POC calls badi..... ?
Re: Validation of SC/PO
Re: PO Changes, PO date
Do let me know, incase still face any issues.
Regards
- Atul
Maybe you are looking for
-
Problem calling a session bean (EJB 3.0)
Hello, I'm new to netbeans and J2EE. I'm using NetBeans 5.5 Beta 2 and sun application server 9 pe. I created a new enterprise application and i'm trying to access a Session Bean (Remote and Stateless) from the app-client (outside the main class). Th
-
Need Help On THis one .
q1 Which are /SQL*Plus commands? (Choose all that apply.) A. INSERT B. UPDATE C. SELECT D. DESCRIBE E. DELETE F. RENAME i.e. 1> what is the ans 2> what are iSQL*PLUS commands q2. Which is an iSQL*Plus command? A. INSERT B. UPDATE C. SELECT D. DESCRIB
-
Increase mac book air memory storage
hello to every one, i got a mac book air running os x mavericks 13 inch and has an HDD of 128giga, is that possible for me to increase the memory or replace the hard disk?
-
I was synking my I-phone 4 for the first time. After synking I lost all phone and email contacts. How can I restore or undo the synking process?
-
IOS 4.3 constantly dropping calls
I updated to iOS 4.3 about 2 hours ago. Before updating, I had maybe 1 call drop every few weeks. Since updating.. I'm checking my call log to be accurate.. What should have been one 24 minute call was broken up into 16 calls because it kept dropping