How to change the pick quantity in outbound delivery using bapi
Hi,
I am using BAPI_OUTB_DELIVERY_CHANGE for changing the outbound delivery picking quantity but there is no field to change the pick quantity.
plas advice any BAPI to change pick quantity
Regards,
Krishna
Krishna....have a look in the below threads where there was a similar requirement..
error while using BAPI_OUTB_DELIVERY_CHANGE
change outbound delivery
Similar Messages
-
How to change the open quantity of PO / STO using BAPI_PO_CHANGE
Hi Friends,
How can I change the open quantity in ME22 using the BAPI BAPI_PO_CHANGE...
I am getting some errors..The values I am passing to the BAPI are:-
*-- Purchase Order document
lv_purchaseorder = tbl_join-ebeln.
*-- Calculate Open quantity
lv_quantity = ( tbl_join-menge - tbl_join-wemng ).
*-- Fills Schedule quantity to be processed.
tbl_poschedule-po_item = tbl_join-ebelp.
tbl_poschedule-sched_line = tbl_join-etenr.
tbl_poschedule-quantity = lv_quantity.
APPEND tbl_poschedule.
*-- Marks the Schedule quantity to be processed.
tbl_poschedulex-po_item = tbl_join-ebelp.
tbl_poschedulex-sched_line = tbl_join-etenr.
tbl_poschedulex-po_itemx = c_true.
tbl_poschedulex-sched_linex = c_true.
tbl_poschedulex-quantity = c_true.
APPEND tbl_poschedulex.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
PURCHASEORDER = lv_purchaseorder
POHEADER =
POHEADERX =
POADDRVENDOR =
TESTRUN = 'X'
IMPORTING
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = tbl_return
POSCHEDULE = tbl_poschedule
POSCHEDULEX = tbl_poschedulex.
Is there any other required fields needs to be passed to change the open quantity..
I am checking in ME22...
The scheduled quantity is 20.
Delivered quantity is 15.
Open quantity is 5 and ( this field is in non-editable display )
Delivery date is 10.10.2002 ( which is in past )
Now using this BAPI ..I want to post the remaining open quantity which is " 5 "
How can i do this ?? Please help.Hi Hari
Please check after making the following changes:
*-- Marks the Schedule quantity to be processed.
tbl_poschedulex-po_item = tbl_join-ebelp.
tbl_poschedulex-sched_line = tbl_join-etenr.
<b>tbl_poschedulex-po_itemx = 'U'. "c_true.
*tbl_poschedulex-sched_linex = c_true.</b>
tbl_poschedulex-quantity = c_true.
APPEND tbl_poschedulex.
If still you do not get the desired function working add the below code:
tbl_poitem-po_item = tbl_join-ebelp.
tbl_poitem-quantity = lv_quantity.
append tbl_poitem.
tbl_poitemx-po_item = tbl_join-ebelp.
tbl_poitemx-po_itemx = 'U'.
tbl_poitemx-quantity = c_true.
append tbl_poitemx.
Hope this helps.
Kind Regards
Eswar -
Automatic Pick Quantity In Outbound Delivery
Dear all,
Please give me a solution for Automatic Pick Quantity In Outbound Delivery using t-code VL01N.
Thanks & Regards
Amit KaralkarHi Amit,
I will explain how you set up this automatic picking, and then you can
work backwards from there. The automatic picking you are experiencing
is actually related to the output type EK00 assigned to your shipping
point.
Consider the following two setup steps which will result is automatic
picking:
Set the output type to EKOO, in the print picking list of the shipping
point in customizing.
Make sure the parameters below are set:
Message Language
Number of Messages
Send Time <<<<<<<<<<< this must be set to 4 (send immed)!!
Transmission Medium
1) you have to set the parameters for EK00 in the shipping-point-
maintenance in customizing:
-> Enterprise Structure
-> Definition
-> Logistics Execution
-> Define, copy, delete, check shipping point
2) as second step you define the shipping-print-parameters in
customizing:
-> Logistics Execution
-> Shipping
-> Basic Shipping Functions
-> Output Control
-> Define print parameters shipping
-> Shipping (Spec.case)
Therein there should be an entry for every shipping-point, where
you like to use the picking-list EK00!
If you have 1 & 2 setup for a particular shipping point you will
experience the "automatic" picking of deliveries.
Regards,
Ramana -
Change Bill-of-lading&package no in Outbound Delivery using BAPI or any FM
Dear ABAP Gurus,
How to change Bill of Lading(BOLNR) and Number of Packages(ANZPK) in Outbound Delivery using BAPI or some other Function MOdule.( BDC is not required for this).
Regards,
RajeshMOVE 'BAPE_VBAP' TO lwa_extension-structure.
lwa_bape_vbap-vbeln = lwa_final-vbeln.
lwa_bape_vbap-posnr = lv_posnr.
MOVE lwa_final-yyslotid TO lwa_bape_vbap-yy_slotid.
MOVE lwa_bape_vbap TO lwa_extension-valuepart1.
APPEND lwa_extension TO lt_extension.
CLEAR lwa_extension. -
LSMW Custom program for updating picked quantity in outbound delivery
I have been tasked with creating an LSMW that will update the picked quantity in an outbound delivery. I originally thought of using a recording on transaction vl02n, but I need the LSMW to work with variable amount of item lines.
Through some research I figured out that FM WS_DELIVERY_UPDATE_2 can update the picked quantity. I have successfully created a custom program that calls this FM.
I have created what I believe to be the correct entries in the SXDA0, SXDA1, SXDA2, and SXDA3 tables to make my custom program work with LSMW. I am able to find my program in the "Maintain Object Attributes." I am also able to "Maintain Structure Relations Step" (screen shot attached) I am currently using VBKOK and VBPOK for the header and line item structures respectively.
My difficulty is converting the data. I have tried everything from having no conversion rules to mapping many fields and I always receive the following error (screen shot also provided).
Error analysis
The statement
"Move src TO dst"
requires that the operands "dst" and "src" are convertible.
Since this statement is in a Unicode program, the special conversion
rules for Unicode programs apply.
In this case, these rules were violated.
Program /SAPDMC/SAP_LSMW_CONV_FORMS
Include /SAPDMC/SAP_LSMW_CONV_FORMS
Row 1,080
Module type (FORM)
Module Name TRANSFER_RECORD
Since I have run the conversion with no conversion rules I am very confused as to why I am still receiving this error. Any insight would be greatly appreciated.For anyone I have uncovered some interesting things about my issue. I started going through the conversion code piece by piece trying to figure out what data element the system was choking on.
After digging though the program and using the debugger I found out that the issue was in FORM transfer_record.
ASSIGN (g_record) TO <l_record>.
CASE g_objecttype.
WHEN '01' OR '02'.
gt_buffer-record = g_record.
gt_buffer-data = <l_record>.
APPEND gt_buffer.
If this LSMW was working
g_record = 'VBKOK'
<l_record> = 'VBKOK'
But what is actually happening
g_record = 'VBKOK'
<l_record> = "Structure of some sort
I do not know why this is happening since the field symbol is being assigned right before this piece of code. Any suggestions are greatly appreciated. -
How to change the print page setup in IE using javascript
dear all,
I want to take print out envelope paper size, so i want to chnage the page setup in IE
i want to change the print page setup in IE using javascriptI think, you can do this using CSS.
http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html -
Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE
Hi All,
I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
Goods movement not possible with mvmt type 601
Can anyone suggest me what will be the solution for it?
Regards,
Raghuraman.kI tried with the above BAPI but it is not working.
In my case a delivery has one line item with batch split and other line item without batch split.
Below is my code :
DATA : gwa_header_data TYPE bapiobdlvhdrcon,
gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
lv_delivery TYPE bapiobdlvhdrcon-deliv_numb,
git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
gwa_item_data TYPE bapiobdlvitemcon,
git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
git_return TYPE STANDARD TABLE OF bapiret2,
gwa_return TYPE bapiret2.
*Header data
gwa_header_data-deliv_numb = '0808000002'.
*Header Control data
gwa_header_ctrl-deliv_numb = '0808000002'.
gwa_header_ctrl-post_gi_flg = 'X'.
*Delivery Number
lv_delivery = '0808000002'.
*Item data and its corresponding control data
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900002'.
gwa_item_data-dlv_qty = 4.
gwa_item_data-dlv_qty_imunit = 4.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900002'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900003'.
gwa_item_data-dlv_qty = 6.
gwa_item_data-dlv_qty_imunit = 6.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900003'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '000020'.
gwa_item_data-dlv_qty = 10.
gwa_item_data-dlv_qty_imunit = 10.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '000020'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
BREAK-POINT.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
EXPORTING
header_data = gwa_header_data
header_control = gwa_header_ctrl
delivery = lv_delivery
TABLES
item_data = git_item_data
item_control = git_item_ctrl
return = git_return.
BREAK-POINT.
IF git_return IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF. -
Creating Outbound Delivery using BAPI
Hi All,
Can anyone advice is there any way to create Oubound Delivery using BAPI.
If you have come accross with such developments or idea, can you please share your idea?.
Thanks,
Muruganand.KHi,
Use BAPI_DELIVERYPROCESSING_EXEC - Create Delivery from Delivery Due List
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized System
BAPI_OUTB_DELIVERY_CHANGE
BAPI_OUTB_DELIVERY_CREATENOREF
BAPI_OUTB_DELIVERY_CREATE_SLS
BAPI_OUTB_DELIVERY_CREATE_STO
BAPI_OUTB_DELIVERY_SAVEREPLICA
Also check
BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
BAPI / FM for Create Outbound Delivery for PO
Outbound Delivery User Exits
EXIT_SAPLV50I_003 User Exit BAPI Outbound Delivery Replication
EXIT_SAPLV50I_004 User Exit BAPI Outbound Delivery Confirmation
EXIT_SAPLV50K_007 User Exit BAPI Outbound Delivery Replication (Outbound from Sender System)
Function module: OIJ_EL_DOCG_CREATE_DELIVERY - Create outbound delivery -
How to change WM Status of an outbound delivery??
Hi Experts,
I was trying to do PGI for an outbound delivery for which I created TO and did TO Confirmation.
After TO Confirmation , both the Picking Status and Overall WM Status was set as C
I was trying to execute WS_Delivery_Update for PGI.
After executing the FM,when i checked the outbound delivery in VL03N
OverallWMStatus changed to B.
But last night it was C after TO confirmation.
And now I cant do anything
When I try to do PGI its stating that "Delivery has not yet been completely processed by WM"
Please help out??Hi Sanjeev,
After confirming the TO, I was trying to do PGI executing WS_DELIVERY_UPDATE from se37.
I want to reverse the picking of the outbound delivery whose
Overll Pick Status C
Overall WMStatus B -
Urgent-Help needed in FM to update picking quantity in outbound delivery.
Hi,
I have to automatically update the delivery and picking quantity for an outbound delivery without doing any post goods issue.Could you please help me with any FM which does this with proper explanation.
Any help will be greatly appreciated.
Thanks,
Sandeep.Check with FM : SD_DELIVERY_UPDATE_PICKING
The above FM will update Picking in delivery
Check the structure VBPOK ,within structure VBPOKKOMMI(Include structure)
Field is PIKMG.
Thanks
Seshu -
How to change the style of a single component using oracle skin Jdev 10.1.3
my hole applications is using oracle skin, I only need to change the color of the menuTab, but I don´t want to create a new skin family...
I tried this link http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
but the dont tell how to create adf-faces-skins-doc.xml
how is that possible?, please I need help....Hi,
Ack, I forgot that 10g doesn't have inheritance support either... You'll have to create an XSS file I think, and those are obscure... Also 10g generates image files for menuTab... I think you'll have to create a brand new skin family, sorry :(
Regards,
~ Simon -
How to change the g/l a/c being used while doing goods issue using migo
when I pass a migo entry whilie purchasing material
, the entry goes through stock
stock (230000 a/c no) 150 dr
GR/IR (150000 a/c) 150 cr
when I issue material after reservation for which again migo is done
entry is
repairs to plant and mach (4800569 a/c) 175
stock (230000 a/c no) 175
The stock a/c is debited and credited due to t.code obyc where for inventory posting I have assigned a/c 2300000 for valuation class assigned to material.
now I want to have a/c no 4800689 in place of 4800569. how can i change that.
that is when I issue material from stock this should be debited to 4800689 instead of 4800569. please provide t.code to change the gl from 4800689 from 4800569
full points will be awardedcontinuing my issue is it possible to that we donot have to change the gbb and vbr and still we can have the desired results.
that is we are able to use different gl for debit while doing goods issue from a single stocked material
or we want to have this result
1. repairs to p&m 1000 dr
stock of cement a/c 1000 cr
2. repairs to building 2000 dr
stock of cement a/c 2000 cr.
3. construction 3500 dr
stock of cement 3500 cr
we donot want to change the GBB and VBR every time or change the GL a/c while doing reservation.
is there any third option where we get the desired result without changing or entering the g/l manually
if there is please let me know the t.codes -
How to change the emmbedded ip address in sip using nat
i have traffic on a private ip range sending sip traffic that is being natted to another range on a cisco router. how do i get the nat router to change the ip address embedded in the sip to the nat address.
Hi Daniele,
Thanks. But this is already enabled.
This is my present config and show ver.
sh ver
Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9_NPE-M), Version 15.0(1)M2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 10-Mar-10 22:27 by prod_rel_team
ROM: System Bootstrap, Version 15.0(1r)M6, RELEASE SOFTWARE (fc1)
NORF50IPT1 uptime is 1 day, 23 hours, 26 minutes
System returned to ROM by reload at 11:21:52 MSD Sat Aug 20 2011
System image file is "flash0:c1900-universalk9_npe-mz.SPA.150-1.M2.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command
interface GigabitEthernet0/0
description link to Avaya PBX
ip address 146.30.106.250 255.255.255.252
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
interface GigabitEthernet0/1
ip address 192.168.211.106 255.255.255.0
ip accounting output-packets
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
ip nat service allow-multipart
ip nat inside source static 192.168.1.10 192.168.211.106 route-map ipt
access-list 1 permit 192.168.1.0 0.0.0.255
route-map ipt permit 10
match ip address 1
here is the output from a debug ip nat sip:-
*Aug 22 10:57:26 MSD: NAT: map match ipt
*Aug 22 10:57:26 MSD: mapping pointer available mapping:0
*Aug 22 10:57:26 MSD: NAT: New entry added to map hash table
*Aug 22 10:57:26 MSD: NAT: i: tcp (192.168.1.10, 52435) -> (192.168.111.2, 5060)
*Aug 22 10:57:26 MSD: NAT: created edit_context (192.168.1.10,52435) -> (192.168.111.2,5060)
*Aug 22 10:57:26 MSD: NAT: s=192.168.1.10->192.168.211.106, d=192.168.111.2
*Aug 22 10:57:26 MSD: NAT: o: tcp (192.168.111.2, 5060) -> (192.168.211.106, 52435)
*Aug 22 10:57:26 MSD: NAT: s=192.168.111.2, d=192.168.211.106->192.168.1.10
NORF50IPT1#
*Aug 22 10:57:52 MSD: NAT: map match ipt
*Aug 22 10:57:52 MSD: mapping pointer available mapping:0
*Aug 22 10:57:52 MSD: NAT:refcount increased to entry in map hash table
*Aug 22 10:57:52 MSD: NAT: i: tcp (192.168.1.10, 45661) -> (192.168.111.2, 5060)
*Aug 22 10:57:52 MSD: NAT: created edit_context (192.168.1.10,45661) -> (192.168.111.2,5060)
*Aug 22 10:57:52 MSD: NAT: s=192.168.1.10->192.168.211.106, d=192.168.111.2
*Aug 22 10:57:52 MSD: NAT: o: tcp (192.168.111.2, 5060) -> (192.168.211.106, 45661)
*Aug 22 10:57:52 MSD: NAT: s=192.168.111.2, d=192.168.211.106->192.168.1.10
I cannot see it changing the embedded ip in the sip. -
Changing the Destination bin for Outbound Delivery
Hi All,
For any Outbound delivery, when we do TR and TO by default the goods gets posted to 916 interim shipping area. Now if I want to change this interim bin to a different area. What checks and changes I need to do?
thanks for help,
GHello,
(1) Go to OLML>activity>transfer--> movement type configuration. Look for 601 movement type of your WH number.
Remove the storage type 916 and enter the storage type of your choice. Enter the Bin number of your choice.Remove dynamic selection flag
(2) Create LS01N with storage type and bin which you have entered in step 1
Thanks
Milind -
How to change the column order in OVS - NOT USING Enhancement Pack 1
Hi Guys,
we are currently using NWDS 7.1.
I cannot seem to chang the order of the columns when the OVS pops up. We have tried to change the order of the fileds of the custom SAP BAPI that is used for this OVS but no success.
Please advise on possible changes of the actual BAPI that might help, or things we can do Java side.
Kind Regards,
ChristiaanHi Christiaan,
This can be done from Java side in itself.
This depends on the order in which you add attributes to the node in the context for ovs output.Recreate the context node of ovs output and add attributes one after the other in the same order you want it to appear in the ovs pop - up.That simple.
Hope this helps.
Regards,
Ashok
Maybe you are looking for
-
Phone no longer recognized by my computer or my wall charger...HELP
After the 2.0 upgrade had a few issues, still have a few of the apps quitting etc. these I can deal with while waiting for the fixes. The big problem is the phone now cannot connect to the computer or the charger, tried different cables {still can ch
-
How to watch iPhone HD movies on my TV?
There is now point in having a HD-video cam if you can`t juse it other than post it to youtube. In wich format shall I export the vids from iMovie to burn it on to a DVD for playing on a blueray? My Sony AVCHD cam does this very well. Hoping for HD o
-
How do I install a toolbar with the Croatian language
How do I install a toolbar with the Croatian language. Thank you!
-
Credit card charged instead of credit
Hello, I recently redeemed a $50.00 iTunes gift card and then did an inapp purchase. It appears that the inapp purhase charged my credit card as I still see $50 credit in the AppStore. What can be done?
-
Help with photo slideshow and deleting photos!!!
I wanted to know how you make a photo slideshow on the ipod and I also wanted to find out how to delete photos off of the ipod. I got them on but some I didn't want on there. How do I get them off?