Forwarding agent should not hold empty value
Hi all,
In Vt02n transaction while doing shipment completion i need to check if the forwarding agent field is empty or not .
If it is so i need to raise a error message. After that the forwarding agent field should be opened for input.
In the include ZXV56U16 (in the exit EXIT_SAPLV56F_011) i wrote a logic for this field check and raised a error message.
When i tested it the error message was dipalyed but the field is not opeing for inout again.
Can anyone pls help me on resolving this issue.
Instead of writing abap code in user exit, you can create an activity profile for the shipment type and status where the validation is required.
SPRO-Logistics Execution-Transportation-Shipments-Define and Assign Activity Profiles
In the profile you choose to display a popup window and mark the forwarding agent (VTTK-TDLNR) as mandatory field. As a result, when updating the status in the shipment document the system will ask for a forwarding agent.
Hope this helps
Similar Messages
-
Error - Server file should not be empty- while uploading Text files in RAR
Hi,
We are uploading SU24 text files but we are getting the error "Server file should not be empty" while uploading the Description files in RAR 5.3
We followed the same naming covention and also used UTF-8 format for the text files. We placed the file in our Desktop as well and tried uploading into RAR - but still the same error is being thrown?
Are we missing something here?
Thanks and Best Regards,
Srihari.KHi and thanks to the answers so far.
I forgot to mention some points :
- I'm using forground import
- we are trying to use RAR to run risk analysis on non-sap systems as well as SAP (single or cross-systems).
So the file I'm trying to upload does not come from a SAP backen, but was created from scratch.
However the data in the files are coherent (and I compared with a SAP extraction, the format is the same)
here is a sample of the file I try to upload : (an that is actually what I'm trying to import as a test file)
sap_auth.txt:
OEITIAC GTIAC SEL 1
OEITIAC GTIAC MOD 1
OEITIAC GTIAC INS 1
OEITIAC GTIAC SUP 1
each element (ACT/PRM/FLD/VAL) is defined in the sap_desc.txt file that I loaded first (without error).
note that each column is separated by a single TAB (with an empty column at the end of each line).
each line is terminated by a CR/LF
I tried UTF-8 with and W/O BOM
Regards, -
How to hold the values as it's not holding the values when it cross 255
DATA : fval1 TYPE edidd-sdata.
DATA : fval2 TYPE edidd-sdata.
DATA : fval3 TYPE edidd-sdata.
DATA : fval4 TYPE edidd-sdata.
DATA : fval5 TYPE edidd-sdata.
DATA : len(3) TYPE n.
values1 = wa_final-low.
values2 = wa_final-high.
IF wa_final-high IS NOT INITIAL.
CONCATENATE values1 values2 INTO fval1 SEPARATED BY '-'.
ELSE.
fval2 = values1.
ENDIF.
IF fval3 IS NOT INITIAL.
IF fval1 IS NOT INITIAL.
fval = fval1.
CONCATENATE fval3 fval INTO fval3 SEPARATED BY '/'.
ENDIF.
IF fval2 IS NOT INITIAL.
fval = fval2.
CONCATENATE fval3 fval INTO fval3 SEPARATED BY '/'.
ENDIF.
ELSE.
IF fval1 IS NOT INITIAL.
fval3 = fval1.
ENDIF.
IF fval2 IS NOT INITIAL.
fval3 = fval2.
ENDIF.
ENDIF.
DATA : len(3) TYPE n.
len = STRLEN( fval3 ).
IF len > 250.
fval4 = fval3+0(250).
fval3 = fval3+250(5).
* CONCATENATE fval4 fval3 INTO fval5.
ENDIF.
IF fval4 IS INITIAL.
wa_final1-varbl31 = fval3.
ELSE.
CONCATENATE fval4 fval3 INTO fval5.
wa_final1-varbl31 = fval5.
ENDIF.
MODIFY it_final1 FROM wa_final1
TRANSPORTING varbl31 WHERE agr_name = wa_final-agr_name.
at this point also it's not holding the values when it exseds 255
kindly please helpH friends ,
i am not the expert at the same time i know some thing in abap
fval4 = fval3+0(250).
fval3 = fval3+250(5).
in the above case fval3 have 255 char at that time iam transporting 250 char to fval4 with this statment
fval4 = fval3+0(250).
and iam keeping the remaining 5 char in fval3 with this statment
fval3 = fval3+250(5)
so that i can push some more values in fval3 and at i am
CONCATENATE fval4 fval3 INTO fval5.
so that fval5 may get all values this is the way i try but fval5 is not holding all the values
i asked solution for that
fval 3 = fval3+250(250)
dosen't have any meaning i know that friend
my question is how to hold the remaining value -
Forwarding Agent should come automatically in Sales order
Hi Experts,
My user's requirement is Forwarding agent should come automatically in Sales order at partners tab.
Can you please suggest what configuration do ineed to do,
To get this Forwarding agent automatically in sales order level.
Regards,
SuninaHi Sunaina,
create a vendor with XK01 with the required Forwardng Agent. At the time of creating customer master record assing this FA. Now at the time of sales order creation this FA is defaulted automatically.
Incase you have multiple FA's then also you assign all of them to customer master partner tab with partner function FA.
During sales it will give you a pop up to select the required FA.
Make sure that partner function FA (or incase if you have created a new also) this is assigned to the account group of customer master you are using.
I hope this answers your query.
regards
sadhu kishore -
PO Value should not exceed PR value ~ Control required
Hi All,
I wanted to make PR number has mandatory for PO, i did it with the help of customising settings with doc type.
Now I want to make PO Value should not exceeds the PR Value.
How to make it in settings. or Is thr ant way available to make it (like any User exit, Enancement).
Also can any one tell how to control(make with Doc type).Like only for direct PO, or only indirect PO.
Can anyone help me out to do so.
Regards,
Nagaraj S
Edited by: Nagaraj S on Sep 2, 2009 6:10 AMHi Nagraj,
The funcionality you are talking on - checking tolerance limits between
PReq and PO document - was developed for Public Sector, it uses
the values in the FMIOI table to perform the check. If the PReq does
not have an FM account assignment, no FMIOI record will be written and
the check cannot take place.
In order to assign tolerance key limit to PReq document type please
use following path:
Path is: SPRO -> Public Sector Management -> Functions for US Federal
Government -> Integration -> Materials Management ->
Document-to-Document Tolerances
I am not sure if something like this is there in normal case
regards,
Lalita -
In ALV- Save layout is not holding sorting values..
hello expert.
in ALV-> Change Layout -> filter Material -> 89* and save as default.
but not working when i execute the 2nd time from starting onwards..!
my alv is able to save screen but not filtering values .
my alv unable to hold filter value as default setting.
could you please help me out.
thank you,
with best regards
srinivas rathodHi
Save personalization is for saving variables not for saving layout. If you are doing any changes to layout you can directly save by clicking save button.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/6f6b52f5981c91e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm
Regards
Ravi
Edited by: Ravi Naalla on Apr 3, 2009 3:47 AM
Edited by: Ravi Naalla on Apr 3, 2009 3:49 AM -
PO values should not exceed PR values
Hello
PR value should proposed while creation of PO wr to PR, whenever Info records
are not mainatained and PO values should not exceed the defined limit
Regards
sapmanHi,
You cann't restrict the PO value based on PR value, because the PO value is taken from Info record, Previous PO or Manual entry.
But PR value is from Material master or Manual entry.
Moreover PO value also includes other conditions like discounts/freight/duties etc on the net value so there is no fixed value for PO net price.
But PR will be always a fixed price means either from Material master or Manual entry based on the cost of the material.
So SAP has provided only qty restiction from PR to PO ( Message no. 06076)
but not for the PR value to PO value.
rgds
Chidanand -
Billing value should not exceed contract(value based contract) value
Hi,
We are using value based contract and in item category we set E in incompletion rule which stops me to create relaease order where its value exceeds the contract value.
But via release order we recognize revenue(service based revenue recognition) and we do billing directly through contract via milestone billing plan,
At present i can bill more then my contract value.Now i want to system should not allow me to bill mre then contract value.
I checked the option in VOV8 and VOV7 but all those are meant for release order not for bliing.
Thanks in advance.Hi Satya
You can set the billing amount in milestone billing plan itself. based on that value billing will done. -
Invoice Value should not exceed Order Value
Dear All,
I have a requirement in which whenever a user creates an A/R invoice ( Partial or full ) the total invoice value ( Partial or Full ) should not exceed the total Sales Order Value.
Scenerio :
Sales Order No 10001 has 3 line items i.e Item 1, Item 2, Item 3 with line totals of each as 100, 200, 300. Now Invoice is done for Item 1 and Item 2 on 1/1/09 line total 100, 200 which totals to 300. Now again after some days final invoice is done for Item 3 whose line total is 300.
Now I want a check that the system should check the total sales order value which is 600 with the Invoice Value and it should not allow to add the invoice if 600 is exceeded ( May be Invoice done partially also )
Also a check is required that the line total value of Sales Order should not get exceeded when making the AR Invoice.
I think this could be possible using SP. Pls advise how to make this SP.
Best Regards,
DepikaDear Depika,
First you need to confirm if you create all invoices based on sales order directly or not.
Thanks,
Gordon -
Alert-fields should not be empty
Hi,
I am using Oracle forms 10g,
My question is...
in form.. If i left some required items empty... when I press submit button then it should display alert message these fields(like empno,ename,sal,..) are empty....
please fill these items....
help me...
Thanks,
ShankarI tried this on EMP table.... Is it correct???????????
I write this code in WHEN-BUTTON-PRESSED
declare
alrt varchar2(20);
alrt2 varchar2(120);
begin
alrt2:='Enter These items'||chr(13)||chr(10);
if :emp.deptno is null then
alrt2:='Department number'||chr(13)||chr(10);
end if;
if :emp.ename is null then
alrt2:=alrt2||'ename'||chr(13)||chr(10);
end if;
if :emp.sal is null then
alrt2:=alrt2||'salary'||chr(13)||chr(10);
end if;
if :dept.deptno is not null and :emp.ename is not null and :emp.sal is not null then
commit;
else
set_alert_property('NULL',alert_message_text,alrt2);
alrt:= show_alert('NULL');
end if;
end;
# Chr(10) returns a linefeed character
# Chr(13) returns a carriage return character
Other wise help me try to reduce the code.....
Thanks & Regards,
Shankar. -
Stacked bar chart should not sort by values but by month
Hello,
I have a problem concerning a stacked bar chart (Apex 4.0 / Anychart). X-Axis contains Months and Y-Axis contains values. Values are splittet to 4 Values (a,b,c,d)
But if there is no value for a in February the sequence will jump to march displaying march before February and February at the end of the chart.
In every month some values are missing, so I am not able to sort for a specific value.
Do you know how to solve this problem? Thx in advance
ThorstenTry to short in criteria and see how it works if not working check these links for reasons
http://docs.oracle.com/cd/E21764_01/bi.1111/e16452/apndx_ui_chngs.htm
Re: Sort measure on bar chart
If helps pls mark -
I did not know where to send a suggestions, so am posting it here. Please redirect this to the appropriate place.
When I shut down windows and firefox is running with multiple tabs, it pops up a dialog box and prevents windows from shutting down. Last Friday I set the computer to shutdown before leaving work and found that it was still on when I returned to work on Monday. Reason - Firefox.
I prefer to shutdown computers when I am away for extended period of time to save power.I do not have AVG installed.
-
In a loop if the value is negative then we should not add in the total
Hi in this we r getting the negative value in Po also if we find the negative value we should add that value in total
public BigDecimal getAvailableCreditAmount() throws EleseException {
Money total = Money.ZERO();
Iterator poIter = getAllPurchaseOrders().iterator();
while (poIter.hasNext()) {
PurchaseOrder po = (PurchaseOrder) poIter.next();
if (po.isActive() || po.isPending()
|| (po.isInactive() && po.isReasonCompleted()) ) {
//changed from getTotal() to getNonDocumentedTotal()--Sreeni
total.add(po.getNonDocumentedTotal());
//total.add(po.getTotal());
return getApprovedCreditAmount().subtract(total.toBigDecimal());
}In the iterator which I have send earlier I am getting the Total , total.add(po.getNonDocumentedTotal()); I mean I am getting th etotal sum of the Po values in that . For some value the PO value may be negative and when I find out the totaol amount then it will be increased because of the negative value In the following iterator if the value of po value is negative we should add in the total and we should not take that value in consideration . I appreciate your time
public BigDecimal getAvailableCreditAmount() throws EleseException {
Money total = Money.ZERO();
Iterator poIter = getAllPurchaseOrders().iterator();
while (poIter.hasNext()) {
PurchaseOrder po = (PurchaseOrder) poIter.next();
if (po.isActive() || po.isPending()
|| (po.isInactive() && po.isReasonCompleted()) ) {
//changed from getTotal() to getNonDocumentedTotal()--Sreeni
total.add(po.getNonDocumentedTotal());
//total.add(po.getTotal());
return getApprovedCreditAmount().subtract(total.toBigDecimal());
} -
Forwarding agent not determined
Hi i have an issue where the forwarding agent is not determined in the order automatically .
The forwrading agent is available in route of the order item . but still it is not copied ?
what could be the reason ?
regards,
ganeshAre you referring about Forwarding agent is not determined in Sales Order(VA01) OR Shipment document ( VT01N)?
if its SO-
Forwarding agent will be determined in SO from the Customer Master. not from the Route.
where as in Shipment document-
Forwarding agent determined automatically, if you maintain the routine-7 in shipment doc type details in Customization. ( IMG-LE-Transportation-Shipments - Define shipment types)
hope it helps. -
How to do Forwarding agent settlement without activating shipment?
Hi Experts,
We have below scenario
Example
A = Company
B= Transporter
C= Customer
Customer places the order with the company for 100 bags of cement. For shipping the cement Company takes the service of Transporter to ship the bags to the customer .
Company invoice the customer and pays the freight to transporter
As there is no shipment activated in the scenario
What I have done
1) I have created a partner function as Forwarding Agent in the customer master
2) And my sales cycle is running fine (Sales orde-Delivery-Billing) partner function as Forwarding Agent flowing correctly
My question is how I will settle the forwarding agents payment of freight? (Which transaction codes involved)
Is it possible to settle the forwarding agent without activating the shipment??
Need your help in this scenario
Thanks
Krushnakumar RathiHi,
Ideally speaking you have to enable shipment cost in order to settle the cost to the transporter.
However if you decide not to enable this, you have to do this by means of MM process.
The forwarding agent should be created as a vendor in MM.
Once in a month, you have to calculate the total freight to be paid to him by finding out the summation of the freight condition type in the sales invoices.
Now create a PO and mention a service (use a material number to represent the service). For this PO, you can trigger automatic GR/Confirmation of Service and creation of logistics invoice with the value of the freight charges.
Towards this LInvoice, you can settle the amount to the forwarding agent.
The second way can be by means of credit memos in SD
Create a Credit Memo request using forwarding agent as the payer (in this case you have to create the forwarding agent as a customer account group)
The CMR should have the value of the condition type as the frieght value of the invoice in which the frieght is charged to the customer
Based on this CMR, create the Credit memo and pay the money to the forwarding agent. So the cycle will look like this.
SO Creation by Customer (Freight charge will be included in SO pricing)
Delivery to customer
Invoice sent to customer (with freight value charged to the customer)
Payment received from customer
Raise a Credit Memo request using the forwarding agent as the payer
Include the freight valueof the invoice in teh credit memo
Create the Credit Memo with reference to the CMR
Now do the payment to the forwarding agent.
Maybe you are looking for
-
I've uploaded Acrobat XI Pro and it freezes when I'm using it. I uninstalled and re-installed. When I login, it says that it is unable to validate the account and has an option to use the trial. How do I fix this?
-
How do i share files between users
I would like to know how to share documents (files) between users on my iMac. Any suggestions would be welcome.
-
Displaying text based on variable
I have a variable defined as brushSize. Depending on the value of brushSize, I want to display text in a dynamic text field that relates to its value. For brushSize values of 3, 13, 23, 33, and 43 I'd like to display 1, 2, 3, 4, and 5 respectively.
-
E-Mails Have Stopped and my daughter received a fr...
We have recently been on holiday. Whilst away my daughter received an e-mail from our e-mail address which basically told a sob story about mugging and theft and asked for money to get us all home. Needless to say this was fraudulent. On returning
-
Why do I have to search for a wifi network most every time I use the internet?
Why do I have to search for a wifi network almost every time I use the internet? We have Cox internet on a wireless router. It doesn't seem to be able to hold the wireless connection.....even a couple hours. The router sits on the desk next to the co