Function OIGI_LOADING_CREATE
Hello ABAP-gurus,
I have made an ALV grid to Update, confirm or cancel a shipment load. I am not sure if this function can do all this, but I am trying with different input parameters... Does anybody know hoe to use this function for each purpose? I would appreciate any input:)
Regards Ballo
Hi.
To load shipment I call 1st FM in a way:
CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 9 "save and commit
I_SHNUMBER = shNumber
I_VEHICLE = vehicle
I_LDPLT = plant
I_LDDATE = loadDate
I_LDTIME = loadTime
I_LDCDAT = loadDate
I_VEH_NR = veh_nr
TABLES
T_OIGISVMQ = quantity_items
T_OIGISVMQ2 = hpm_append
T_OIGISIQ = doc_quan_items
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE p_error
SYSTEM_FAILURE = 2 MESSAGE p_error.
Regards
Sudheer
Similar Messages
-
Function OIGI_LOADING_CREATE parameters.
Hello again friends,
I am trying to update a scheduled or loaded shipment with the FM OIGI_LOADING_CREATE. I do manage to confirm and load a shipment with this FM. But I want to edit an existing shipment (TD ACTION 1 or 2). At the moment I am calling it like this (but it only creates new lines in the OIGSVMQ table with TD_ACTION = 2):
CALL FUNCTION 'OIGI_LOADING_CREATE'
EXPORTING
I_SUBRC = 9
I_SHNUMBER = shnumber
I_LDPLT = werks
IMPORTING
O_SUBRC = i_subrc
TABLES
T_OIGISVMQ = L_OIGISVMQ
T_OIGISIQ = L_OIGISIQ.
Does anybody know what parameters must be used for a simple update of existing loads?Hi.
To load shipment I call 1st FM in a way:
CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 9 "save and commit
I_SHNUMBER = shNumber
I_VEHICLE = vehicle
I_LDPLT = plant
I_LDDATE = loadDate
I_LDTIME = loadTime
I_LDCDAT = loadDate
I_VEH_NR = veh_nr
TABLES
T_OIGISVMQ = quantity_items
T_OIGISVMQ2 = hpm_append
T_OIGISIQ = doc_quan_items
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE p_error
SYSTEM_FAILURE = 2 MESSAGE p_error.
Regards
Sudheer -
Is there a way to handle system exception ERROR_MESSAGE?
Hi,
I have a program executed in background, which produces a bunch of consecutive documents for a set of Bulk Shipments -> TD Loading and TD Delivery Confirmation. To create those documents I use function modules 'OIGI_LOADING_CREATE' and 'OIGI_DEL_CONF_CREATE' - both from Industry-Solution Oil-and_Gas (IS-Oil).
In some cases these FM-s produces error messages (E-type) which cancel execution of the program and broke my flow-logic.
Below are few messages recorded in a job log for my task:
18.08.2005 15:56:41 Job started
18.08.2005 15:56:41 Step 001 started (program /PTRL/TAS_POSTPONDED_SYNC, variant , user name IMUTAFCHIEV)
18.08.2005 15:56:58 Shipment 180753 saved
18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV
18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV
18.08.2005 15:57:06 The plant data of the material 177 is locked by the user BMINKOV
18.08.2005 15:57:06 Job cancelled after system exception ERROR_MESSAGE
Both function modules are not designed to handle any exceptions, and in owr environment (4.6c) there is no documented system exception 'ERROR_MESSAGE' which to be handled in CATCH-ENDCATCH block.
Is there a way to handle this exception and to track the list of error messages produced by some FM into an internal table, log, whatever, as it is done in the log of the background job. I need to find a way write these messages in my log-tables and to proceed further with my flow-logic.
FYI: my program executes an RFC call to a remote system and retrieve a list of documents which need to be synchronized with R/3. I loose information, if the R/3 broke my flow-logic.
Any help would be highly appresiated.
Many thanks in advance.
Ivaylo MutafchievSven,
I made few programs where we used business scenario:
IS-Oil Shipment => IS-Oil Loading Confirmation => IS-Oil Delivery Confirmation.
All of them are based on Function Module call:
1. OIGI_LOADING_CREATE and
2. OIGI_DEL_CONF_CREATE.
To load shipment I call 1st FM in a way:
CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 9 "save and commit
I_SHNUMBER = shNumber
I_VEHICLE = vehicle
I_LDPLT = plant
I_LDDATE = loadDate
I_LDTIME = loadTime
I_LDCDAT = loadDate
I_VEH_NR = veh_nr
TABLES
T_OIGISVMQ = quantity_items
T_OIGISVMQ2 = hpm_append
T_OIGISIQ = doc_quan_items
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE p_error
SYSTEM_FAILURE = 2 MESSAGE p_error.
To confirm shipment (status 4) I call the same FM with:
CALL FUNCTION 'OIGI_LOADING_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 39 "confirm & commit 2nd step
I_SHNUMBER = shNumber
I_VEHICLE = vehicle
I_LDPLT = werks
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE sh_error
SYSTEM_FAILURE = 2 MESSAGE sh_error.
And finaly to finish process (status = 6) I call 2nd FM in a way:
CALL FUNCTION 'OIGI_DEL_CONF_CREATE' DESTINATION 'NONE'
EXPORTING
I_SUBRC = 19 "save, confirm and commit
I_SHNUMBER = shNumber
I_RAPID_CONFIRM = 'X'
I_DDCDAT = loadDate
I_DLDATE = loadDate
I_DLTIME = loadTime
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE p_error
SYSTEM_FAILURE = 2 MESSAGE p_error.
FYI: It tooks me some time to 'investigate' and find correct use of these function modules. And I worked VERY CLOSE with our SD consultant.
For details (what the export parameters and tables consist of) and sample code, please contact me at:
ivaylo dot mutafchiev at vbs dot bg
I would be glad to share my knowlege.
Regards,
Ivaylo -
Raise exception from standard FM
I have a standard FM as below:
CALL FUNCTION 'OIGI_LOADING_CREATE'
EXPORTING
i_subrc = 19
i_shnumber = load_inbound_hdr-shnumber
i_vehicle = load_inbound_hdr-vehicle
i_ldplt = lv_plant
I_LDDATE = 00000000
I_LDTIME = 000000
I_LDCDAT = 00000000
I_LOAD_AS_SCHEDULED = ' '
I_VEH_NR = 000
I_ROLLBACK = ' '
I_RECURSIVE = ' '
I_CORRECT = ' '
I_MBLNR = ' '
I_MJAHR = ' '
I_PSTDAT = 00000000
I_PSTTIM = 000000
I_DCMDAT = 00000000
IMPORTING
O_SUBRC = wf_subrc
As this FM returns error messages on some wrong input data it stops the execution and I cannot capture the exception and raise messages, also this FM does not contain any exception messages and directly raises Error messages.
How can I go about it.Hi Karan,
I don't have FM OIGI_LOADING_CREATE existing in my system. I'm using ECC 5.0. I came across a thread explaning about handling error messages in this FM.
You can have a look.
[Is there a way to handle system exception ERROR_MESSAGE?|Is there a way to handle system exception ERROR_MESSAGE?; -
[IS-OIL] Documentation of FM OIGI_LOADING_CREATE ??
Hello,
As far as I can see, there is no documentation for the FM OIGI_LOADING_CREATE (for creating a load confirmation). Is there a place (book/website/...) where I can find more information about the function's parameters?
Thanks in advance!
With kind regards,
SvenHi ,
check if can you find some thing usefull in below links.
Re: Is there a way to handle system exception ERROR_MESSAGE?
[IS-Oil] Problems creating loading via FM OIGI_LOADING_CREATE -
Fax function of HP LaserJet Enterprise 500 Color MFP M575
Hi,
I am one of users of HP LaserJet Enterprise 500 Color MFP M575.
I would like to know can I set the printer do not print my fax number and fax header on paper when I fax my document to others.
I had login as admin but I did not see where I can config it.
Thank you.
Regards,
Jimmy PunThere is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start. -
Logical Operations in SQL decode function ?
Hi,
Is it possible to do Logical Operations in SQL decode function
like
'>'
'<'
'>='
'<='
'<>'
not in
in
not null
is null
eg...
select col1 ,order_by,decode ( col1 , > 10 , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 , <> 10 , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 , not in (10,11,12) , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 ,is null , 0 , 1)
from tab;
Regards,
infan
Edited by: user780731 on Apr 30, 2009 12:07 AM
Edited by: user780731 on Apr 30, 2009 12:07 AM
Edited by: user780731 on Apr 30, 2009 12:08 AM
Edited by: user780731 on Apr 30, 2009 12:08 AM
Edited by: user780731 on Apr 30, 2009 12:09 AMexample:
select col1 ,order_by,case when col1 > 10 then 0 else 1 end
from tab;
select col1 ,order_by,case when col1 <> 10 then 0 else 1 end
from tab;
select col1 ,order_by,case when col1 not in (10,11,12) then 0 else 1 end
from tab;As for testing for null, decode handles that by default anyway so you can have decode or case easily..
select col1 ,order_by,decode (col1, null , 0 , 1)
from tab;
select col1 ,order_by,case when col1 is null then 0 else 1 end
from tab; -
Hi,
When we use IF in calculation view with CE function the SQL engine is used.
When we remove the "IF" the CE engine is used.
Is there any alternative for if or case in CE functions?
Thanks,
AmirIs it possible to use CE_CALC for this functionality?
We are trying to use it inside projection:
res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" , "Bal_Date" AS "BALANCE_DATE", "RTCUR" ,"MAX_ZGROUP"],'"BALANCE_DATE" == 20140101');
works but:
res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" , "Bal_Date" AS "BALANCE_DATE", "RTCUR" ,"MAX_ZGROUP"], '"BALANCE_DATE" == CE_CALC( 'if(''20140101'' == ''19000101'', ''19000101'', ''20140101'')');
Doesn't work.
Thanks,
Amir -
I record my band rehearsals using the voice memo on my iPhone 5s. Then I sync to iTunes and convert file to mp3. When i sync back to my iPhone it appears in my music. So far, so good. When I use the search function in music it finds the file but won't play from tapping. I must troll through all my music songs (currently 2227 of them) to find it and then play it. Is it something to do with it still being under the genre "voice memos" or what ? Anybody help please. Thanks
iWeb is an application to create webpages with.
It used to be part of the iLife suite of applications.
iWeb has no knowledge of the internal speaker on your iPhone.
You may want to ask in the right forum. -
HP AiO Remote app will not recognize scan and copy function of HP Envy 120
Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ
Replied on: http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile-Printing-and-ePrintCenter/HP-AiO-Remote-will-n...
TwoPointOh
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
HP AiO Remote will not recognize scan and copy function of HP Envy 120 printer
Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ
Hi UJKarl, welcome to the HP Forums. You should be able to scan from the HP AIO Remote App on your Envy 120 printer. You probably just need to power cycle the printer, iPad and router to regain proper function.
Turn off your printer with the power button. Power down the iPad by holding the sleep button down until you get the option to 'slide to power off'. Then disconnect the power cord to your router and count to about 10, and then plug it back in. Once the router comes back online, turn the printer on. When the printer comes back online (blue wi-fi light stops blinking), then power the iPad back up. Try again, and it should work.
Let me know how it turns out.
TwoPointOh
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping! -
7515 ios 8 scanning doesn't function using document feeder
My AiO remote updated on my iPad today and i have issues scanning from the scanner. The printer and tablet functions properly when scanning using the glass however when using the document feeder, AiO remote scans the sheets then before saving it says there is a problem with the scanner, check the scanner. not sure why it works with the glass and NOT with the feeder.
I am having the exact same problem. I will add that scanning from the document feeder to my Mac Book works fine. The problem with the document feeder is only whenn atttempting to use the AiO software on my iPad.
-
I want to implement thems functionality in my swing application
Hi All...
I want to implement the themes object in my swing application,How ,where to start and move that functionality,If anybody use this functionality in your program experience can u share with me.
Than to Advance
ARjun...Hi Kuldeep Chitrakar
I can do that in web intelligence. dont want that
I am replicating some of the sample report of SQL Servers in BusinessObjects XI R3.1.
One of the SQL Sever's report is of product catalogue type that gives complete information like name, category, description along with the products image etc... for each of the products.
I am trying to replicate the above said SQL Server report in Business objects XI R3.1. I am facing problem in bringing the image in to my BO report. The image resides in a table and its datatype is of varbinary(max). I don't know the exact matching while creating an object in the uiverse designer.
Here is the url link http://errorsbusinessobjectsxir3.blogspot.com/2010/10/business-objects-image-errors.html
Regards
Prasad -
Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels. Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer. I have a pretty simple system with only a few plug-ins, which are usually not in operation. I have 12GB of RAM in my Windows 7 PC. I could illustrate these problems with screen shots if you would tell me how to submit screen shots. Otherwise I will try to describe the problems in words.
The problem is clearly cumulative, growing worse as usage time passes. Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond. In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
To experiment I created a new catalog of 1100 images. After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data. (I have a screen shot to show this.) CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong. I could also send screen shots of this data.
At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR. This is not normal. I hope you can find the cause, and then the solution. If you would like to see my screen shots, tell me how to submit them.
Ollie
[email protected]Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels. Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer. I have a pretty simple system with only a few plug-ins, which are usually not in operation. I have 12GB of RAM in my Windows 7 PC. I could illustrate these problems with screen shots if you would tell me how to submit screen shots. Otherwise I will try to describe the problems in words.
The problem is clearly cumulative, growing worse as usage time passes. Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond. In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
To experiment I created a new catalog of 1100 images. After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data. (I have a screen shot to show this.) CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong. I could also send screen shots of this data.
At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR. This is not normal. I hope you can find the cause, and then the solution. If you would like to see my screen shots, tell me how to submit them.
Ollie
[email protected] -
URGENT: Function modules or BAPIs
Hi Experts,
I need function modules or BAPI to get the open items and cleared items G/L Account wise.
Useful replies will be surely awarded.Hi Chakradhar,
Check tcode : BAPI
u will get all bapis there.
Regards,
Hemant
Maybe you are looking for
-
How do I remove Lion and go back to snow leapard
Lion does not work well with several of my applications the most important of which is my client data file and billing program which keeps crashing with Lion. I want to remove it and go back to SL but don't want to lose any data that I have put in m
-
Properties vs. Preferences for encrypted values
I have an application with a number of properties that I would like to keep relatively hidden from end users. It's nothing serious like passwords or account numbers, but just the same, we'd rather not have users tampering with them. This includes thi
-
FCP 7 compatibility with newer OS?
I am an editor who has not made the jump to FCP X. Everything I have been reading in my research for answers was posted between 2011 and the present. I read where Final Cut Studio will work with Lion. I am unclear if it will work with Mountain Lion.
-
I updatd my MacBook Pro to OS X Mavericks, but I now have two icons in my dock for Pages and two for Numbers, both of them contain files and folders. If I click the original Pages icon it says that there is an update available, if I then click to u
-
Modify Layout of Listcube results when saved to local file
Is it possible to modify the layout of the results returned in listcube when I have the selected for the results to be returned via a file on my workstation? Currently it is returning; Sales Vol, Sales Budget, Location, Material etc. I would like to