How to determine that the Delivery Block in SO is removed manually
Hi,
Is there any way to determine if the delivery block is removed manually? Because initially on VA01 we are defaulting the delivery block. Then in VA02, if the user removed the delivery block then save, then goes back to VA02 again, in this, I need to determine that the delivery block was removed manullay.
Regards,
Mawi
Hi,
You can check out in environment->changes ..you can determine the manual changes made to the order...
Thanks,
Shailaja Ainala.
Similar Messages
-
How to determine that the user/ pernr is comp cord?
Hi,
In tcode pa30 i see there is Comp Cord field. so these are the HR persons right which use the three digits numbers.
So my question is how to determine that the user/ pernr is comp cord?
I want to create the fm and pass user id as import and want to find out where this user is belongs to comp coordinator or not.
i do see some entry in the T526 table but not sure, how it work.
Regards
Alihi ali,
SACHX is the field you are looking for ..
regards
Manthan Raja -
How to determine that the Mapped User Id has the active r/3 account?
Hi Experts,
I have a requirement to determine the whether the mapped user ID in portal has active or inactive user account in R/3.
For example:
We have implemented SSO between WAS & backed R/3. Now the user has the active poratl account but the R/3 account is inactive or locked due to some reason. Now in this situation when user logs in and hit the application then the screen display's the 500 internal server error which is not understood by the client. The requirement is to display the custom message instead of 500 internal server error inorder to direct the user that his account is inactive or locked in R/3.
I have to handle this within the WDinit method of the Componenet controller which will stop the processing if incase the above is true and display the appropiate Error Message.
Hope I am clear in statement above.
Looking for your prompt reply.
Thanks
Shobhit TaggarHi
import com.sap.security.api.IUserAccount;
See this link
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417300)ID1438221150DB00601362742208939333End?rid=/library/uuid/40d562b7-1405-2a10-dfa3-b03148a9bd19&overridelayout=true
Kind Regards,
Mukesh. -
Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
I thought I will get an exception if the client or the server is not available but this is not happening.
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
How can I determine that the client or the server is no longer available?
Server
public class Server
private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
private TcpListener tcpListener;
private bool isStarted;
public event Action<string> NewMessage;
public async Task Start(int port)
this.tcpListener = TcpListener.Create(port);
this.tcpListener.Start();
this.isStarted = true;
while (this.isStarted)
var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
var cts = new CancellationTokenSource();
this.cancellationTokens.Add(cts);
await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
public void Stop()
this.isStarted = false;
foreach (var cancellationTokenSource in this.cancellationTokens)
cancellationTokenSource.Cancel();
foreach (var tcpClient in this.clients.Values)
tcpClient.GetStream().Close();
tcpClient.Close();
this.clients.Clear();
public async Task SendMessage(string message, IPEndPoint endPoint)
try
var tcpClient = this.clients[endPoint];
await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
try
var stream = tcpClient.GetStream();
this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
while (!cancellationToken.IsCancellationRequested)
var data = await this.Receive(stream);
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(NetworkStream stream, byte[] buf)
await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive(NetworkStream stream)
var lengthBytes = new byte[4];
await stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await stream.ReadAsync(buf, 0, buf.Length);
return buf;
Client
public class Client
private TcpClient tcpClient;
private NetworkStream stream;
public event Action<string> NewMessage;
public async void Connect(string host, int port)
try
this.tcpClient = new TcpClient();
await this.tcpClient.ConnectAsync(host, port);
this.stream = this.tcpClient.GetStream();
this.Process();
catch (Exception exception)
public void Disconnect()
try
this.stream.Close();
this.tcpClient.Close();
catch (Exception exception)
public async void SendMessage(string message)
try
await this.Send(Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(byte[] buf)
await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await this.stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive()
var lengthBytes = new byte[4];
await this.stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await this.stream.ReadAsync(buf, 0, buf.Length);
return buf;Hi,
Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
Console.WriteLine(exception.Message);
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to Extract the Delivery Blocks
Hi,
I have a task to extract the Delivery Block reason of orders to BW.
Is there a standard datasource for it?
Best RegardsHi Paolo,
I need the delivery blocks. Not delivery details.
For example, an incompleted order was saved in 01/01/07 with delivery block of reason YI (Initial Entry), and in 05/01/07 were added some lines to the order but it still block of reason 04 (Credit limit). In 10/01/07 the order was closed (the delivery block is blank).
For that order I need to extract three lines:
SO ___DeliveryBlockReason date
100999 _______YI _________01/01/07
100999 _______04_________ 05/01/07
100999 _____(blank) _______10/01/07
Hope it's more clearer now.
Regards, -
BAPI_SALESORDER_CHANGE using this i want to change the Delivery Block
Hi ABAP Gurus,
i am working on a urgent requirement of changing the Delivery Block of sales order VA02. I am trying to do this using FM BAPI_SALESORDER_CHANGE .
Please see the following code which i am giving for the time being.
it_headerx-updateflag = 'U'.
append it_headerx.
it_bapischdl-itm_number = '00010'.
it_bapischdl-req_dlv_bl = '01'.
APPEND it_bapischdl.
it_bapischdlx-itm_number = 'X'.
it_bapischdlx-req_dlv_bl = 'X'.
APPEND it_bapischdlx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = '0000000560'
order_header_in = it_header
order_header_inx = it_headerx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = it_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
schedule_lines = it_bapischdl
schedule_linesx = it_bapischdlx
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
But the Delivery block is not changing from Credit limit to Pending Allocation
But i am getting the following messages in the it_return table
1 S V4 233 ORDER_HEADER_IN has been processed successfully
2 S V1 041 No data was changed
I am waiting for your suggestions
Thanks in AdvanceHi Prashanthi,
Check whether delivery number is already created or not for that order.
If deliver already existthen u can not create delivery block on that.
and also check whther r u calling bapi commit after this.
Regards,
Siva -
Hello!
The new version of Firefox I have a problem with opening the site VKontakte. The browser displays the following error: "Firefox has determined that the server redirects the request for this address in a way that it will never end." How to solve this problem? Please excuse me for my English.
Sincerely, Vsevolod.You're welcome
-
How do know that the battery is fully charged on ios 7
How do know that the battery is fully charged on ios 7
When you turn it on from sleep mode, below the time on the lock screen it says how much charged it is.
-
How I can find the Delivery address changes in purchase order
Hi Friends,
How I can find the Delivery address changes in purchase order
item details.And how i can find who did ths changes.Hi,
Go to ME22N, here select the line item and click on menu "Environment > Item Changes" to track the changes.
For multiple POs, go to ME2N, here enter Selection Parameter as "ALLES" and execute the report to check all the changes. -
I cannot order photo prints from iphoto. Error says that the delivery address is in an unsupported country. The address and my account are in the UK. Does anyone have any ideas?
I cannot order photo prints from iphoto.
Are you trying to print from iPhoto on your Mac or iPad/iPhone? If you are trying to print form yor Mac, check, if the Print Products Store in the iPhoto Preferences > Advanced is set to U.K.
Also the bimmling address, Delivery address, the country for your AppleID and Credit Card must all be in the same country. Check this document:
http://store.apple.com/uk/help/print_products
-- Léonie -
How indesign detects that the images have been modified
Hello,
My problem is that all my images links are seen modified (yellow triangle) while the images don't have been modified.
The modified dates are the same.
All my images are on a unix server and indesign is used on Mac.
How indesign detects that the images have been modified ?Thank you for your answer.
When you say the time stamp you talk about the modification date in the box link info ?
Because this date is the same on the image and in indesign and when I update the image this date doesn't change.
the only informations that change when I update the links are the import date and the state (modified become ok) -
Retrigerring the delivery block for sales order after change.
Dear All,
I have a scenario, When we are creating FOC order, automatically Delivery Block is
appeared. After an authorised person releases the order, the Delivery is
made against it.
Now if the order is released and any amendment is made in the order, FOC
order should get back the Delivery Block status automatically.
Thanks,
Ani.Hello,
I have a scenario, When we are creating FOC order, automatically Delivery Block is
appeared. After an authorised person releases the order, the Delivery is
made against it. Now if the order is released and any amendment is made in the order, FOC
order should get back the Delivery Block status automatically.
The best option of meeting your requirement is using a User exit which would put a Delivery block when the Sales Order details are changes.
USER EXIT --> USEREXIT_SAVE_DOCUMENT_PREPARE
Kindly try out this exercise with the help of a ABAPer and close this thread if your query is answered.
Regards,
SARTHAK -
I cannot log into my mac. I have determined that the caps lock is on no matter if the caps lock light is on or off. Anything I can do?
Begin by resetting the SMC and PRAM each at least 2x. If that won't work book an appointment at your local Apple Store or AASP. However before doing so, after you have done the resets (assuming they do not work) test another keyboard to determine if it's the keyboard or computer.
Intel iMac SMC and PRAM resets instructions -
How to verify that the variable "does not contain" a value?
Hi
I am using CP 7.0.1.237.
We want to use Text Area widget for a custom quiz and verify an answer. While we figured out how to verify the existence of certain keywords, we are not able to figure out how to verify that the content should NOT contain certain keywords. For example, we want to ensure that the text entered in this widget should not contain "Transformation" and "Non-compliant".
Is this possible at all?
Thanks
SreekanthHere's what the solution might look like in JavaScript. This would be for SWF output and aimed at Cp 7. For Cp 8, this would still work for SWF output, but you'd probably want to take advantage of the new unified JS API that gets and sets Cp variables for both SWF and HTML5 output. You can read more about that here: Common JS interface
//Get the text area value from Captivate (SWF output Only)
var cpTextAreaValue = document.Captivate.cpEIGetValue('m_VarHandle.v_TextArea);
//convert the value to lower case to properly compare
cpTextAreaValue = cpTextAreaValue.toLowerCase();
//Check if text area value contains the words "transformation" or "non-compliant"
if(cpTextAreaValue.indexof('organizational') > -1 && cpTextAreaValue.indexof('behavioral ') > -1 && cpTextAreaValue.indexof('managerial') > -1 && cpTextAreaValue.indexof('transformation') < 0 && cpTextAreaValue.indexof('non-compliant') < 0){
//the text area has the correct answer so increment varScore
//get the current score from Captivate
var score = document.Captivate.cpEIGetValue('m_VarHandle.varScore');
//increment score by 1
score++;
//set score in Captivate
document.Captivate.cpEISetValue('m_VarHandle.varScore', score);
} else {
//the text area does not have the correct answer so show message to user inside of Captivate
document.Captivate.cpEISetValue('m_VarHandle.v_message', 'Answer is not correct');
This JS has not been tested. Note that the "does not contain" operator is done using the "indexof" operator in JS.
Jim Leichliter -
Recently i moved from Spain to Australia, how can I change the delivery country of the photo albums?
I tried to change all my country information in my apple id but when I'm going to pay the photo album in iphoto 11 only can change the addres but not the country.
thanks.iPhoto Menu -> Preferences -> Advanced
Bottom of the page you can choose your Print Store
Regards
TD
Maybe you are looking for
-
Problem with Delivery Type Determination in Purchase Order
Dear All, We are working on a IS-Retail Scenario where we are dealing with generic articles. While creating a PO, we have encountered an error which says:"Also specify a delivery type in case of shipping data relevance". The error message number is M
-
Hi I am having one issue in CKF. Original data: Compcode Caseno. CreatedOn Amount 1000 A 06/18/2011 100 1000 B 06/19/2011 50 1000 C 06/18/2011 150 I have created one CKF for No.of Day
-
Apple tv buffering with netflix
I'm having problems with apple tv constantly buffering while watching a movie on netflix. I made sure the time zone is correct but I am still having problems.
-
Hello, I made a dispaly attribute to navigational attribute in 0ABC infoobject and saved it in the request. Now when i try to transport it to the quality, it gets the message 'action cancelled by user'. What is the problem can anyone tell me pls. Tha
-
LAP521 can't connect to WLC526?
I'm relatively new to the Cisco scene and are now trying to set up the UC520, WLC526 and two LAP521. I got the UC and WLC to play nicely but the AP's doesn't recieve config from the wlc. They show up in CCA as connected to the UC but doesn't recieve