Getting error in BADI
hi,
Here is my reqirement:
The SAP sales BOM functionality needs to generate movement types 309/310 rebrands for the component materials and 601 on the header or additized material. This is needed to create the correct financial posting as well as stock movements
When the header MOT of the delivery for PK as well as the item category of the sales BOM header ZTAQ.Business Ad-In LE_SHP_GOODSMOVEMENT can be used to trigger the goods movement from the delivery.
for cretetion of materila document i have used the FM
BAPI_GOODSMVT_CREATE .bUT Iam getting an error msg "<b>No additional quantities imported from external application"</b>.Please explain me wht the error is?
Thanks
Hi,
Instead of BAPI_GOODSMVT_CREATE.Use <b>MB_CREATE_GOODS_MOVEMENT</b>.
The function module provides a general interface for posting goods movements.
Movements performed in the framework of subcontracting (e.g. goods receipt for vendor with reference to subcontract order item or subsequent adjustment of "material to be provided" items) are currently not supported.
In addition, it is assumed that in a goods movement with reference to a reservation, the reservation has already been read. The data of the reservation is to be made available through IMSEG. As of Release 3.0D, it is also possible to only submit the reservation number and item. In this case, the field XRERE of structure IMSEG must be filled with 'X'. If a reversal with reference to a reservation is to be posted - and the XRERE indicator set -, the XSTOB field in the IMSEG structure must be filled with X. In this case, no value is submitted in the IMSEG-BWART field.
As of Release 3.0D, it is possible to have the system suggest the quantity to be posted. This has been implemented for movements with reference to reservations, production orders, and purchase orders. Enter an 'X' in the field IMSEG-XMEVO. The field IMSEG-ERFMG must remain blank.
The system uses either the SY-TCODE or the transaction code that has explicitly been provided in the import parameter CTCOD. You have to make sure that an entry for the transaction is contained in table T158. In addition, you have to maintain the transaction/valid movement type combination in table T158B.
There is no dialog. That is, error handling has to be ensured by the caller. The function module has been designed so that new items can only be added at the end. They cannot be inserted at any other point, because then the correct allocation between IMSEG and EMSEG will be lost (via SY-TABIX). The error messages are returned to the caller via the structure EMKPF or EMSEG. The COMMIT occurs at the caller.
The parameter XALLP controls that the material document can only be generated after all items have been posted. Parameter XALLR controls whether in the case of repeated calls all tables are to be initialized or only the new/corrected items are to be processed. If in the calling program, new items are inserted between existing items, this parameter must be set.
There is also the following option: Items that caused an error in the first call can be omitted when repeating the call. For this purpose, the field XNIBU in table IMSEG must be set.
The structure EMKPF and tables IMSEG and EMSEG are returned. The field IMSEG-BEAKZ indicates when processing of an item was successful. In the field EMSEG-YZEIL, the preliminary line number is contained in the material document. If the document is posted, the line number is contained in field EMSEG-MBLPO of the material document. The field EMKPF-SUBRC indicates where the program found the error.
EMKPF-SUBRC Ereror
16 Initialization incorrect
15 Header data incorrect
11 Error when reading material master records per PREFETCH
10 Error when reading material short texts per PREFETCH
08 Allocation of IMSEG to EMSEG incorrect
07 Error when correcting an item
06 Error when creating an item
05 No item generated
04 It is only permitted to post all items; however, there
is at least one incorrect item
03 Error when posting the document
02 Allocation of IMSEG to EMSEG incorrect
01 Allocation of YMBUZ to XMSEG incorrect
Please note that in EMKPF, the message ID, message number, etc. need not necessarily be set. It can also be the case that the system only indicates that an error has occurred. However, the relevant error message can be found in table EMSEG (with reference to the relevant line). For the following EMKPF-SUBRC's, the error messages are contained in table EMSEG: 07, 06, 05, 04.
Regards
Similar Messages
-
Rest API v1 Getting Error 400 bad Request
Hi,
we have a very strange problem. We are using a custom JAVA WebDynpro UI for doing our approval workflows, and are making an upgrade from NW Version 7.0 to 7.31 (finally ). We have upgraded the DEV System without any troubles everything works fine with NW 7.31.
In the PROD IDM we have this scenario:
We have a Sandbox NW UI that was now upgraded to 7.31 and the PROD UI which still runs on 7.0. Both UIs have the PROD IDM DB linked.
There are several approval steps with a custom Request Object in our workflows.
Some approval steps work without any problems with the 7.31 UI, but in some steps we geht the Error 400 bad request from the REST Interface.
When I approve the same approval with the 7.0 UI it works fine. We also debugged the REST Call, which is sent to the rest service and can't find any differences, it looks like this:
http://<hostsbx>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does not work
and
http://<hostprd>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does work
There are other tasks which work with both UIs.
What else could we check?
BR,
AndreasHi,
thanks we also made the changes described in the note, which works on DEV fine.
It is strange that one approval task works and the other not, so I think the problem might not be in the NW Configuration?
BR,
Andreas -
I get "Error 400 Bad Request" when playing wwdc 2005 keynote
I can play other videos and see movie trailers, but for some reason, I can't get the 2005 wwdc keynote to play. Any tips?
Your network may be blocking the UDP port that QuickTime streaming uses by default. Go to the streaming/transport preferences in the QuickTime preferences (can't tell you exactly where since you don't post what version of QT you're using) and change the setting to stream on HTTP port 80 and try again.
Hope this helps. -
URGENT - Error 400--Bad Request
When I run weblogic 6.0 default console I get "Error 400--Bad Request> From RFC
2068 Hypertext Transfer Protocol -- HTTP/1.1:"What does this mean ? Can u help
me to fix it !! Other than reinstall the whole WebLogic!!!
Another things is do you have and recommendation web site, eBook that teach "Using
Weblogic EJB with JBuider 6". Thank YouThe solution was to switch to Apache's HttpClient. no more problems with SUN's HttpUrlConnection!
-
Starting Broadcaster - getting Error 400
Hi Experts,
we're on BW 7.3 using WAD 7.0 template.
In this web template I call launch broadcaster, setting with no wizard and current template.
On development it works, on Q not. The Broadcaster setting window doesn't open, instead I get Error 400 bad HTTP Request..
The strange thing I can broadcast the web template from WAD using 'Publish', but not in the portal, pressing the button to launch broadcaster.
Maybe an authorization problem?
ST03 trace turned out with no problems.
Any idea is welcome.
Regards,
JürgenHi,
Try Note 1921802 - 400 Bad HTTP request Error.
Best regards,
Michael -
Impdp exclude tables getting error
hi,
i issued impdp like this
$impdp dumpfile=xxxxx.dmp logfile=xxx.log directory=xxxxxx exclude=table:"IN('scott.emp','tiger.dept')" full=y version=10.2.0.3
getting error
"exclude badly formed"
thanks in advance
gLike oradba said, it is better to use a parameter file.
Depending on your Operational System, special characters in the EXCLUDE clause may need to be escaped if you use the command line.
Take a look here for more info: http://www.oracle-base.com/articles/10g/OracleDataPump10g.php#IncludeExclude -
Get error message e auth bad device key or pkcs12
windows 8 os did a system restore then when I tried to download a book from my library I get error message
e auth bad device key or pkcs12
It was working fine before the restoreHow To Change the Authorized Adobe ID
http://www.adobe.com/go/digital-editions-createID
What do you do if your copy of Adobe Digital Editions is authorized with the wrong Adobe ID? This can happen if you’ve started using a different Adobe ID or you somehow messed up the authorization in the past.
If you’re trying to open an ebook when Adobe Digital Editions is authorized with the wrong Adobe ID, you’ll get an error message like: “License fulfilled by a different user” or something similar referencing licensing or authorization.
Important note: If you have some ebooks that do require your current authorization, those will become unreadable if you authorize with a different Adobe ID.
deauthorize
The first thing to do is deauthorize Adobe Digital Editions. This will remove your current authorization.
1. Open Adobe Digital Editions
2. On your keyboard, simultaneously press the Ctrl, Shift, and D buttons (if on Windows) or the Cmd, Shift, and D buttons (if on a Mac)
3. Click the “Deauthorize” button
After this you should close Adobe Digital Editions, and then open it again.
re-authorize
If you’ve followed the steps above, your copy of Adobe Digital Editions is no longer authorized.
Open Adobe Digital Editions
Adobe Digital Editions will behave as if you’ve just installed it, and will prompt you to enter your login information for your Adobe ID. Use the Adobe ID account information that you want to use to authorize Adobe Digital Editions. -
Cant open my Raw from my NIKON D7000 in Photoshop and cant down load updates get error messages all the time have tried at least ten times and tried to get help from support but not succeeded.
Very bad I think but what to do????
UlfCamera Raw plug-in | Supported cameras
Camera Raw-compatible Adobe applications
Mylenium -
Getting error message CT bad param: invalid matrix
When we try to print this form in Reader 9 or X, we're getting the CT bad param: invalid matrix error message. Any thoughts on what's causing this and how to fix it?
Thanks,
MDawnjava.sql.SQLException: ORA-00904: "SANDY": invalid identifier
Looks like the sql you are submitting is invalid.
Print out a copy of the sql you are trying to run and you will probably get:
SELECT * FROM OURUSERS WHERE usr = Sandy and password = secretThat isn't valid sql. It is missing quotes around the values you are checking.
This is the corrected sql query:
SELECT * FROM OURUSERS WHERE usr = 'Sandy' and password = 'secret'so one solution would be:
String sql = "SELECT * FROM OURUSERS WHERE usr = '" + user + "' and password = '" + pwd + "' ";However that is not optimal. It exposes your code to sql injection attack.
The better way is to use a prepared statement:
String sql = "SELECT * FROM OURUSERS WHERE usr = ? and password =?";
st = con.prepareStatement(sql);
st.setString(1, user);
st.setString(2, password);
rs = st.executeQuery();cheers,
evnafets -
Still getting this Internal error: 400 bad request. (115000).
I am still getting this Internal error: 400 bad request. (115000). I read that it was supposed to be fixed in Muse 3. I am using forms with long labels. Please help.
Thanks.
Bill MurphyThanks but his is how I solved my issue. I added a link in the Label in its own text box to look like a button. This is because I could not add a link in a label omits own. This is a nice solution because the linked info is opened in its own page so when the use closes that page there form is not lost and they can continue to the next form field. A work around that made my project look better.
If you can tell me how to add a close button or link on the info pages that would help so the user can see it right off and not have to use the browser to close the newly opened window.
Thanks for getting back to me. I would send you the muse file to test but I copied over it making this new version.
Bill Murphy
(647) 966-9325
[email protected]
www.purplealien.net
Communication is everything; without it we have nothing. -
I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
Bad Image
There was a problem with the image file.
Please help.Can you drag it to the Desktop?
-
My Itunes will not start after the latest update. I keeo getting error message tEventType : InPageError P1 : c000009c P2 : 00000003 . I have tried to reinstall but no joy. Any advise?
'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards? -
Getting Error while enabling CDC on the database
Hi Experts,
I am trying to enable CDC on my database but i am getting error message like below, can anyone please suggest on this .
The server principal "XXXX." is not able to access the database "ABC" +under the current security context.
Could not update the metadata that indicates database XYZ is enabled for Change Data Capture. The failure occurred when executing the command 'sp_cdc_create_objects'. The error returned was 3616: 'An error was raised during trigger execution. The batch has
been aborted and the user transaction, if any, has been rolled back.'. Use the action and error to determine the cause of the failure and resubmit the request.
Thanks in Advance.
Niraj SevalkarHi Finally i got my answer, There is an DDL trigger which restricting me to enable CDC .....
And ABC is an auditing database?
Unless your DBA is evil and really don't want you to enable CDC, I think you should talk with and fix the bad trigger. You can refer him to this article for a proper solution:
http://www.sommarskog.se/grantperm.html
Erland Sommarskog, SQL Server MVP, [email protected]
Yes there was an trigger on the XYZ database which was references details in ABC database db so that was restricting me to do this. thank you for your article .... :)
Niraj Sevalkar -
Installed SP 2013 Foundation in my Hyper-V machine
Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
for self signed certificate
copied those two certificates in my local machine(base machine) D drive
(D:\Cert)
Both VM and base machine are in same domain
Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
Just created and hit F5 to run in my base machine, but getting this error
Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
Please help me to resolve this issue, trying to figure out from last 2 days
Thanks in Advance
ArunHi Harminder,
This happens because an app has already been deployed and you are deploying it again using the same version.
Resolution:
Open the AppManifest.xml file and change the version.
Vivek Jagga - MCTS SharePoint
SharePointExcellence -
Getting ERROR in SDM while deploying
Hi All,
I have downloaded CRM Business Package for 4.0 file
BPCRM40602_3-10002661.ZIP from SDN.
I am trying to delpoy this using SDM.
I rename the file to BPCRM40602_3-10002661.sca and deployed but i am getting ERROR saying Manifest attributes are missing or badly formatted value...
Can you tell the reason for this.
and Can i get .SCA file or .EPA file for CRM BP for 4.0 in SDN or Service Marlet Place?
Points will be given ....
Thanks
SandeepIndeed that ZIP file is not going to work. It does not contain a Manifest.mf for a start. Manifest file will contain the version of the business package, the vendor and plenty of other information.
Possibly you cant use the SDM to deploy this business package. How about uploading it directly through the portal?
Maybe you are looking for
-
Multiple accounts on the same resource in Oracle Waveset 8.1.1 patch 5
Hi IDM Experts! I've customized my userforms in order to create multiple accounts on the same resource using the syntax accounts[<resourceName>|n].<attribute> like the documentation suggests. That worked fine using Sun Identity Manager 8.1. However,
-
Creation of user home directory in KM
Using the KM in our portal I noticed the following behavior: When creating an user in the user administration the KM home folder (Root>userhome><i>userid</i>) is not created. When the user logs in and accesses a KM iView (like the document explorer)
-
How can I return to the a previous version of itunes?
How can I return to the a previous version of itunes?
-
When i copy a chart from Numbers 09 and paste into Keynote 09, it won't update (if i make a change in Numbers). It's the same problem if i try and paste a chart into Pages also. Any advice (i've tried the usual solutions)???
-
If my photos are saved to my I cloud can I delete them of my phone and retrieve them again later
If my photos are backed up to my I cloud can I delete them of my phone and be able to retrieve them at a later date?