PO doesn't get created, backend returns PO number with "S" message
Hi experts,
I need your kind assisstance with the following problem: when SC is sent to the backend, the backend system returns the PO number with a message that the PO has been created. When we check at the backend the PO is not created.... It happens only when customer fields are transfered in the table EXTENSIONIN.
SRM Server 500.
Thanks a lot for your help.
Tomas Kraus
Hi
<u>What error are you getting in this case ?</u>
<b>Question:</b>
<u>You are using BAPI_PO_CREATE1 and BAPI_PO_CHANGE to supply user-defined fields for tables EKKO, EKPO and EKKN. During the update, a termination occurs with DBIF_RSQL_INVALID_REQUEST.</u>
Answer:
Check in the CI structures of the corresponding database table as to whether there are type P (packed) fields. Refer to the online documentation for user-defined fields and the ExtensionIn parameter:
In BAPI table extensions, only CHAR data type fields and similar data types can be used by the customer. This restriction arises as a result of the BAPIPAREX reference structure of the extension parameters. In addition, the customer must not use standard table fields in the APPEND of the BAPI table extension because a 'move-corresponding' would also overwrite the SAP field.
See Note 509898 for a solution approach.
<b>Please go through the SAP OSS note -</b>Note 582221 - FAQ: BAPIs for purchase orders
<b>for more details.</b>
<u>Also go through the related SAP OSS Notes -></u>
Note 390742 - Customer enhancements not transferred
Note 336589 - BAPI_PO_CREATE: Customer enhancements
Note 867018 - Customer fields transfer to the back end
Note 445169 - BAPI_PO_GET_DETAIL: Integrated customer enhancements
Note 395311 - BAPI_PO_CREATE: Customer enhancements not copied
Note 631758 BAPI_PO_GETDETAIL: Incorrect ExtensionOut struc. name
Hope this will definitely help.Do let me know.
Regards
- Atul
Similar Messages
-
After I run a query can I get it to return the number of files matched and each individual file name? I am trying to do a data mining routine and this would be helpful.
BBANACKIHi bbanacki,
Please have a look at the following code:
Define your queries and then:
oAdvancedQuery.ReturnType=eSearchFile
oMyDataFinder.Results.MaxCount = iMaxNumberOfReturndElements
Call oMyDataFinder.Search(oAdvancedQuery)
Set oMyResults = oMyDataFinder.Results
If oMyResults.IsIncomplete Then
msgbox "The first " & str(oMyResults.Count) & " files found"
Else
msgbox str(oMyResults.Count) & " files found"
End If
for iLoop = 1 to oMyResults.Count
Cell.Text = oMyResults(iLoop).Properties("Name").Value
Cell.Text = oMyResults(iLoop).Properties("fullpath").Value
next
Greetings
Walter -
How do you get the integer of a number with more than 10 digits
I can't seem to be able to get the integer of a number with more than 10 digits.
ex:
integer(12345678901.3) returns -539222987 when it should really return 12345678901
Thanks for the help
(I'm on director 11 at the moment)You can write a Parent script to represent Big Integers. I wrote some code to get you started. It consist of two classes - "BigInt" and "Digit". At this point you can only add two "BigInts" and print out the value with a toString() function. Note that you pass a String to the "BigInt" constructor.
In the message window you could enter something like:
x = script("BigInt").new("999999999999")
y = script("BigInt").new("100000000000000000004")
z = x.add(y)
put z.toString()
And the output window will show:
-- "100000001000000000003"
Here are the two Parent scripts / Classes
-- Digit
property val
property next
on new me, anInt
val = anInt
next = 0
return me
end new
-- BigInt
property Num
property StringRep
on new me, aString
Num = script("Digit").new(Integer(aString.char[aString.length]))
curNum = Num
repeat with pos = aString.length - 1 down to 1
curNum.next = script("Digit").new(Integer(aString.char[pos]))
curNum = curNum.next
end repeat
return me
end new
on add me , Num2
curNum = Num
curNum2 = Num2.Num
result = curNum.val + curNum2.val
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
sum = script("Digit").new(result)
curSum = sum
curNum = curNum.next
curNum2 = curNum2.next
repeat while curNum.ObjectP AND curNum2.ObjectP
result = curNum.val + curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
curNum2 = curNum2.next
end repeat
repeat while curNum.ObjectP
result = curNum.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
end repeat
repeat while curNum2.ObjectP
result = curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum2 = curNum2.next
end repeat
StringRep = ""
me.makeString(sum)
return me.script.new(StringRep)
end add
on toString me
StringRep = ""
me.makeString(Num)
return StringRep
end toString
on makeString me, digit
if not digit then
return
end if
me.makeString(digit.next)
put String(digit.val) after StringRep
end makeString -
Returning a number with precsion in pl/sql function
How can I return a number with desired precision in oracle function
e.g
Function return_number ( --- )
return number
is
v_number number(10,2)
begin
select no into v_number from table;
return v_number;
end;
will this workHow can I return a number with desired precision in oracle functionCreate a subtype as e.g. in
SQL> create or replace package pkg
as
subtype n10_2 is number(10,2);
end pkg;
Package created.
SQL> create or replace function return_number
return pkg.n10_2
is
v_number pkg.n10_2;
begin
return v_number;
end return_number;
Function created.
SQL> select object_name ,data_type, data_precision, data_scale from user_arguments where object_name = 'RETURN_NUMBER'
OBJECT_NAME DATA_TYPE DATA_PRECISION DATA_SCALE
RETURN_NUMBER NUMBER 10 2
1 row selected.also possible:
... return tab.col%type;where col is a column of tab with data type number(10,2). -
Web service problem: stub doesn't get created like it should.
Our project uses a standard web service stub which has been created with Netbeans from a WSDl file. The project works OK and the the stub gets created on Nokias and
SonyEricsson, but not on Palm. What could be the reason for this?AstralVisuals
I haven't worked with Palm but it's likely a CDC device whereas the other two are probably CLDC.
Try a build for CDC, with any necessary changes in your source in case of compiler errors.
Don't know, really, but there's a chance that might sort things out.
Darryl -
How to Create a Auto Generated number with some preceding text in Sharepoint 2010
I am trying to create a auto generated number field in Sharepoint 2010 list item. My requirement is to have the following format number generated when new request is created in Sharepoint using form. Auto generated Ticket ID should be in the following format
"IR13000" "IR13001" "IR13002"....... Please let me know how to get this done. I tried to use combination of default ID and Characters but its not working for new requests, its only reflecting for existing uploaded requests. I
am trying this for taking up Ticket requests by filling up some fields in the form. Any quick help is much appreciated.
ThanxHere are the steps:
1 - Open your SharePoint site in SP Designer 2010.
2 - Click Workflows and add a List workflow. Associate this workflow on the list where you want the Random Text to be generated.
3 - Inside the workflow editor, select the Action "Update list item"
4 - Select 'Current Item'.
5 - Click Add.. and select the field which needs to be updated with the Random Text. Make sure this column is not of type "Calculated" type, otherwise you won't see it in the list of the fields within the workflow.
6 - Click "..." button in the next textbox which will open String Builder dialog box.
7 - Type IR and then click 'Add or Change Lookup and select ID column from "Field from source". Hit OK.
8 - It should look like IR[%Current Item:ID%]
9 - Hit OK.
10 - Save and publish the workflow. (Please note that currently this workflow is not set to auto run on creating new items. That's because we want to test it at this point of time).
11 - Go to your list in SharePoint and create a new item. After creating, select the item and click Workflows and then run this workflow.
12 - You should be able to see the text "IR1" in the designated column.
13 - Once you see that it's working, go to SPD and set the workflow to run automatically on creation of the new item. Save and publish and then return to your list in SharePoint.
14 - Create a new item there and you should see the Random value in the column.
15 - You will also see the column in the New form. In order to remove it, go to List settings > content types > Item content type > and select Hidden for this column so that it doesn't showup in any form.
Try it and let me know how it goes.
Thanks,
Ashish -
Create a proxy from abap with 3 messages parts
Hi,
I am trying to create a proxy from a WSDL file with 3 messages parts:
<wsdl:message name="executeSoapIn">
<wsdl:part name="farmName" type="s:string"></wsdl:part>
<wsdl:part name="requestXML" type="s:string"></wsdl:part>
<wsdl:part name="farmProps" type="s0:Map"></wsdl:part>
</wsdl:message>
This is not possible because it is not fulfilling the SOAP 1.1 standard, so when I try to create the proxy I am getting an error, so no proxy is created.
My question is: Is is possible to create a ABAP proxy manually so the proxy would have the 3 parameters of the messages part?
Thanks in advance.
Eduardo.
Message was edited by:
Eduardo MartíHi,
The problem is that i need to create a proxy with 3 parameters in one of its methods, that is, the method SOAPEXECUTEIN will need the parameters (farmName, requestXML, farmProps), as shown in the piece of code of the WSDL file. I can not do it because the system did not allow me, it allows just one parameter.
Is it possible to create the proxy in some way that allows me the method with the three params?
Thanks Aamir.
Cheers. -
Can i get my iphone 4 serial number with the IMEI number?
My iphone is missing/stolen (probably stolen). I'm trying to use the find my iphone app but need to add my iphone to my apple profile because it's a new phone and I hadn't done it yet. I have the IMEI number but I don't have the serial number and I guess that is what apple wants because it keeps saying the number I give them is not valid. Does anyone know if there is a why of cross referencing so that with my IMEI number I can get the serial number? OR is there anyway other than that to add my phone to my mobile me profile?
With iTunes on your computer assuming you have synced your iPhone with iTunes and/or backed the iPhone up with iTunes.
http://support.apple.com/kb/ht4061
You shouldn't need the serial number with taking it to an Apple Store unless it has changed. Your cell phone number should be enough. -
MD04 and PO return delivery quantity with exception message 15
Hi, Please suggest me how to get rid of PO return delivery quantity from MD04 where it is showing as POitem with receipt quantity and exception message 15 - reschedule out and reschedule date is showing current date.
Here we have received x qty from vendor and then moved y qty to blocked stock and then did return delivery (here return delivery did without any reference), we will not receive y qty anymore in future, how to get rid of this qty from MD04.Hello
Please refer to the following note for more details about this scenario:
634038 - MRP: Returns order and delivery
This note explains in detail the customizing settings that you might use to turn a return delivery not relevant to MRP.
Best Regards
Caetano Almeida -
How to create sales return with multiple invoices
Hi ,
I am creating a sales order return with reference of billing document using FM SD_SALESDOCUMENT_CREATE, if i give one Billing document as a reference document it is creating document perfectly.
But my Requirement is to create one Return sales order with multiple invoices.
I tried to pass reference document no's in Item level , but it take first reference document number only , for that reference document only return is creating.
Can you any one help me how to create this.
Thanks in advance
Swapna.Hello Venkat,
As I know it is not possible to create a single return order for multiple invoices in the background.
It is possible in the foreground by following the below steps.
1) Goto VA01 --> enter the Sales order type and Sales area.
2) Press F8 or click on create with reference, provide the first invoice.
3) Now the main screen would appear, displaying line items from Invoice1.
4) Without going back, again goto path, Sales document -> Create with reference
5) Enter second invoice2. and the items from invoice2 will also appear in the Sales order line item.
------ Enter as many number of invoices by repeating the above step--------------------
6) Press save, so one sales order is created for multiple invoices.
Regards,
Thanga -
Return sales order( with ref. to Invoice) need to have less quantity
Hi Friends,
Here one issue is coming while creating a return sales order with ref. to invoice.
Example is:
In original invoice an article X is of price 10 having 10 quantity and hence total price 100.
but now customer wish to return only 5 articles and creating this Retun sales order with refernce to this invice
now in return sales order quantity is coming correct i.e 5 but the amount is still the same i.e 100.
But this should be 50( 5*10).
Please can someone help to find the reason why the price is not changing while quantity is changing.
I have already check the copy control but there also setting seems to be correct.
Also when i try to update the pricing via condition tab the price got changed. but that is manually.
Thanks
Punit.Thanks Jignesh,
But can you please tell which pricing input should be the best.
As "price redetermine" option can't be selected as price keep changing.
also i did that for "same price and redetermine tax" but doesn't seems to be working.
Please if you can suggest any option where the price of the article will be same (the old one when article was sold) as proportionate to quantity without redetermining the price.
like article x has qty 10 and price 10 hence amount 100
but later price of article change to 11
then if i chose redetermine price then for five article this will be 55 which is again wrong( it should be 50 as at the time of sale the price was 10)
Hope I made the issue clear enough. Which setting in pricing one can recommend.
Regards
Punit
Thanks -
PO not getting created in the backend
Hi
I have made settings for R/3 PO to be created once a SC is approved, but I get the following errors in the "Application monitors>Shopping cart> backend application errors"
000Creation of PO using Enjoy BAPIunsuccessful
MEPO 085Check item number 0 in tabl
06 010Document contains no items
MEPO 071Item 00010 does not exist
Note: PR and reservations in R/3 are getting created as follow on docs for SC but onky PO creation is throwing these errors. PO is getting created if i manually try and create it in R/3, so i suppose theres nothing wrong with the data as well.
Regards,
AmolHi Sailatha,
I am new to this so can u pls tell me, how to check and rectify it step by step. Which are the transactions used and how to do the assignment.
Also what are the default message types to me maintained in the ALE customization. Currently i have the following messages maintained:
ACC_GOODS_MOVEMENT
ACLPAY
BBPCO
BBPIV
MBGMCR
Thanks & Regards,
Amol -
SRM PR is not getting created in ECC backend
Hello Experts,
We are running SRM 7.0 with SRM-MDM Catalog, we are using SRM for shopping. We do have PI 7.11 running in the Environment as well.
We are on ECC 6.0 with Ehp 4.0
Purchase Order:
However we can see the PO creating successfully using PI.
Question, in the SRM table (BBP_FUNCTION_MAP), we see the object type: BUS2012 for ERP 4.0 has adapter name: /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP for when creating PO. Please see teh screen shot.
is this the reason that we need PI?
Purchase Requisition:
PR Creation is not working:
PR is not getting created in the ERP, PR uses Object type: BUS2105, Adpater CL_BBP_BS_ADAPTER_RQ_CRT_470 for ERP 4.0 System type, can you please tell me if the adapter is correct for ERP 4.0 system type?
I also have a question to ask:
1) Where did you see that PR/PO was send to PI System (PI1)? My understanding is that since ERP amd SRM are 2 ABAP Systems, why we cannot send the PR/PO directly to ERP system from SRM? Why do we need a middleware(PI) in between for this process? We should be able to USE BAPI function to do it correct?
Please advice.
Thanks
Kumaryes, i could see a PR number with all this additional details as below.
Table BBP_PDBEI
CLIENT 453 Client
GUID 4CAEFA58EB9D005CE1008000AC1C2031 Globally Unique identifier
BE_LOG_SYSTEM QA1400 Logical System of Logistics Backend
BE_OBJ_ITEM Follow-On Object Item in Back-End System
BE_OBJECT_TYPE BUS2105 Follow-On Document Object Type in Back-End System
BE_OBJECT_ID 2000000167 Follow-On Document Object ID in Back-End System
BE_REFOBJ_TYPE Reference Object Type in Back-End System
BE_REFOBJ Reference Object in Back-End System
BE_REFOBJ_ITEM Reference Object Item in Back-End System
BE_REFOBJ_SBITM Reference Object Sub-Position in Backend System
BE_REFOBJ_TYPE2 Reference Object Type in Back-End System
BE_REFOBJ2 Reference Object in Back-End System
BE_REFOBJ_ITEM2 Reference Object Item in Back-End System
BE_REFOBJ_FYEAR2 0000 Reference Document Object - Fiscal Year in Back-End System
BE_STGE_LOC Storage location
BE_PLANT 2016 Plant
BE_BATCH Batch Number
BE_VAL_TYPE Valuation type
BE_MOVE_REAS 0000 Reason for Movement
BE_EXPERYDATE 00000000 Shelf Life Expiration Date
BE_PUR_GROUP 206 Purchasing group
BE_PUR_ORG 2000 Purchasing organization
BE_CO_CODE 2000 Company Code
BE_DOC_TYPE CLRQ Purchase Requisition Document Type
BE_ACCREQUIRED Account Assignment for Logical Backend Required
BE_SP_STK_IND Key for Special Stock Section
BE_INFO_REC Number of purchasing info record
BE_MOVE_TYPE 201 Movement type (inventory management)
BE_PACKNO 0000000000 Package number
BE_INTROW 0000000000 Internal line number for limits
BE_ITEM_TEXT Short Text of a Service Purchase Order Item
BE_PO_PRICE 1 Price from Backend
BE_UNLOAD_PT 200 Unloading Point in Backend
BE_DEL_IND Deletion Indicator in Backend Documents
BE_TRACKING_NO Requirement Tracking Number
BE_COND_TYPE Condition Key
BE_COND_STEP 000 Level Number
BE_COND_COUNTER 00 Condition counter -
Backend PO not getting created after EHP6 upgrade
Hi Friends,
Recently there was an SAP patch upgrade in ECC 6.0 and after that while creating the shopping cart the PO is created, but it is not transferring to ECC. We are using the extended classic scenario SAP SRM 7.0. I had checked almost everything right from debugging still clueless. even checked the forums but still the issue is not resolved. Any hints of how to proceed now.
Regards,
Ramesh.When We are creating shopping cart, system will create Po in back end based on our BAPI.
Check whether BAPI is running properly or not. You are updated new version EHP6 , I hope you should do required configuration. Try in development server whether Po are creating backend or not.
I hope you should check all the configuration in backend system i.e in ECC and SRM side.
Do again batch running and check whether back ground job getting created or not. -
Why doesn't the pwdchangedtime attribute get created?
In OID, I set up a password policy where passwords never expire. Then I create some users. Then, I change the password policy so passwords expire in 30 days. But, the passwords never expire for the users I previously created. I think it's because the pwdchangedtime attribute never got created. But, if I change a user's password, then the pwdchangedtime attribute gets created. Why doesn't the attribute get created when I change the password policy?
which version are you using?
regards,
--Olaf
Maybe you are looking for
-
HT1766 How do I fix my iPhone 4 out?
I downloaded and installed iOS7 onto my iPhone 4 a couple of days ago. I thought it had finished installing but it hadn't and I left the house with it, with no internet. It stayed on the loading screen all day and wouldnt change until it ran out of b
-
Hi Experts, 1) While entering invoice, Payments terms derived from PO. But it can be changeable. This shouldn't happen. is it the standard or any notes there?( Because in certain cases, once derived from the PO, this was deleted) 2) Baseline date wil
-
Hi, in the scnario soap to jdbc i am selecting records from oracle database from the soap request and response as to be sent back to soap. here i am getting this error as com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error pro
-
My JMS Consumer receives messages at uneven time gaps
I have two applications, say APP1 and APP2. Both of these are connected through JMS Bridges. APP1 is hosting the PUSH bridge to APP2. There was an uneven delay in the messages that are received at APP2. I have checked the logs and found that there is
-
I just wanted to update creative cloud and this error came up has anyone experienced this? PC Specs Model: ASUS Notebook UL50VT Processor: U7300 @ 1.3GHz RAM: 4GB OS: WINDOWS 7 64bit