Obligatory parameter when using standard BAPI
Hello,
We are creating a OData service using standard BAPI, BAPI_PO_GETITEMSREL.
we are getting following error after executing the purchase order collection:
Kindly help.
Regards,
Ajay
This is the error again:
Receiver channel 'CC_Contrct_Recivr' for party '', service 'BS_SHD_901' (internal name 'RfcClient[CC_Contrct_Recivr]')
Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=900, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=337710, jco.client.sysnr=55, jco.client.ashost=172.17.48.55}
Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=900, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=333333, jco.client.sysnr=55, jco.client.ashost=172.17.48.55}
Current pool size: 5, maximum pool size : 50
Similar Messages
-
Issue while creating Outbound Delivery using Standard BAPI
Hi all,
I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
Regards,
Vimala PHi Vimala,
I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
1) Delivery Type
2) Delivery selection date
Needs to be passed in import parameters.
Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
Thanks in Advance..
Regards,
Rajasekar .M -
Mass loading of customers using Standard bapi
Hi All ,
I have developed a RFC to load customers which internally calls standard BAPI "BAPI_CUSTOMER_CREATEFROMDATA2"
this RFC was used to load about 50,000 customers Initially.
The program as done 21 million DB reads and took 4 hrs to finish , Is this normal,
I am populate Structures for KNA , KNVV,KNVP,KNB5,KN ,
Before passing data I am doing some checks About 4 reads to DB for each record
Thank And Regards
Vinay kollaHi Radha ,
thanks For your reply but Would like to know if the number of DB reads 21 miilion normal ,
Direct Read 15835,986 219033711 23,058
Sequential Read 1,046,389 212464956 29,630
Insert 179,688 229127611 179,688
Update 0 0 0
Delete 0 0 0
Sources 1,320,333 (Bytes)
RSQL 9,943,437 (Bytes)
Commit 0
DB Procedure Calls 0 0
Roles / Memory Number Time (usec)
Roll In 1 213
Roll Out 0 0
Roll 188,416 (Bytes)
Page 73,728 (Bytes)
Memory (Total) 429,669,860 (Bytes)
Memory(Total Private) 504,208,576 (Bytes)
Memory (used) 425,477,992 (Bytes)
Memory (Max. Transaction) 429,659,425 (Bytes)
Memory (Max. Dialog Step) 429,659,425 (Bytes) -
Creation of Opportunity using standard BAPI
Hello,
I am using BAPI_OPPORTUNITY_CREATEMULTI for creating opportunity. It is generating GUID and Oject ID. But the data is not storing in data base table except GUID in CRMD_OPPORT_H table. And even it is not displaying all the data which is i am passing through flat file in t-code : 'CRMD_ORDER' .Hello Nizam,
I am also working on the same requirement.
I am able to create the Opportunity successful through the BAPI "BAPI_OPPORTUNITY_CREATEMULTI".
and it is also updating all the required fields.
But issue which i am facing is, I am able to see the opportunity in the GUI but not in the WEB UI.
Could you please help me on this?
Which parameter I need to set in order to Pass the opportunity on the WEB UI.
I would really appriciate if you share the code.
Thanks & Regards
Sachin -
Import manager error, when using Standard maps
Hi,
I am trying to import data using Import manager statndard Maps.
For certain maps I am getting the following error message.
<b>"Unable to retrieve unique values for field 'Key <Clone>'."</b>
And also after getting this error if I close the current statndard map and open another standard map, import manager crashes.
I am using MDM Version 5.5 SP2(5.5.24.04).
Thanks
SubbuHi Subbu,
I encountered this issue around inability around unique values for cloned fields too, although in custom maps, not standard ones.
1. When reported, this was fixed in 5.5.24.05. So, try usin 5.5.24.06 and see if you still face it.
2. The other option or workaround to be precise is to uncheck the Read-only box in bottom left hand corner of the second screen. This should work too.
As a last note, even in 5.5.24.06, I still encounter this issue when importing into nested look up tables. This is up for future fixes.
I use the uncheck read-only as work around for now.
Good luck!
Savi -
How to set the margin of a jtextfield when using standard lineborder
Hi,
I want to give my jtextfield a custom inset. The problem is that I also use a lineborder which controls the inset, thus when I try to the setMargin method, it doesn't work.
Can anyone tell me how to do this?
Much thanks
Hugo Hendrikshello,
try to use a compoundborder and add the lineborder and an emptyborder to it. by setting the emptyborders insets you can control the jtextpanes insets.
i hope that one works =)
bye -
Preparation failed in trex when using standard Who's who iview
Hi,
I have encountered a problem with the standard Who's who iview, which makes a simple search in the ume impossible.
All users "preparation fails" with the following error from Trex monitor > Display queue entries:
Document ID: /ume/users/USER.PRIVATE_DATASOURCE.un%3Ar5mas.usr, Return Code: 16040, Return Message: SSL: rc=-40 pse_error, Document Status: Prepration failed, Action: Index, Retry Count: 3.
I'm working on Netweaver '04, stack 9, installed from rapid installer.
Any help is greatly appreciated.
Regards,
Martin
Message was edited by: Martin SøgaardJust in case anyone happens to stumble across this thread via search, the error 16040 means that your user doesn't have permission to read the PSE it's trying to open. You'll get errors like this in one of your trace files:
[Thr 1224] =================================================
[Thr 1224] = SSL Initialization on PC with Windows NT
[Thr 1224] = (710_REL,Jul 15 2010,mt,ascii,SAP_UC/size_t/void* = 8/64/64)
[Thr 1224] = found SAPCRYPTOLIB 5.5.5C pl36 (Jul 3 2013) MT,[aesni],NB
[Thr 1224] = current UserID: SAPDOMAIN\SAPServiceSID
[Thr 1224] = found SECUDIR environment variable
[Thr 1224] = using SECUDIR=E:\usr\sap\SID\TRX00\sec
[Thr 1224] *** ERROR => secudessl_Create_SSL_CTX(): PSE "SAPSSLS.pse" not found! [ssslsecu.c 1354]
[Thr 1224] secudessl_Create_SSL_CTX: SSL_CTX_set_default_pse_by_name() failed --
[Thr 1224] secude_error 1281 (0x00000501) = "open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned"
[Thr 1224] >> ---------- Begin of Secude-SSL Errorstack ---------- >>
[Thr 1224] ERROR in SSL_CTX_set_default_pse_by_name: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in ssl_set_pse: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in af_open: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in secsw_open: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in secsw_open_pse_or_extension: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in sec_get_PSEtype: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in aux_read_PSEFile: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] ERROR in aux_file2OctetString: (1281/0x0501) open("E:\usr\sap\SID\TRX00\sec\SAPSSLS.pse") returned : "Permission denied"
[Thr 1224] << ---------- End of Secude-SSL Errorstack ----------
[Thr 1224] *** ERROR => SapISSLAddCredential(): Error SSSLERR_PSE_ERROR trying to create SERVER Credential
for "SAPSSLS.pse" [ssslxxi.c 2278]
[Thr 1224] *** ERROR => Initialization of SSL library failed -- NO SSL available!
[Thr 1224] ================================================= -
ABAP Object Using standard BAPI
When running ABAP program to convert Accounts Payable conversion documents, the program results indicate the document in the load program were created and returns the relevant document numbers. However when validating the documents in BKPF, BSEG, or BSIK the documents are not in the table.
There are no SM13 update log data listing entries for the missing documents.
Example the conversion load file contained 50 documents, the program results indicated all 50 documents were created and provided 50 document numbers. When those document numbers are run in SE16/BKPF only 41 of the documents are returned on the query.
The program was run with a Basis trace active and there were no errors.
The program run successfully without losing documents in our DE, QE and one SE client, the problem occurs in the second of our SE client. There are no transport differences and no functional config differences between the two SE clients.
However, the SE cliient was created via a copy of PRD.you just forgot to give us information about this program (name if it's a standard one, and if it's a custom program you should investigate more because we can't help without having in-depth details)
-
New to 16x9 format, how get best quality when using standard dv footage?
If I am capturing standard NTSC dv footage, and adding standard dimension digital photos, what capture and sequence settings should I use to get best looking 16x9 output? I know I can export as 16x9 and burn a 16x9 DVD in DVDSP, but I was thinking I should capture and edit that way as well to get best quality.
Thus far, I've been editing everything as 4x3 and assuming the tv's these will be shown on will compensate, which is generally true. I would like, however, to give my clients the option of which output option is best for them.So, a client would have to give me 16x9 raw footage for me to produce a true 16x9 DVD?
Yes.
I know I can't produce HD DVDs, at least not cost effectively, and most people don't have players anyway.
Right. None of us can. The movies from the store or Netflix aren't HD. HD has no current relevance in DVD production (other than as acquisition formats).
I do want their footage to look as good as
possible on those large screen tvs.
If you produce a good DVD it will look good. All the other DVDs that are 4:3 are just that - 4:3. Same with 4:3 television. If they were produced well they should look great on any screen.
1. I'm starting with DV NTSC raw footage, a low-res
codec.
OK.
2. I'm compressing to MPEG-2 to be playable on an
SD-DVD player, a further low res codec.
OK. But you really mean "to be playable on a DVD player".
3. Regardless of what I do, it's going to be
low-res.
Regardless of what you do, the resolution is limited by current DVD technology. That is, in the NTSC world, 720x480 whether it's 4:3 or 16:9.
Does MPEG-2 always look crappy on an HDTV? On a 72dpi SDTV, it looks acceptable. Is there a workaround for HDTV?
Whether or not it looks crappy is subjective. If Hollywood-produced DVDs and SD television look great on it, then it's possible to make it look great.
Your real limitations - the ones you have control over, are:
- quality of camera, glass, and related equipment
- quality of lighting, audio, camerawork, production in general
- recording format (DV ain't the greatest).
- editing format (hint: you don't have to edit in DV)
- quality of editing / editor
- quality of MPEG2 encoding
In your case I think the last one is the most relevant. If you aren't getting acceptable results you may need to learn more about MPEG2 and Compressor.
BTW 72dpi is a print term, it has absolutely no meaning in video.
Further question, if I'm doing a photo slideshow, not DV footage, can I leave it uncompressed or will it convert to MPEG-2 and stink regardless?
To make a DVD movie it needs to be MPEG-2. That's the technology we have. But it doesn't have to stink. The MPEG-2 you use is the same MPEG2 the studios use with movie releases. The technology is the same, the difference is that they have people who really really know how to use it well.
There is a way to make actual slideshows from JPEGs which play from a DVD or CD. I know little about this, but I suspect that the resolution is still limited to 720x480. Someone will correct me if that's wrong. But you don't have to put them through MPEG2 compression.
You may benefit from finding out what 16:9 really means. All it means is that the display is wider. That's all. There is no implication of a quality increase, in fact from DVD playback the 16:9 picture will always appear a little softer than SD if viewed on a widescreen device. That's just the way it is. -
How can forbid changing data when using BAPI 'BAPI_MATERIAL_SAVEREPLICA'?
I am using BAPI 'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
But this BAPI also can be used for change mode.
How to forbid the change of MAT data when use this BAPI?
TKS a lot~~
I am looking foward to your response~~~you have to find out what the user did before your program goes ahead and starts the BAPI.
-
How can forbid changging data when using BAPI 'BAPI_MATERIAL_SAVEREPLICA'?
I am using BAPI 'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
But this BAPI also can be used for change mode.
How to forbid the change of MAT data when use this BAPI?
TKS a lot~~
I am looking foward to your response~~~
Edited by: lorryhappy on Dec 22, 2009 11:35 AMHi
You can achieve it in another way..
Before Passing Data to BAPI , Check whether the material is existing or not..
If material is existing (Present in Material Master Tables e.g. MARA ) using
data: l_matnr like mara-matnr.
Select single matnr from mara into l_matnr.
IF sy-subrc EQ 0.
" Material is existing ==> Do Not Pass to BAPI
else.
" Material is NOT existing ==> Pass to BAPI for creation.
endif.
Repeat above logic for every material in batch..
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Disable print output when using bapi BAPI_GOODSMVT_CREATE
Hello,
I am using BAPI BAPI_GOODSMVT_CREATE to post material documents in our programs.
I wish to prevent the print output of the documents created by the BAPI.
Meaning - when the user post good movement using MIGO, there will be a printout of the movement, but if the movement is created using BAPI_GOODSMVT_CREATE, no output will be printed.
I have tried sending blank values in fields VER_GR_GI_SLIP & VER_GR_GI_SLIPX in GOODSMVT_HEADER structure, but to no avail.
Is there a way to disable printing ONLY when using the BAPI?
Thank you very much.Hi,
We cant restrict the print preview or print out of the material document. Once the condition record has maintianed for the material document, it ll applicable for all the material doc . It would be manual Gr or BAPI GR.
In your case Print is coming automatically or user is taking the print !!
Regards,
Dhanush. -
Standard BAPI or wrapped in a ZBAPI?
Hi folks,
Iu2019m doing a scenario File to RFC (BAPI_PO_CREATE).
The file has several purchase orders to create and Iu2019m wondering which the best approach to follow? Iu2019ve been thinking in the following two approaches:
1 u2013 As BAPI_PO_CREATE only creates one PO per call, with help of ccBPM and a block ParForEach I can call BAPI_PO_CREATE synchronously for each header line plus items. However, this scenario must be atomic (or we create the entire POu2019s or nothing is created) so Iu2019ve to set the test parameter of this BAPI, collect each exception and in a switch step ask if there is exceptions. In case of exceptions a new message is created with all exceptions and mailed to the business process responsible. If everything is ok, Iu2019ve to repeat the BAPI calls but now without the test parameter set, in order to crate all PO in R/3.
I didnu2019t try it before but I think it can work.
2 u2013 Wrapping the BAPI_PO_CREATE, BAPI_TRANSACTION_COMMIT and respective rollback in a ZBAPI; with this I can model the development as I wish. I can create a ZBAPI to receive all POu2019s and inside it in a loop create each PO and also do the exception handling there.
The first approach seems aligned with SAP best practices; however it seems complex to handle and heavy for PI system performance compared with second approach.
Another point is we are going to upgrade SAP ERP; therefore we will get the local integration engine to develop ABAP proxies. I think with the 2ª approach we can move quickly (migrate) these developments to ABAP proxy.
Which are the best practices for integration with RFC adapter? Should I always use standard BAPIs or in this case is recommended to wrap the BAPI?
Thanks in advance,
Jorge.Hi,
>>Which are the best practices for integration with RFC adapter? Should I always use standard BAPIs or in this case is recommended to wrap the BAPI?
there are a few alternatives to your approach because of which
I wouldn't use any of those two which you proposed
this is what I'd so:
since you don't have ABAP proxies yet - you should use IDOC
PORDCD101 to create purchase orders - this way you can send all of them
in one call (IDOC bundling) but in ERP they will appearch as one by one
so even if one of them will not work you will know which one is it
(this is not the case with RFC calls as they are not persistent in ERP)
if you can wait for abap proxies - you can also choose the abap proxy approach (also does not matter if you do them one by one or all at once
as they will be persistent in ERP so you will know which one failed
and you can reprocess - the same as with IDocs)
since RFCs in your two scenarios are not persistent you'd
have to build some functionality to cover that - but there is no need to do it
as you have :
1. stasdanrd IDOC
2. you can do it with proxies
Regards,
Michal Krawczyk -
Dear All,
I am using standard BAPI Name is BAPI_AR_ACC_GETBALANCEDITEMS.This BAPI also using in Interface on J2ee AND SAP.Now I am Added in One New Field.Name is USNAM.But USNAM Field is Not Available in the above BAPI.How to Add the USNAM field.Please Help me.AND Standrad BAPICopy is Possible.IF it Possible How to Copy the standard bapi.
NOTE: I will try for developement system Is need to Accesskey.
regards,
raj a1. When trying to enhance a standard BAPI, you can make use to the new enhancement framework to extend the interface. However, you will need to have at least mySAP 2005 based on SAP NW 2004s.
2. Copy the BAPI to a Z_BAPI and use that. Go to transaction SE80 and display the function module (BAPI) to be copied. Press left mouse button on FM in the tree on the left and choose copy. In some cases it might be better to copy the whole function group since in the top include of the function group, all global variables are declared which are used in your function module. so instead of declaring them yourself, it would be faster to copy the whole function group.
3. Change the interface via modification, you will need an access key. -
How to bypass material rounding rules when using 'BAPI_PO_CREATE1'?
How to bypass rounding rules when create a PO using 'BAPI_PO_CREATE1'?
I faced a problem when using the BAPI to create PO. As the material has rounding rule, thus, when I create the PO using this BAPI, the quantity will be rounded according to the rule.
How can I bypass the rounding rule so that I can upload the quantity according to the quantity that specify in my upload file?
Edited by: Irene Sam on Jun 17, 2008 1:08 PMI've solved the problem with passing the parameter no_rounding into the BAPI.
poitem-no_rounding = 'X'.
poitemx-no_rounding = 'X'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = poheader
poheaderx = poheaderx
IMPORTING
exppurchaseorder = w_ebeln
TABLES
return = poreturn
poitem = poitem
poitemx = poitemx
poschedule = poschedule
poschedulex = poschedulex
potextheader = pohdrtext
poaccount = poaccount
poaccountx = poaccountx.
Maybe you are looking for
-
How to querie with bind variable in findMode?
Hallo, is it possible to use a querie with bind variable in findMode? And when how is it possible to initialize the bind variable? Any help is appreciated.
-
Why is my phone number not showing up in iMessage?
I have a MacBook running 10.8.2 and iMessage does not have my iPhone number as part of the account. I'd like iMessages sent to my iPhone to also show up in iMessage on my MacBook. How do I get my phone number to show up in my Apple account on my Ma
-
User's Group Membership problem with enterprise domain
Hi I have some problems synchronizing Active Directory in LiveCycle ES 8.0.1. I'm able to import the users and groups from an active directory to a enterprise domain... but the asociation user to group is not keeped. The problem could be why the DN o
-
I just tried to update to iOS 6. It says that an error occurred and I have to restore my iPhone. I know I will loose all of my data. Do I have any other alternatives?
-
Telling what page mode you're in
Hi, In JPDK or PL/SQL (or even JSR-168), how do you tell what mode the user is viewing the current page in? I.e. if a user is viewing the entire page in "edit" mode for editing content or in view mode for viewing content (I do not mean in a portlet "