How to do good Issue with S/N from DI API
Hai,
I want to do good Issue with Serial Number using DI API but I got an error message <b>"\[IGE1.DocEntry]\[line:0],item serial is not found in Whse SR-5155 - 1 - R5155KGS ' (-5002)" </b>
here is the code
Set oGoodIssue = oCompanyDI.GetBusinessObject(oInventoryGenExit)
oGoodIssue.DocDate = "12/14/2007"
oGoodIssue.Lines.itemCode = "SR-5155"
oGoodIssue.Lines.WarehouseCode = "R5155KGS"
oGoodIssue.Lines.SerialNumbers.SystemSerialNumber = CStr(1)
oGoodIssue.Lines.SerialNumbers.ManufacturerSerialNumber = "SR-0000001"
oGoodIssue.Lines.SerialNumbers.InternalSerialNumber = "SR-0000001"
oGoodIssue.Lines.SerialNumbers.SetCurrentLine 0
oGoodIssue.Lines.SerialNumbers.Add
retval = oGoodIssue.Add
If retval <> 0 Then
oCompanyDI.GetLastError errMsg, errMsg2
sbo_application.messageBox errMsg & " (" & errMsg & ")"
Else
sbo_application.messageBox "Success"
End If
I check already from SAP BOne and the serial number is exist
Can someone help me solve this problem
Thanks and Regards,
Arthur Siwan
Hi Arthur,
Try this code ( i had changed only one line of code in your original code)
Set oGoodIssue = oCompanyDI.GetBusinessObject(oInventoryGenExit)
oGoodIssue.DocDate = "12/14/2007"
oGoodIssue.Lines.itemCode = "SR-5155"
oGoodIssue.Lines.WarehouseCode = "R5155KGS"
oGoodIssue.Lines.SerialNumbers.Add
oGoodIssue.Lines.SerialNumbers.SystemSerialNumber = CStr(1)
oGoodIssue.Lines.SerialNumbers.ManufacturerSerialNumber = "SR-0000001"
oGoodIssue.Lines.SerialNumbers.InternalSerialNumber = "SR-0000001"
oGoodIssue.Lines.SerialNumbers.SetCurrentLine 0
retval = oGoodIssue.Add
If retval 0 Then
oCompanyDI.GetLastError errMsg, errMsg2
sbo_application.messageBox errMsg & " (" & errMsg & ")"
Else
sbo_application.messageBox "Success"
End If
Hope it helps you
Regards
Vishnu
Similar Messages
-
Goods Issue with Serial number reversal
Hi Experts,
I have an item which is set to Inventory Item and Sales Item. I brought it in via Inventory/Good receipts to assign serial numbers.
I realized I used the wrong Warehouse and wrong item Code ( I have 2 codes set the same but for different recording purposes)
Unfortunately did I turn around and created a goods issue with the serial numbers to wash it but I do nee the serial numbers available to do my correct entry. How can I get my Serial numbers back which show no unavailable.
If I try to set the item also as Purchase Item and try to do a return it wont show. Please advice.
ThanksHi,
Receive again with correct item code and ware house with same serial number.
If not, Please explain with an example.
Thanks & Regards,
Nagarajan -
Goods Issue with reference to Purchase Order
Hi MM Gurus,
Is there any settings to do Goods Issue with reference to Purchase order?
I want to capture the material price in purchase order during goods issue instead of standard price or moving average price.
Thanks in advance
DineshHello Dinesh,
Batch valuation is similar to split valuation. Here is the link on how batch valuation works.
http://help.sap.com/saphelp_47x200/helpdata/en/25/283db54f7811d18a150000e816ae6e/content.htm
Please check in sandbox environment before using.
Hope this helps.
Regards
Arif Mansuri -
Bapi for partial good issue with ref to reservation
I have check the bapi for goods issue with ref to reservation. But how to take care scenario where good issue qty is less than reservation qty. How to map this in bapi.
Please provide input its urgent
Thanks
JENAHi Jena,
Implement a check in your program calling BAPI_GOODSMVT_CREATE.
If you call BAPI_GOODSMVT_CREATE in your own program you have to fill the interface of it (GOODSMVT_HEADER, GOODSMVT_ITEM ...).
So in the first step you have to select/colect all the required data for the interface. If you want to post a goods-issue with
reference to a reservation you can implement a quantity-check in you own program similar to the checks in transaction MB1A or transaction MIGO which lead to message M7064. All the required informations are stored in the table "RESB - Items of reservation".
This is the quantity-check implemented in transaction MIGO (... see note 409754):
Take only reservation items with open quantity > 0 or
or flag 'propose all items' is set (->default settings)
l_open_quantity = ls_resitem-bdmng - ls_resitem-enmng. >(1)
CHECK l_open_quantity > 0 OR
s_defaults-propose_all_items = abap_true.
l_open_quantity = open quantity -> is calulated here
ls_resitem-bdmng = Requirement Quantity ->
table RESB / field BDMNG
ls_resitem-enmng = Quantity withdrawn ->
table RESB / field ENMNG
Furthermore you could check, whether the quantity you want to post now is larger than the (remaining) open quantity. If this
not the case you could add this item to the interface-data. Otherwise you can ignore it and send a corresponding message or add the item to an error-log.
After the check has been carried out and the interface has been filled with the valid items you can call BAPI_GOODSMVT_CREATE.
In the customizing-transaction OMCQ you can maintain the category of messages. If you set the message M7 362 to the category "E - error message" the BAPI_GOODSMVT_CREATE will return with this (error-)message as soon as the requirement quantity is exceeded by the goods-issue("Reserved quantity exceeded by ...").
But: other processes/applications are using these settings too.
This means: these processes/applications might have a different behaviour after your changes (error-message instead of a warning- message ... for example).
I hope this helps,
Elaine. -
Goods Issue with reference to Material document
Hello,
I would like to create Goods Issue with reference to material document (Transfer Posting document) , but the following message appears :
"Selected material document does not correspond with action to be executed".
Is it possible to create Goods Issue with reference to Transfer Posting (mov.type 311 - from stor.loc. to stor.loc.) ?
ThanksThanks,
probably I'll have to find another way to solve this business requirement of copying the transfer document data in GI.
We have an auto created transfer postings via interface from another system and the main idea was to use already entered fields in transfer posting document such as material , quantity , text , goods recepient , etc. and not to enter them twice when GI should be created. In our case (it's a case for certain materials) it's always 1:1 relationship, so the idea was to facilitate the job of creating the GI, because GI should contain the same data as in transfer posting document. -
Hi
I am trying to do Goods Issue with PI sheet in SAP v4.7c. I have used the following characteristics however only the finish product and the qty comes up in the PI Sheet.
can any one please let me know what should be done to have components assigned to the phase or irresepective of the phase:
The scope of the Component Recipe destination is 03: for all order items and reservation and
the position is 05: at the start of the phase
The characteristics used are:
PPPI_INPUT_GROUP Material list
PPPI_MESSAGE_CATEGORY PI_CONS
PPPI_PROCESS_ORDER
PPPI_RESERVATION
PPPI_RESERVATION_ITEM
PPPI_MATERIAL
PPPI_VARIABLE 'MYVAR&0050&'
PPPI_MATERIAL_CONSUMED
PPPI_UNIT_OF_MEASURE
PPPI_AUTOMATIC_VALUE Event date
PPPI_AUTOMATIC_VALUE Event time
PPPI_OUTPUT_TEXT Material
PPPI_OUTPUT_CHARACTERISTIC PPPI_MATERIAL
PPPI_OUTPUT_TEXT Material quantity-target value
PPPI_OUTPUT_CHARACTERISTIC PPPI_MATERIAL_CONSUMED
PPPI_OUTPUT_TEXT Unit of measure
PPPI_OUTPUT_CHARACTERISTIC PPPI_UNIT_OF_MEASURE
PPPI_INPUT_REQUEST Material quantity-actual value
PPPI_DEFAULT_VARIABLE 'MYVAR&0050&'
PPPI_REQUESTED_VALUE PPPI_MATERIAL_CONSUMED
PPPI_VALIDATION_FORMULA ( X > ( 0.95 * 'MYVAR&0050&'))
PPPI_VALIDATION_FORMULA AND
PPPI_VALIDATION_FORMULA ( X < ( 1.05 * 'MYVAR&0050&'))
PPPI_OUTPUT_TEXT Unit of measure
PPPI_OUTPUT_CHARACTERISTIC PPPI_UNIT_OF_MEASURE
PPPI_INPUT_REQUEST Batch
PPPI_REQUESTED_VALUE PPPI_BATCH
PPPI_MESSAGE_CATEGORY SIGN
PPPI_PROCESS_ORDER
PPPI_CONTROL_RECIPE
PPPI_OPERATION
PPPI_PHASE
Can any one please let me know where am I missing!!
Thanks in advance
-RahulThis is at control recipe creation or you are checking the instruction in the process order ?
This is a simple PI which is working OK fo rmaterial consumption.
Check it.
10 PPPI_DATA_REQUEST_TYPE Solicitud de datos simple
20 PPPI_MESSAGE_CATEGORY PI_CONS
30 PPPI_UNIT_OF_MEASURE
40 PPPI_OPERATION
50 PPPI_OUTPUT_TEXT Operación
60 PPPI_OUTPUT_CHARACTERISTIC PPPI_OPERATION
70 PPPI_PHASE
80 PPPI_OUTPUT_TEXT Fase
90 PPPI_OUTPUT_CHARACTERISTIC PPPI_PHASE
100 PPPI_RESERVATION
110 PPPI_OUTPUT_TEXT Reserva
120 PPPI_OUTPUT_CHARACTERISTIC PPPI_RESERVATION
122 PPPI_RESERVATION_ITEM
126 PPPI_OUTPUT_TEXT Item
127 PPPI_OUTPUT_CHARACTERISTIC PPPI_RESERVATION_ITEM
150 PPPI_PROCESS_ORDER
160 PPPI_AUTOMATIC_VALUE Hora de evento
170 PPPI_AUTOMATIC_VALUE Fecha de evento
180 PPPI_MATERIAL
190 PPPI_OUTPUT_TEXT Code
200 PPPI_OUTPUT_CHARACTERISTIC PPPI_MATERIAL
210 PPPI_MATERIAL_SHORT_TEXT
220 PPPI_OUTPUT_TEXT Material
250 PPPI_OUTPUT_CHARACTERISTIC PPPI_MATERIAL_SHORT_TEXT
300 PPPI_MATERIAL_QUANTITY
330 PPPI_OUTPUT_TEXT Plan
360 PPPI_OUTPUT_CHARACTERISTIC PPPI_MATERIAL_QUANTITY
400 PPPI_MATERIAL_CO_PRODUCT
500 PPPI_OUTPUT_TEXT Um
600 PPPI_OUTPUT_CHARACTERISTIC PPPI_UNIT_OF_MEASURE
700 PPPI_INPUT_REQUEST Lote
800 PPPI_BATCH
900 PPPI_REQUESTED_VALUE PPPI_BATCH
1000 PPPI_INPUT_REQUEST Cantidad Real
1100 PPPI_MATERIAL_CONSUMED
1200 PPPI_REQUESTED_VALUE PPPI_MATERIAL_CONSUMED
1300 PPPI_INPUT_REQUEST Sloc
1400 PPPI_STORAGE_LOCATION
1500 PPPI_REQUESTED_VALUE PPPI_STORAGE_LOCATION -
How do I fix issue with computer not authorized yet when I go to I-Tunes to authorized it indicated already authorized?
I updated to iOS 5.0.1 days ago and didn't receive that notification until just now...
This time I synced new photos I took yesterday, and it gave me the:
"iTunes Sync: 54 items could not be synced. See iTunes for more information"
Perhaps it kicks off when new items get synced.
I've decided to rent a movie yesterday. Once it gets deleted, I'm curious to see if it jumps to 55 items. -
Post Goods Issue with BAPI with reference to BOM
Hi All,
I want to post Goods Issue with BAPI / FM with reference to BOM.
The requirement is like to replicate what we can do with MB1A with reference to BOM with BAPI / FM.
Please give ur suggestions.
Thanks in advance.
Chintan.https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_forums_rm&query=kanban&adv=false&sortby=cm_rnd_rankvalue&sortmode=true&searchmode=similar&similardocsuri=/forumsrm/1_category/42_category/50_forum/34196_thread/322837_message
-
Pick and Pack / Goods Issue with Multi Batch Pickup
Dear Friends,
Can anyone explain me the process of Pick and Pack / Goods Issue with Multi Batch Pickup.
HarshHi Mathur,
Please refer these links on working with batch splits in deliveries :
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Batch split</a>
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Executing Multi batch</a>
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm">Transferring Batch Data from Deliveries into Warehouse Management</a>
Hope it helps. Please reward if useful.
Thanks & Regards
Sadhu Kishore -
How to send a mail with HTML body from Oracle
Hi Team,
Can somebody guide me how to send a mail with HTML body from oracle.
Here is the piece of code i am trying to send a mail.
procedure SEND_MAIL is
cursor c_1 is select * from table_name;
l_mail_id varchar2(40);
-- ls_mailhost VARCHAR2(64) := Mailhost;
ls_from VARCHAR2(64) := ‘[email protected]’
ls_subject VARCHAR2(200);
ls_to VARCHAR2(64);
l_mail_conn UTL_SMTP.connection;
ls_left_menu_name VARCHAR2(64);
ll_emp_num number(8);
begin
for i in c_1 loop
begin
l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
UTL_SMTP.HELO(l_mail_conn, 'IP');
UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
UTL_SMTP.RCPT(L_mail_conn, LS_TO);
UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
'To: ' ||ls_to || utl_tcp.crlf ||
'Subject: ' ||ls_subject|| utl_tcp.crlf);
UTL_SMTP.QUIT(l_mail_conn);
exception
when no_data_found then
null;
when others then
RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
end;
end loop;
end;
ThnxHi Nicolas!
Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
Hope this helps!
Regards
Geir -
I am having issues with streaming music from iTunes on my MacBook Pro to my audio system through AirPlay. Works perfectly with my iPod Touch. The AirPlay icon appears irregularly in iTunes and when selected doesn't connect. Running latest IOS software.
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar
You said:
No, I do not want to "factory reset" my iPod. No I do not wish to do anything crazy long or hard to fix this.
That may be necessary, It is not what you want to do/not do but what is required to resolve your problem. -
Issues with RAW files from my 7D
I have Aperture 1.5.6 on my computer and the software updater says that is the current version. I shoot with a 20D and a 7D. I upload my raw files to Aperture and edit them from there and then process for a jpeg. However, every time I upload a raw file from my 7D I get the following message when I click on it to edit it: Unsupported Image format.
Any words of advice, other than just buy Aperture 3??I have Aperture 2.X and had zero issues with RAW files from a 7D, so I think the problem is you are on 1.X. Converting to DNG first was a good suggestion if you don't want to purchase 3.X. Yet another reason to hate proprietary raw image file formats.......
-
Goods Issue against outbound delivery from blocked stock
Dear All
I want to do goods issue against outbound delivery created without any reference from blocked stock of my storage location. Is there any way I can achieve this? I know normally SAP allows goods issue from unrestricted stock but my business scenario requires goods issue to be done from blocked stock against outbound delivery.
Please let me know any solution for this.
Thanks and Regards
Satish KumarHi
Check this link where similar issue has discussed and its resolved as well. Please try this and update the findings. If possible could you share the background of this strange requirement.
http://scn.sap.com/thread/1541911
Thank$ -
How do I transfer Fish with attitude game from IPad 2 to Ipad Air
How do I transfer Fish with /attitude game from IPad 2 to Ipad Air
Assuming you own both iPads (and are using the same Apple ID on both), simply sync your iPad 2 using iTunes, then sync your iPad Air using the same iTunes on your computer.
-
Goods Issue in SD delivery (from vendor consignment stock)
Hi, all.
I'm trying to make a goods issue in SD delivery from a vendor consignment stock (movement 601K), but the system gives me an error message M7071 - I have to enter a vendor at item level, but where? And if I have a stock determination strategie, why the system needs the vendor, if I have stock K available for a vendor?
Please advise.
Thanks,
HAHi Helena Maria,
I think you have made some mistake in the movement types in the consignment processes..
just go through this and its easy to remember...
<b>Please reward if this is useful for you..</b>
1. Consignment fill up:
Sales document type is KB
Item category KBN
schedule line category 1
In this step, you are not invoicing the customer. document flow is sales order -
delivery item category. It will not be relevant for billing and pricing because you are not charging money for these goods in this step.
In schedule line category, you will set movement type 631 & set for availability check and TOR.
2. Consignment Issue.
Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
Sales document: KE
Item category: KEN
schedule line category: C0 or C1
Here you are invoicing the customer(because he used the goods). you are assigning the delivery document and billing document to the sales document.
In item category, you are setting relevant for billing, pricing, special stock.
In schedule line category, your setting is 633 movement type, relevant for availability check & TOR.
3. Consignment Return:
Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
Sales document type: KR
Item category: KRN
You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
Your setting item category relevant for billing, returns, pricing, special stock.
Your setting schedule line item category: 634 movement type, NO availability NO TOR.
4. Consignment Pick up:
Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
Assign return delivery to sales document type.
Sales document: KA
Item category: KAN
Maybe you are looking for
-
AutoSuggestBox.selecteditem is Not Working in Windows Phone8.1
For AutoSuggestBox Selected item is Enabled in _SuggestionChosen Event But in "getitemselected()" method selected item is not working, in WP8.1 In XAML File: <AutoSuggestBox x:Name="tblkpersonname" Width="380" Margin="0,-7,0,0" ItemsSource="{Binding}
-
Error while process the CPPR-Rfx "No receiver could be determined"
Hi Experts, We are working on SRM 7.0 Extended Classic Scenario, While testing the CPPR-Rfx process we are getting the error msg in Portal "No receiver could be determined". We implemented Badi ME_REQ_SOURCING_CUST & BBP_EBPXML_OUT_BADI We are gettin
-
I sure hope the next Front Row update includes the Apple TV 2 functionality
I bought a Mac mini the day Leopard was released, and now it is my media server. It was that or an Apple TV, and I liked having more control plus a DVD player in the box. Front Row 2.0 is nice, but I've been trying to find add-ons, like Sapphire, to
-
How to fix the screen launched from UWL
Hi, Expart!! Please let me ask concerning subject because I couldn't find similar topic from past questions. Now I'm in troubled by following situation. At current project, several portal roles are allocating end-user. Then if one end-user has only m
-
Traveling to France with my iPad 2 ATT
I am traveling to France with my iPad 2 with 3G. I realize I can use Wi-Fi for data, but I would like to use the 3G in France. I would like to do that my changing my micro sim in my ipad so I can use a local carrier in France and save some money. D