GRPO cannot be created without PO
How to do the settings in SAP BO which should not allow GRPO to be created without creation of PO
HI
this can be done only through SP
create this SP
USE DB
GO
/****** Object: StoredProcedure [dbo].[EMR_BaseRef_GRPO] Script Date: 11/25/2011 15:19:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[EMR_BaseRef_GRPO]
(@object int,@Docentry int, @EMRerror int OUTPUT)
As
Begin
select @EMRerror = 0
IF (@object = '20')
BEGIN
IF (SELECT max(ISNULL(T0.BaseEntry,-1)) FROM PDN1 T0 WHERE T0.DocEntry = @Docentry) != -1
BEGIN
set @EMRerror = 0
END
ELSE
BEGIN
--set @error_message='Goods Receipt PO cannot be created directly. Copy from PO'
set @EMRerror=1
END
END
END
then create following in SP transaction notification of ur DB
IF (@object_type in ('20'))
BEGIN
if (@transaction_type in ('A','U'))
BEGIN
EXEc EMR_BaseRef_GRPO @object_type, @list_of_cols_val_tab_del,@EMRerror =@error OUTPUT
IF (@error = 1)
BEGIN
SET @error =1
SET @error_message = 'Goods Receipt PO cannot be created directly. Copy from PO'
END
END
Similar Messages
-
Error:Cannot add row without complete selection of batch/serial numbers
Dim oPDN As SAPbobsCOM.Documents
oPDN = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
Dim serno As String = "SH-A1,SH-A2"
Dim sernoval As String() = serno.Split(",")
Dim mnfser As String = "SH-B1,SH-B2"
Dim mnfserval As String() = mnfser.Split(",")
For k = 0 To sernoval.Length - 1
oPDN.Lines.SerialNumbers.InternalSerialNumber = sernoval(k).Trim
oPDN.Lines.SerialNumbers.ManufacturerSerialNumber = mnfserval(k).Trim
oPDN.Lines.SerialNumbers.Quantity = linedetails(iRowNo).Quantity
oPDN.Lines.SerialNumbers.SetCurrentLine(k)
oPDN.Lines.SerialNumbers.Add()
Next
oPDN.CardCode = "C232323"
oPDN.Lines.ItemCode = "A00004"
'oGR.Lines.LineNum = 0
oPDN.Lines.BaseLine = 1
oPDN.Lines.BaseEntry = 202
'oGR.Lines.BaseRef = 203
oPDN.Lines.BaseType = 20
oPDN.Lines.Quantity = 1
oPDN.Lines.UnitPrice = 2
oPDN.Lines.WarehouseCode = '01'
oPDN.Lines.Add()
lRetCode = oPDN.AddHi Vasanth,
Invert the SetCurrentLine () and Add() at the end of the SSSerialNUmbers loop.
Regards,
Eric -
PROBLEM IN SETTLEMENT CO88 - G/L 7000203 cannot be created as a co element
Dear friends,
I am facing with an error. Kindly suggest the way how to come up with the issue.
My Client due to some reason passed an JV in the month of december in PRD.
Now after this all the settlement for the next periods are in error. The following is the error while executing CO88.
G/L account 7000203 cannot be created as a cost element
Message no. KQ119
Diagnosis
When maintaining the posting rules for passing on results analysis data to Financial Accounting, you entered a G/L account that is defined as a primary cost element in cost and revenue element accounting. This is not allowed. You must enter a G/L account in the posting rules that is not defined as a cost element.
System Response
The entry invalid.
Procedure
You have the following options:
Enter a G/L account for which no cost element is specified in Cost and Revenue Element Accounting.
You can change the message type with user-defined error management (transaction OPR4_KKA). What should be observed when you enter a G/L account in a posting rule that is defined as a primary cost element in Cost and Revenue Element Accounting? You need to define a CO account assignment so that the posting defined in the posting rule can be executed. You do this with transaction OKB9 (default account assignment) or OKC9 (substitution), or using the default account assignment in the cost element master.
I even tried to create make default the COST CENTER in OKB9 for that cost element as stated in the message itself but still the problem exist. I got another suggestion. Firstly i will transfer the values in new GL a/c, and make the necessary config changes in OKG8 with the new GL a/c.
can somebody guide me whether i am on the right way or is there any work around possible.
regards,
sandeep jainHi Sandeep,
In Transaction OKG8 the GL account for P&L(7000203) should not be a cost element. I dont know how it was allowing you all this while.
Try assigning another P&L account without a cost element.
Keep us posted on the progress please.
Thanks
Naveen -
FRM - 41105 You Cannot query records without a saved parent record
I have 3 data blocks. The contro data block have document type and document number if we come to new record(I have written execute query for both header and detail part) the header block will show the detail of the documnet header(Header Details) and detail block will show the detail part.
But my problem is when new record instance only the header block is querying and detail block is not querying and giving an error message(*FRM - 41105 You Cannot query records without a saved parent record*)!!
Plz help me!!
Thanks in advance,yea header tables PK is refered in the details table.
and i have master record created already and have the detail record for those master records in the table.
i want to query the detail record related to that master when we select a document number and document code in the control block.
Its querying the master detail relevent to that header and giving this error messge while quering the detail record.. -
Alarm not working. cannot set/create new
I have an iphone 5c running 8.0.2
I was having issues with sending text messages so I looked up similar problems and ended up having to reset network settings. this resolved the issue with the text messages but now I cannot set/create new alarms and all of my previous alarms were deleted. seems odd that the two are somehow connected but that is all I can think of that I have done since this morning (where it worked just fine).
this is very frustrating, any help is appreciated.I am having the same problem with my Iphone 4s running 8.0.2
I noticed yesterday that all of my set alarms were deleted. When I go to add a new alarm, nothing appears after I press 'save'. The small alarm icon appears in the top right for a moment, but disappears after a split second.
There is no error message.
I've used the same alarms for years without any problems. -
G/L account 513915 cannot be created as a cost element
Hi,
I have a PRD issue. The month end jobs are running. There are 6 jobs which runs one by one as dependents. 4th job failed due to G/L account 513915/513916/513990 cannot be created as cost elements. Because of this next jobs are not triggered.
Please advise ASAP.
I would appreciate your response and reward points.
Regards
MadanHi
The GL account was created as cost element with Cost element category 1 very long back i.e. in 2001 and assigned to cost center also.
Previously the month end jobs were running without fail, but today it failed and showing the log as above for these 3 GL accounts.
I've checked through KA01, KA02 and OKB9, seems everything is fine.
I donot understand why this error is occuring.
Please advise.
Regards
Madan -
ORA-22950: cannot Order Objects without MAP or ORDER method (line 15)
Hi
I have created a function
create type att_con.ind_field_value as object (s_owner varchar2(50), s_table varchar2(50), s_field varchar2(50));
create type att_con.ind_field_value_table as table of att_con.ind_field_value;
create or replace function fn_find_field_entries
(s_entry IN varchar2)
return ind_field_value_table
IS
found_count integer;
t_return ind_field_value_table := ind_field_value_table();
begin
for cur in (select owner, table_name, column_name
from all_tab_columns
where owner 'SYS'
and owner 'SYSTEM')
loop
execute immediate
'select count(' || cur.column_name || ') from ' || cur.owner || '.' || cur.table_name || ' where ' || cur.column_name || ' = ' || s_entry
into found_count;
if found_count 0 then
t_return.extend;
t_return(t_return.last) := (cur.owner, cur.table_name, cur.column_name);
end if;
end loop;
return t_return;
end;
and i am getting the above error when i try and run it with
select * from table(att_con.fn_find_field_entries('NDUNNE'))
anyone know what this error might mean?
thanks in advance22950, 00000, "cannot ORDER objects without MAP or ORDER method"
// *Cause: an object type must have a MAP or ORDER method defined for
// all comparisons other than equality and inequality comparisons.
// *Action: Define a MAP or ORDER method for the object type
// -
Case created without business partner, reason code and result code
In our CRM system, some cases was created without business partner, reason code and result code.
We created some customer functions to make these fields as mandatory, it always work for our technique people and process expert, but it didn't work for some users occasionally. We cannot debug it.
Can anyone tell me why and how to solve it?
Please help me !
Regards,
ShirleyHello Shirley,
Well, then I would check the code, which calls your custom function modules.
It may be possible, that you have an IF in the 'Main' program, which makes it possible to skip the custom FM for these users.
The reason I am assuming this, is that normally you need just to change attributes for a field to make it mandatory, or customizing like SHD0 makes this possible. If you use custom FM, you have to call them somewhere and this is the point I would be looking for.
Check the traces for the users and you should find, that the custom FM are not called for them.
My opinion, of course
Award points if this helps.
Regards,
Martin Kuma -
Relationship cannot be created between identical business partners
Hello,
I am implementing CRM 5.0 and trying to create business partner relationships to the identical business partner. For example, I am trying to makbe BP#1 have te relationship 'Has a Contact of' to BP#1. However, I am getting the error message:
'Relationship cannot be created between identical business partners'.
(Message no. R1776)
Has anyone ever encountered this error? Is there any way to create a relationship in SAP-CRM to the same business partner?
Thanks much for your help,
DanHi Daniel
In short: No, it is not possible to have a relationship "between" a BP and itself.
In long: In R/3 there are partner roles like Sold to, ship to and others. When CRM was designed the people at SAP did want to simplify a bit and implemented the following logic for partner determination: If there is no relationship of a searched type, the BP itself is taken. As a result a relationship pointing to its source is not allowed as it would duplicate the information already existing.
Hope this helps,
Kai -
G/L account 59500140 cannot be created as a cost element
Hi Viewers,
When I try to do the KO88 Process order settlement i am getting the below error:
G/L account 59500140 cannot be created as a cost element
Message no. KQ119
Diagnosis
When maintaining the posting rules for passing on results analysis data to Financial Accounting, you entered a G/L account that is defined as a primary cost element in cost and revenue element accounting. This is not allowed. You must enter a G/L account in the posting rules that is not defined as a cost element.
System Response
The entry invalid.
Procedure
You have the following options:
Enter a G/L account for which no cost element is specified in Cost and Revenue Element Accounting.
You can change the message type with user-defined error management (transaction OPR4_KKA). What should be observed when you enter a G/L account in a posting rule that is defined as a primary cost element in Cost and Revenue Element Accounting? You need to define a CO account assignment so that the posting defined in the posting rule can be executed. You do this with transaction OKB9 (default account assignment) or OKC9 (substitution), or using the default account assignment in the cost element master.
I would like to know the GL Account 59500140 is a P&L Account. Is it correct?.
Please help me to overcome from this issue.
Thanks & Regards,
AswinExecute transaction code FSP0 and check whether the account is a P&L or a Balance Sheet. Nevertheless, you can only enter accounts that are not created as cost elements in customizing transaction OKG8. If you enter an account that is also a cost element, then you need to configure default CO account assignment using OKB9 or a substitution using OKC9. Please refer to the following SAP Notes.
https://service.sap.com/sap/support/notes/581296 -
Excise invoice should not get created without PGI
Hi,
I have a scenario where the billing document is being generated by the customer without PGI after creation of outbound delivery for exports. (This is as per customer's requirement - Copy control maintained in VTFL for the same - copying requirements 11 )
This creates a situation - excise invoice can be created without PGI - which creates problems for customer. This should not happen.
Customer wants a check during the excise invoice creation - excise invoice should not get created if PGI has not been done.
Kindly advise as to how this can be done.
Regards,
T SaravananDear Saravanan
Two options are there
- in your existing routine itself, you can specify the control in such a way that unless the preceding document is PGId
- apply excise user exits like J_1I7_USEREXIT_EXCISE_BEF_SAVE to achieve the requirement.
thanks
G. Lakshmipathi -
I have two iPhones, one is a 4s and the other is a 3g. I have not used my 3g in some time now. I recently restored it but I cannot use it without a sim card, it says i have to "activate it." I cannot place my iPhone 4s sim card in it (too small), and i do not want to get a new contract or sim card for an iPhone that i do not ues very much.
Thanks for your help, but i cannot borrow a noral sim card now, my family has all up graded to iPhone 4s's, i have done this before, but one of my family had the same type of iphone so i could use theirs. Now i am the only one who still holds on to their old phone... I am not sure about buying an adapter...
-
How can I verify an apple id already created without attaching a credit card?
how can I verify an apple id already created without attaching a credit card?
Why do you need to verify it? Have you received an email telling you to click a link to do so? - if so it's very possible that it's a scam designed to trick you into entering your credit card details. If you have received such an email don't follow any links in it. If it's not addressed to you by name it's unlikely to be from Apple.
You could copy and paste the email into a post here so that we can have a look at it - remove your own email address when you do this.
If there is some other reason you want to verify the ID please give more details. -
Data source cannot be created : MAPVIEWER-00011: Error creating a map data
Hi everyone,
i am getting an error meaasge while creating datasource
" Data source cannot be created : MAPVIEWER-00011: Error creating a map data source."
pls helpYou should assign only one value to jdbc_sid. Try with this
<map_data_source name="mvdemo"
jdbc_host="localhost"
jdbc_sid="orcl"
jdbc_port="1521"
jdbc_user="mvdemo"
jdbc_password="!mvdemo"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="false"
/>
Make sure that oracle sid is 'ORCL'
Sujnan -
Hi folks,
i have an apple IPhone4. I am experiencing certain problem with my iphone4. The problems are as follows a. my ear piece and proximity sensor is not working while making a call. 2. It cannot reproduce sound without earphone but rings normally if gets any call.
Can any one help me in this regard??Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose data by resetting, but it can cure some glitches after installing new software or apps.
Maybe you are looking for
-
How to get a file in the same dir with the jar-executable
Hi, I need to read/write a file that exists in the same directory with the jar-executable. How can i do that? I think that when i specify no path for the file, the file has to be in current path. (Is that right?) Note: I do not know in which director
-
Hi, I have a 6735S and recently the sound has gone distorted and crackly when listening to music, watchin dvdx... even the start up tune! I ve tried headphones and speakers, still the same problem persists. I ve gone through the FAQ on the HP site, a
-
English language in ESS which should be German
Hi, I have a little translation problem in our portal. We installed German language pack but there is still english text displayed in ESS but only in forms such as edit/change address, material status and so on. Can you give me a hint were I can chan
-
I'll try my best to not cop an attitude but this is my first i anything and already I'm frustrated. My wife got me an ipod Nano for my birthday, which generation is anybodies guess. Just purchased it at Best Buy with all the required equipment, to in
-
I purchased my iMac 5 years. I have never upgraded the operating system from the original version 10.5.8 How do I upgrade to Maverick. Thanks for any input.