SD - Serial number, BOM explosion, Document Flow
Hi experts,
I have three different topics and seek for your advice.
1. I want to set the serial number in production to automatically
be copied to the delivery note serial number field for make-to order
products. Is this possible. I have looked around in the customizing
but have had no luck finding it.
2. We are currently using BOMs and want to specifiy to which level
to explode the BOM when entered into the sales order. Is this possible?
3. In the document flow when I post goods issue for service order, it shows
"confirmation of order" in the document flow. I would like to hide this
since this can be confusing. Is this possible?
I have searched around the customizing but have yet to find the customizing
to enable the above.
Your help or any information is greatly appreciated.
No replies therefore closing the Question
Similar Messages
-
Excise document number update in Document flow.
Is there any configuration for update the excise document in Sales order document flow.
Ex : Like. - > SO-> Delivery-> Billing -> Excise invoice no
Ramesh BHi Ramesh & Nikhil,
At present There is no provision to update excise invoice number in Sales document flow.
There are no appends defined for table VBFA . With the help of Abap developer u can try for an append structure.
But in that case development will include changes in excise invoice program, to update the table.
Do the anaylsis carefully before any development.
There is one alternative available , u can develop a sales register which will contain both excise and commercial invoice along with sales order number.Generate lay out for suitable search.
Regards
Mandar
Edited by: Mandar Deshpande on Sep 21, 2009 9:16 AM -
How can i restrict the change of serial number in delivery document ?
how can i restrict the manual change of serial number in delivery document ?
I can tell you that you are observing standard program behavior.
By using a reference document for a return delivery, you are only
receiving proposal values for a new document. The posting will not
create a permanent link between the referred document and the return
delivery document.
Hence it is allowed to change various fields. This applies not only
to serial numbers, but to storage location, quantity and other fields. -
Serial Number on Delivery Document
Hello All,
I want to have the serial number of an item on the actual delivery document. I know that this is a standard functionality in 2007A. However, in my scenario, it doesn't work.
I have an item DG0001 which is a serial managed item. If have another item BOQ0001 which is NOT a serial managed item. DG0001 is the child item of BOQ0001. When I create a delivery document, I deliver BOQ0001. as a result, it doesn't display any serial number. However, since i've left the default printing preferences as they are, it prints out the "Serial Numbers in Document" Report as well as my delivery note and on that I see the correct Serial Numbers.
My question is, how do I get the serial number of a child item onto the delivery PLD?
Thanks
RezaAs the other reply suggests - add a UDF and create a formatted search on that UDF.
The formatted search could be a function call to a function you define in SQL Server which taken the ItemCode on the Delivery line as parameter and returns the Serial number as the result.
The logic to drill in to the line items child and then fetch it serial numbers can be created in the SQL Function.
Suda -
Serial Number for material document number
Hi All,
Can any body tel me where Serial number stores for particular Material Document number.
When user creation/posting MB11 he will enter serial numbers for material in material document.
I already searched the forum. Unluckily i didn't received any related information.
Thanks in Advance.
NKI Tried looking standard table which contain Material number, Serial number, Equipment and Material Document but there isn't any.
So I went into SQVI and join two tables, MSEG and OBJK. There I manually draged the MATNR from MSEG Table to OBJK and then selected the fields like Materials Number, Plant, Material Document, Mov Type etc and from other table I selected Material Number plus Serial Number, Equipment (chose your required filters) and then executed and it shows the required records correctly.
Only issue it had was that if you try thousands of records e.g. Materials it went though and brought resukts and some time it dumped. But it fulfilled my needs successfully. -
Cancelled billing document number missing in document flow
Hello Experts,
there is a MAM sales order in which one line item created as a separate billing document is cancelled.however in the document flow the cancelled billing document is not visible.any suggestions how to slove the issue?
Regards,
Rajclosing,as no response received.
-
Excise document number in standard document flow
Dear Friends,
Is it possible to capture the excise invoice no. in the standard document flow so that at any point of time , either from the sales order or the delivery document or the billing document, the excise invoice can be seen in the flow?
Although the excise document flow can be seen in either J1IIN or J2IF, my customer wants to have the same in standard flow. Please suggest whether any ABAP development needs to be done for the same or it can be achieved through functional customization only.
Regards
RajaHi Raja
This functionality is not available in standard SAP as far as I know.
Also there is no append available for VBFA table.
U can check with SAP OSS if they can guide on it.
Regards
Mandar -
I need my serial number to view document - I have purchased and downloaded software online
Hello?
Hi a frase,
Please visit this link: http://helpx.adobe.com/x-productkb/global/find-serial-number.html
Regards,
Ajlan Huda. -
Printing Serial Number in Material document print output
Hi
Is it possible to print serial numbers in Material document print output. Any settings to be done?
RegardsHi,
Yes you can, you need to get you ABAP Developer to change the smartform (He should know how to do this)
Please award points if helpful
Regards
Adeel -
Dear all,
I want to explode a BOM in sales order. I have done all the configuration and it is exploding fine in SO. I have also created 2 item categories that are copy of each other.
However, for one item category the price that I enter in parent item is getting distributed to components while for the other it is not. All the configurations are same including SO type, plant and material. I don't know why it is happening. Plz help.
RegardsHi...
I am using the same material with item cat grp as LUMF.
But where do we do the settings so that price that we enter for parent gets distributed among the components. Actually It is happening in one case and i want to prevent it. In the second case which is exactly same it is not.
Regards -
Help: How to add serial number data into Delivery Order document
Dear Gurus,
I am creating an interface program and I have problem in attaching the serial number data to the corresponding material code for a certain delivery order document in R/3 4.6C SP22 system.
The serial number can be attached either during the creation of the Delivery Order itself or in the subsequent step after creating the Delivery Order (i.e.: create the D/O document first, and then update the D/O data).
The BAPI_OUTB_DELIVERY_CONFIRM_DEC FM does not provide any input parameter to let me put the serial number in this R/3 version.
By tracing in SE30 the standard program VL02N --> Menu --> Extras --> Serial Number --> Continue (Enter) --> Save (Ctrl+S), I found out that the serial attachment 'might' be done during sub-routine SERIAL_LISTE_POST_LS in program SAPLIPW1. It will in turn executes FM SERIAL_LISTE_POST_LS. The commit to database table will be done in update task by FM OBJK_POST_UPDATE_N and SERIAL_POST_UPDATE_LS.
<b>My question:</b>
============
1. Is FM SERNR_ADD_TO_LS can be used to attach the serial number to D/O?
If yes, how to do it please because I already tried it I can not see the serial information in VL02N after that. There is no any insert or update to database in this function module. Should I call other FM after this? I want to try to call FM OBJK_POST_UPDATE_N and SERIAL_POST_UPDATE_LS but I do not know how I can retrieve the global object such as XOBJK_ALL that is necessary for the input parameter.
2. If SERNR_ADD_TO_LS can not be used, what other FM can I use? Can I call SERIAL_LISTE_POST_LS instead? Is there any reliable way to generate the import parameter for this FM, such as XSER00, XSER01, XOBJK_ALL and XEQUI?
Thank you in advanced for your kind assistance.
Best Regards,
HiroshiTry something similar to this below...
Afterwards you should do a call transaction to VL02N and immediately SAVE. This is sufficient to ensure the status on the serial numbers is updated correctly.
FUNCTION z_mob_serialnr_update_ls.
""Local interface:
*" IMPORTING
*" VALUE(VBELN_I) LIKE LIKP-VBELN
*" TABLES
*" SERNO_TAB STRUCTURE RISERLS
*" YSER00 STRUCTURE SER00 OPTIONAL
*" YSER01 STRUCTURE RSERXX OPTIONAL
*" YOBJK_ALL STRUCTURE RIPW0 OPTIONAL
*" YEQUI STRUCTURE RIEQUI OPTIONAL
*" YMASE STRUCTURE MASE OPTIONAL
*" EXCEPTIONS
*" NO_EQUIPMENT_FOUND
The modified/confirmed table of serial numbers is supplied in
SERNO_TAB.
These are updated in the SAP tables
YSER00 - General Header Table for Serial Number Management
YSER01 - Document Header for Serial Numbers for Delivery
YOBJK_ALL - Internal Table for Object List Editing/Serial Numbers
YEQUI - Internal Structure for IEQUI
local data
DATA: BEGIN OF del_wa,
vbeln LIKE likp-vbeln,
posnr LIKE lips-posnr,
matnr LIKE lips-matnr,
lfimg LIKE lips-lfimg.
DATA: END OF del_wa.
DATA: del_tab LIKE del_wa OCCURS 0.
DATA: _ct TYPE i.
DATA: lastobknr LIKE objk-obknr.
DATA: _debug.
CLEAR: yser00, yser01, yobjk_all, yequi, ymase.
REFRESH: yser00, yser01, yobjk_all, yequi, ymase.
GET PARAMETER ID 'ZEDI_DEBUG' FIELD _debug.
OBJECT KEYS
read the delivery items with serial numbers to be processed
SELECT * INTO CORRESPONDING FIELDS OF TABLE del_tab
FROM lips
WHERE vbeln = vbeln_i
AND serail NE space.
if nothing is relevant for serial numbers bailout
DESCRIBE TABLE del_tab LINES _ct.
IF _ct IS INITIAL.
EXIT.
ENDIF.
==== read the existing object keys for delivery items
SELECT * INTO CORRESPONDING FIELDS OF TABLE yser01
FROM ser01
WHERE lief_nr = vbeln_i.
IF sy-subrc = 0.
yser01-dbknz = 'X'. "entry exists in db
MODIFY yser01 TRANSPORTING dbknz WHERE dbknz = space.
ENDIF.
== check if there is a header entry for the delivery item
LOOP AT del_tab INTO del_wa.
READ TABLE yser01 WITH KEY lief_nr = del_wa-vbeln
posnr = del_wa-posnr.
IF sy-subrc NE 0.
create one
CALL FUNCTION 'OBJECTLIST_NUMBER'
IMPORTING
obknr = yser01-obknr.
yser00-mandt = sy-mandt.
yser00-obknr = yser01-obknr.
APPEND yser00.
SELECT SINGLE kunnr INTO (yser01-kunde)
FROM likp
WHERE vbeln = vbeln_i.
yser01-mandt = sy-mandt.
yser01-lief_nr = del_wa-vbeln.
yser01-posnr = del_wa-posnr.
yser01-vorgang = 'SDLS'.
yser01-vbtyp = 'J'.
yser01-bwart = '601'.
yser01-dbknz = space. "not in db
yser01-loknz = space. "do not delete
APPEND yser01.
ENDIF.
ENDLOOP.
check if any entries should be deleted
LOOP AT yser01.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr.
IF sy-subrc NE 0.
yser01-loknz = 'X'. "mark for delete
MODIFY yser01.
ENDIF.
ENDLOOP.
collect all the object keys for the delivery item with s/n's
LOOP AT yser01.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr.
IF sy-subrc = 0.
READ TABLE yser00 WITH KEY obknr = yser01-obknr.
IF sy-subrc NE 0.
yser00-mandt = yser01-mandt.
yser00-obknr = yser01-obknr.
APPEND yser00.
ENDIF.
ENDIF.
ENDLOOP.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
SERIAL NO OBJECTS
==== read the existing serial numbers from the database
via object number into YOBJK_ALL
LOOP AT yser00.
SELECT * APPENDING CORRESPONDING FIELDS OF TABLE yobjk_all
FROM objk
WHERE obknr = yser00-obknr.
ENDLOOP.
yobjk_all-dbknz = 'X'.
MODIFY yobjk_all TRANSPORTING dbknz WHERE dbknz = space.
=== add any new serial numbers
LOOP AT serno_tab.
READ TABLE yser01 WITH KEY lief_nr = serno_tab-vbeln
posnr = serno_tab-posnr.
READ TABLE yobjk_all WITH KEY sernr = serno_tab-sernr
matnr = del_wa-matnr.
IF sy-subrc NE 0.
this is a new serial number
yobjk_all-mandt = sy-mandt.
yobjk_all-obknr = yser01-obknr.
yobjk_all-obzae = 0.
yobjk_all-equnr = yequi-equnr.
yobjk_all-objvw = 'S'.
yobjk_all-sernr = serno_tab-sernr.
yobjk_all-matnr = del_wa-matnr.
yobjk_all-datum = sy-datum.
yobjk_all-taser = 'SER01'.
yobjk_all-equpd = 'X'.
yobjk_all-objnr = yequi-objnr.
yobjk_all-dbknz = space.
yobjk_all-loknz = space.
APPEND yobjk_all.
ENDIF.
ENDLOOP.
=== mark any which are no longer confirmed as deleted
LOOP AT yobjk_all.
READ TABLE yser01 WITH KEY obknr = yobjk_all-obknr.
READ TABLE serno_tab WITH KEY vbeln = yser01-lief_nr
posnr = yser01-posnr
sernr = yobjk_all-sernr.
IF sy-subrc NE 0.
yobjk_all-loknz = 'X'.
MODIFY yobjk_all TRANSPORTING loknz.
ENDIF.
ENDLOOP.
EQUIPMENT RECORDS
== get the equipment records
LOOP AT yobjk_all.
SELECT SINGLE * INTO CORRESPONDING FIELDS OF yequi
FROM equi
WHERE sernr = yobjk_all-sernr
AND matnr = yobjk_all-matnr.
IF sy-subrc NE 0.
CONTINUE.
ENDIF.
IF yobjk_all-dbknz = space AND
yobjk_all-loknz = space.
yequi-dbknz = 'X'.
yequi-obknr = yobjk_all-obknr.
yequi-j_vorgang = 'PMS3'. "add to delivery
yequi-matnr_old = yequi-matnr.
APPEND yequi.
yobjk_all-equnr = yequi-equnr.
MODIFY yobjk_all TRANSPORTING equnr.
CONTINUE.
ENDIF.
IF yobjk_all-dbknz = 'X' AND
yobjk_all-loknz = 'X'.
yequi-dbknz = 'X'.
yequi-j_vorgang = 'PMSA'. "delete from delivery
yequi-matnr_old = yequi-matnr.
APPEND yequi.
CONTINUE.
ENDIF.
ENDLOOP.
remove any Equipment records that do not need to be processed
DELETE yequi WHERE j_vorgang IS initial.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
fill the object counter
LOOP AT del_tab INTO del_wa.
READ TABLE yser01 WITH KEY lief_nr = del_wa-vbeln
posnr = del_wa-posnr.
DO del_wa-lfimg TIMES.
READ TABLE yobjk_all WITH KEY obknr = yser01-obknr
obzae = sy-index.
IF sy-subrc NE 0.
READ TABLE yobjk_all WITH KEY obknr = yser01-obknr
obzae = 0.
IF sy-subrc = 0.
yobjk_all-obzae = sy-index.
MODIFY yobjk_all INDEX sy-tabix TRANSPORTING obzae.
ENDIF.
ENDIF.
ENDDO.
ENDLOOP.
IF NOT _debug IS INITIAL. BREAK-POINT. ENDIF.
===========================================
update the delivery
===========================================
CALL FUNCTION 'SERIAL_LISTE_POST_LS'
TABLES
xser00 = yser00
xser01 = yser01
xobjk_all = yobjk_all
xequi = yequi
xmase = ymase.
TAB_CUOBJ =
XSER03 =
CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'
EXPORTING
i_memory_id = memid_status.
COMMIT WORK AND WAIT.
CALL FUNCTION 'Z_MOB_SERIALNR_REFRESH_LS'
EXPORTING
ctu = 'X'
mode = 'N'
UPDATE = 'L'
GROUP =
USER =
KEEP =
HOLDDATE =
NODATA = '/'
vbeln_i = vbeln_i.
IMPORTING
SUBRC =
TABLES
MESSTAB =
ENDFUNCTION.
FUNCTION z_mob_serialnr_refresh_ls.
""Local interface:
*" IMPORTING
*" VALUE(CTU) LIKE APQI-PUTACTIVE DEFAULT 'X'
*" VALUE(MODE) LIKE APQI-PUTACTIVE DEFAULT 'N'
*" VALUE(UPDATE) LIKE APQI-PUTACTIVE DEFAULT 'L'
*" VALUE(GROUP) LIKE APQI-GROUPID OPTIONAL
*" VALUE(USER) LIKE APQI-USERID OPTIONAL
*" VALUE(KEEP) LIKE APQI-QERASE OPTIONAL
*" VALUE(HOLDDATE) LIKE APQI-STARTDATE OPTIONAL
*" VALUE(NODATA) LIKE APQI-PUTACTIVE DEFAULT '/'
*" VALUE(VBELN_I) LIKE LIKP-VBELN
*" EXPORTING
*" VALUE(SUBRC) LIKE SYST-SUBRC
*" TABLES
*" MESSTAB STRUCTURE BDCMSGCOLL OPTIONAL
DATA: vbeln_001 LIKE bdcdata-fval.
vbeln_001 = vbeln_i.
subrc = 0.
PERFORM bdc_nodata USING nodata.
PERFORM open_group USING group user keep holddate ctu.
PERFORM bdc_dynpro USING 'SAPMV50A' '4004'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIKP-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LIKP-VBELN'
vbeln_001.
PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=PSER_T'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIPS-POSNR(01)'.
PERFORM bdc_dynpro USING 'SAPLIPW1' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RIPW0-SERNR(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=RWS'.
PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SICH_T'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LIPS-MATNR(02)'.
PERFORM bdc_transaction TABLES messtab
USING 'VL02N'
ctu
mode
update.
IF sy-subrc <> 0.
subrc = sy-subrc.
EXIT.
ENDIF.
PERFORM close_group USING ctu.
ENDFUNCTION.
INCLUDE bdcrecxy. -
Document flow of Inbound Delivery
Dear Gurus,
We have upgraded to support pack SAPKH60018 from SAPKH60010.
Earlier the process for goods receipt was followed as described below
1. Purchase order
2. Inbound Delivery
3. GR in to Blocked stock against Inbound Delivery (mvmt type 103)
3. Release GR blocked stock (mvmt type 105)
Now after upgrading the support pack when GR blocked stock is made against the Inbound Delivery system is not updating the Document number in the document flow and PGR button is not disabled though 103 mvmt type document is made through migo.
System is also not allowing to make the Release GR block stock through MIGO and prompting to use Inbound Delivery Dialog instead.
Request for immediate assitance in regard to this issue.
Regards
Danish Alam.With the support pack in case if material is serialized for such plant you can post goods receipt only in VL32N which would happen only during 105 mvt type and you cannot post goods receipt using MIGO.
-
BAPI or FM for Get serial number
Hi,
We ahve many material for whcih we are maintaining serial numbers, now we are excuting some T. code with 3rd party software and the communication is done through RFC, as in case of Material issue with movement type 201, for serialize material we have to enter the serial number, we can enter it manually or if we click on create serial number automatically, system get the automatic serial number, so thier any Function al module or BAPi for getiing serial number automatically for the materials. which we can use in RFC.
regards,
zafarHello,,
ASSIGN_SERIAL_NUMBER_SD Listing of Material Serial Nrs
SERIAL_NUMBER_GET_MATERIALS Get Serial Nrs
SELECT_MATERIAL_SERIAL_NRS Alternate method for selection of serial Nrs
Or esle check
Use - BAPI_EQUI_GETSTATUS i think it should give you the info
Or else check below given tables for your requirement
Tables,
SER00 General Header Table for Serial Number Management
SER01 Document Header for Serial Numbers for Delivery
SER02 Document Header for Serial Nos for Maint.Contract (SD Order)
SER03 Document Header for Serial Numbers for Goods Movements
SER04 Document Header for Serial Numbers for Inspection Lot
SER05 Document Header for Serial Numbers for PP Order
SER06 Document Header for Serial Numbers for Handling Unit-Content
SER07 Document Header for Serial Numbers in Physical Inventory
EQBS Serial Number Stock Segment
EQSE Serial Number Records
EQST Equipment to BOM Link
EQUI Equipment master data
Regards
Mahesh Naik -
In delivery document flow the shipment should be added
Hi Gurus,
when the delivery is created, users have to affect the delivery to the right shipment document:
They have to :
1.Check the sales order document number form the document flow of the delivery
2.check in the order the shipment document number
3.Enter in the shipment document number (VT02N) and affect the delivery.
If the copy cannot be processed (sales order locked for example), user is not informed and data are incoherent between order an shipment document.
plz help me to find a solution to solve this problem
thanks in advanced
Edited by: snehal patil on Nov 21, 2008 9:55 AMWelcome to the forum.
First of all, this should have been posted in sales forum as this is not the right place to post. Coming to the query, if I understood your requirement correctly, you want to restrict the number of line items in delivery. If so, check this thread
[Re: How can I limit the item number of the delivery?|How can I limit the item number of the delivery?]
If my understanding is wrong, please elaborate and post the same in sales forum.
thanks
G. Lakshmipathi -
BAPI/FM - Inbound Delivery - Delete Serial Number
Greetings!
I would like to ask if there's a BAPI that will change the Inbound Delivery wherein it will delete some serial numbers and can Post Goods Receipt. I found one BAPI which is BAPI_INB_DELIVERY_CHANGE and WS_DELIVERY_UPDATE but i cant delete the serial number.
Thank You!Hi,
check FMs:
SERNR_ADD_TO_LS - Serial Number Management in Documents
SERIAL_LISTE_POST_LS
BAPI: BAPI_INB_DELIVERY_CONFIRM_DEC
Maybe you are looking for
-
I get kernel paic upon boot. I did that hard drive cleanup and reinstalled Lion. What about memory? Anyone think I need to upgrade my memory? I have 8 G of upgraded RAM. (20 inch iMac core 2 duo)
-
Hi All, While creating InfoArea displaying Error in Object editing pop-up window and showing message that Package Z_TBCPACK does not exist. This package we used to transport the Cube from testing server to production server. The cube is transported
-
Archived documents - mass printing
Hi there, We use Ixos for archiving incoming invoice. After archiving, we access them one by one from web (Java IxosViever) or from SapGui (E-conViever). Now the question : How can i print them in mass (100 or 200 selected archives in one time in the
-
Hi, Exepets I have one requirement for smartform i want to print smartform bulk with same layout .Please give me advise
-
Can't play xvid video files on my macbook-need help with this
I have tried everything, from Perian installation, to niceplayer, divx player, vlc player, divx and xvid codecs for QT....nothing seems to work, to allow me to play xvid video files....unless I buy a converting software and spend thousands of hours c