BAPI needed for VL32 (Post goods receipt) and VT02 shipment transaction
Hi,
We are currently updating quantities and Performing a Post Goods Receipt against all associated inbound deliveries using BDC (VL32).
Also, updating the completion date of associated shipments by BDC (VT02).
As part of upgrade intiative ECC 6.0, we are trying to avoid BDC and looking for suitable BAPI's for the above tasks.
Please help us in this regard,
Thanks,
Madhan.
Hi,
Please look following BAPI in Tcode BAPI.
For Transport
go tp Tcode BAPI --- > Logistic Exection ---> Transportaion .
For Billing.
go tp Tcode BAPI --- > Logistic Exection -> Shopping- >Inbound Delivery
You find many more BAPI in this Transaction.
BAPI for PGi is BAPI_GOODSMVT_CREATE.
To change the header details of a shipment use
SD_SHIPMENT_HEADER_CHANGE
To change the stage data use
SD_SHIPMENT_STAGE_APPEND
SD_SHIPMENT_STAGE_CHANGE
SD_SHIPMENT_STAGE_CHECK
SD_SHIPMENT_STAGE_DELETE
SD_SHIPMENT_STAGE_INSERT
To add deliveries to shipment use
SD_DELIVERY_ASSIGN_TO_SHIPMENT
Thanks & Regards.
ShreeMohan
Edited by: ShreeMohan Pugalia on Jul 17, 2009 8:18 AM
Similar Messages
-
Correct user exit need for vl32n - post goods receipt.
Sorry this is not the correct forum . SO please don't look in to this
For vl32n , upon "Post goods receipt" button click, I was writing code in "mv50afz1" ...Basically in the "mv50afz1" program, I am clearing the value of batch(charg) and the same batch value I am assigning to vendor batch(am doing by moving xlips-charg value to xlips-lichn).
But the thing is my logic should be written in one of the userexit before this user exit( Why because SAP generates one batch on it's own and assigns that to batch if it the batch field in vl32n is space - If batch field is not space SAP's generated batch won't be assigned - So I need to make the batch value space in vl32n upon click of "Post goods receipt" button to allow assignment of SAP's batch).
So could you please suggest me is there any user exit available for this ?
THANKS.
Edited by: sam kumar on May 8, 2009 7:22 PMI am sorry this i snot the correct forum.
-
Hi i need one object from goods receipt, and one from invoice
hi gurus
what are the tables and fields we have in goods receipt and invoice
plz send one object on goods receipt
and one object on invoice
thank oyu
regards
kals.Check EKBE table.
If BEWTP='E' means Goods Receipt and 'Q' means Invoice Receipt.
DMBTR and WRBTR fields gives you the value of that item.
ALso check this thread.
Goods Receipt and Invoice Amount
Check this thread for goods receipt notice sample program.
grn report(goods receipt notice) -
Hi,
How to deactivate Post Goods Receipt tab in VL32 without using user exits or field exits?
Regrads,
PrashanthHi,
Through Transaction / Screen Variant -T code: SHD0 you can deactivate post goods receipt tab.
Regards,
Sanjay -
Need Acknowledgement When Posting Goods Receipt Document
Hi,
My scenario is i want to post the Goods Receipt Document using an idoc MBGMCR02. After posting if any error occurs i want acknowledgement file describing the error. How can i achieve this. Kindly suggest.
Regards,
VenkatHi Venkat !
acknowldegement in the file to idoc scenario using BPM
file adapter supports only transport ack,not application ack.
/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
Do the steps given in the help link for acknowledgement
http://help.sap.com/saphelp_nw2004s/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm
also look at this Thread discuss the same
Process Integration (PI) & SOA Middleware
Thanks !! -
FM/BAPI for Post Goods Recipt and Reservations
Hi All,
Is there any BAPI/FM for posting Goods receipt and Reservations . Please send some sample example to post goods receipt using Inbound Delivery & Reservations
Thanks
BobbyBobby,
I think you can use the FM BAPI_ACC_GOODS_MOVEMENT_POST for this purpose. You try to write a sample program and see how it works.
Sojan -
Goods Receipt and Goods Issue - Posting Date and Document Date Problem
Hi All,
I was using SDK to build own add on to insert Posting Date and Document Date under Inventory> Inventory Transactions> Goods Receipt and Inventory> Inventory Transactions> Goods Issue, but the UI Screen Posting Date and Document Date shown current date.
My SAP Business One version was 2007A SP00 PL42 and alreadly upgrade to SP05.
End up result still the same.
Is there someone can help me?
Thanks you.
Best Regards,
dannyHi there,
I already solve it by myself.
Actually is i call the initialization twice:
Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
Thats what make this problem happened.
Sorry.
Best Regards,
danny -
Hi,
I need to do Post Goods receipt for HU ( inbound delivery).
I'm using the fn module WS_DELIVERY_UPDATE_2.
For that,i've updated the vbkok_wa structure with the below data
i_vbkok-vbeln = delivery number
i_vbkok-lgnum = warehouse
i_vbkok-SPE_AUTO_GR = 'X'.
Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
Thanks and regards,
Poornima
Edited by: poornima v on Jun 17, 2009 4:45 PMHi,
I need to do Post Goods receipt for HU ( inbound delivery).
I'm using the fn module WS_DELIVERY_UPDATE_2.
For that,i've updated the vbkok_wa structure with the below data
i_vbkok-vbeln = delivery number
i_vbkok-lgnum = warehouse
i_vbkok-SPE_AUTO_GR = 'X'.
Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
Thanks and regards,
Poornima
Edited by: poornima v on Jun 17, 2009 4:45 PM -
Need Bapi Names for Post Goods Reciept and Post Goods issue to STO in MIGO
Hi All..
I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.
Also once STO (Stock Transport order) is created, i also need to Post goods issue to STO in MIGO transaction. I do need a bapi for this too...
Appreciate your help and will reward any helpful answers.
Thanks..Hi,
ata : gm_header type bapi2017_gm_head_01.
data : gm_code type bapi2017_gm_code.
data : gm_headret type bapi2017_gm_head_ret.
data : gm_item type table of
bapi2017_gm_item_create with header line.
data : gm_return type bapiret2 occurs 0 with header line.
data : gm_retmtd type bapi2017_gm_head_ret-mat_doc.
clear : gm_return, gm_retmtd. refresh gm_return.
gm_code-gm_code = '03'.
gm_header-header_txt = firstscreen-bktxt.
gm_header-pstng_date = sy-datum.
gm_header-doc_date = sy-datum.
gm_header-ver_gr_gi_slip = ' '. "print
gm_code-gm_code = '03'.
move lineitem1-bwartwa to gm_item-move_type .
move lineitem1-matnr to gm_item-material.
move lineitem1-erfmg to gm_item-entry_qnt.
move 'EA' to gm_item-entry_uom.
move lineitem1-werks to gm_item-plant.
move lineitem1-lgort to gm_item-stge_loc.
move lineitem1-kostl to gm_item-costcenter.
while gm_item-costcenter+9(1) = ' '.
shift gm_item-costcenter right.
endwhile.
overlay gm_item-costcenter with '0000000000'.
append gm_item.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gm_header
goodsmvt_code = gm_code
importing
goodsmvt_headret = gm_headret
materialdocument = gm_retmtd
tables
goodsmvt_item = gm_item
return = gm_return.
Thanks
venki -
BAPI - Goods receipt and then create transfer order for a production order
Hello Everyone
We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
We are using BAPI 'BAPI_GOODSMVT_CREATE'
i_items-orderid = wa_afpo-aufnr .
i_items-order_itno = wa_afpo-posnr.
i_items-mvt_ind = 'F'.
i_items-stge_loc = wa_afpo-lgort.
i_items-stge_type = '901'. "wf_styp.
i_items-stge_bin = wf_sbin.
i_items-entry_qnt = wf_qty.
i_items-entry_uom = wa_afpo-meins.
i_items-entry_uom_iso = wa_afpo-meins.
i_items-batch = wa_zmobtag-charg.
i_items-move_type = '101'.
i_items-move_reas = wl_3131.
We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
My requirement : Creating material doc and then TO. Material should move to specified storage bin.
Please let me know any alternate way( No BDC) so that my requirement is achieved.
Regards
SwetabhHi ,
can u check these fields ,
STGE_TYPE_PC UBTYP CHAR 3 0 Storage type for transfer posting
STGE_BIN_PC UBPLA CHAR 10 0 Storage bin for transfer posting
Regards
Prabhu -
BAPI needed for goods receipt for delivery created from sales order
Hi experts,
I need help.
I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
Is there any way to post this? I need BAPI and not FM MB_*....
Thanks & REgards,
Bhavin A. ShahHi,
Please refer to link,
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
Regards
Shree -
BAPI for Post Goods Receipt - VL02N(SD) - Return Delivery
Hi All,
Could you plz tell me the bapi or function module or bdc for post goods rceipt for return delivery. I am ucing the bapi called BAPI_GOODSMVT_CREATE but it throughing an error. u can not do the these movement types.like this. Here i am using the movement types as - 632,651 and 653. could any one hlp me regarding this issue. its urgnt and i am not able to get the reason.it is working for normal delivery when i use the same for return delivey with the above movement types its not working.
VL02N - return delivery number -
> Post goods receipt.
thnks
yerukala settyHi,
Use BAPI 'BAPI_OUTB_DELIVERY_CHANGE'
Check out this thread, this question is being solved before.
bapi for vl02n about post goods issue
Thanks,
Krishna -
Post goods receipt against a Inbound Delivery(VL32N) FM or BAPI Method
Hi Expert,
I am looking for a Function Module or BAPI Method to Confirm the Inbound Delivery i.e. that can post Goods Movement Against a Delivery Document.
My scenario is Create PO-> create Inbound delivery-> post Goods Receipt.
Regards,
Kapil.
Edited by: Kapil Kumar Gupta on May 5, 2011 2:46 PMIn OSS note 520813 it is said:
16. Question:
Which goods movements should I not post using the BAPI_GOODSMVT_CREATE BAPI?
Answer:
You should not post the goods receipt for the inbound delivery using BAPI_GOODSMVT_CREATE BAPI because the document base and the status of the inbound delivery are not updated. See Note 199703.
If you check OSS note 199703 you can see that it is valid from release 45 to release 500.
Assigned to this note you can find another: 1050944 (it's worth of reading!!!).
I feel there are contradictions here - it might possible that the first note (520813) is not updated properly. (As far as I remember in my case this BAPI was working properly too).
In my opinion you should send a message to OSS and ask them whether the statement in note 520813 is still valid or not - you should also tell them that the referred note (199703) is not applicable to ECC6.0.
(there's a setting in ECC6.0 which enables that document flow is updated if GR is posted via MIGO with reference to IBD - V_TVSHP-SPE_INB_VL_MM)
I would like to ask you if you have a reply from them, please update this thread - it may be helpful for us.
Edited by: Csaba Szommer on May 9, 2011 2:34 PM
One more remark: (based on OSS note 1050944) it seems that you cannot use it only in case of packing (IBD with HU).
Edited by: Csaba Szommer on May 9, 2011 3:05 PM -
Batch number issue when posting goods receipt for Subcontracting PO
Dear expert,
I always heard there will be issues while posting goods receipt for subcontracting PO. If the component is managered by batch.
No batch number will be proposed during PGR in MIGO...
I dont quite understand where is the issue??
My understanding:
We have batch managered components and End Product. All have batch numbers, then we PGI the stock to 'SC stock' via 541 movement type.
Then Vendor will finish the end product and send us back the end product.
We consumption the components use 543 O movement type? And GR the end product..
So while goods receipt, the sytem just need pick the existing batch number for both components and finish products..
Where are the issues???
Thanks.Hoo Laa wrote:
I have questions for people always mentioning there are issues with batch determination while post goods receipt for subcontracting orders.
>
> I am thinking maybe they didnt active the batch determination for 543 movement type..
>
> Thanks.
Hi Hoo,
You are right!!
Setting of batch number determination has its importance in Mvt Type be it 541, 543....
The issue you might have observed would be with Batch Determination in Goods Issues which folks find it bit tough to achieve n make it work for them.
Cheers!!
Shiva -
Running VL06IF in Background and Posting Goods Receipts
Hi All,
We need to be able to run VL06IF (WS_MONITOR_INB_DEL_FREE) in background mode and post goods receipts for the Inbound Deliveries selected based on our variant selection criteria.
Wondering if anyone is aware of a program that can select the inbound deliveries and post the goods receipts as part of the one process - which can be run in background mode, with the ability to accept a variant.
We are on: R/3 4.6C
All help greatly appreciated.
Thanks,
Ravelle
Message was edited by: Ravelle WickhamVL06IF is list of Inbound deliveries.
To achieve what you want you should go to VL06I and select Goods Receipt.
Once you are there, you will see you are running program WS_MONITOR_INB_DEL_GDRC. There you can select a variant and run in Background.
Once the job is scheduled, the program WS_MONITOR_INB_DEL_GDRC is executed.
It should do it.
Leonardo De Araujo
Maybe you are looking for
-
I don't know how I could make this any more clear.... Where the icons used to be, there is now either nothing at all or a square shaped by dotted lines.
-
How to print the spool request with a given file name.
Dear Experts; I used FM RSPO_OUTPUT_SPOOL_REQUEST to print spool request. And the device type is a local pdf printer. By default, the download file name will be the spool id. How can I change the download file name? Thanks! Convert 'CutePrinter' to q
-
Balance sheet item in Profit center accouting
Dear All, We are deriving segmental reporting through profit centers. I have created the profit and loss accounts as cost elements. Should I have to create the balance sheet items also as cost elements. In that case what should be the category for
-
Excel to oracle tables automation
Hi Gurus, I want to load data from excel(data exist for each table/Tab in the file) into oracle tables(unix environment). Loading should be done using sqlldr and with proper error handling. How can I implement this automation process.? Thanks in adva
-
I am planning on getting certified as an OCA PL\SQL developer. I will be teaching myself and I have all the material needed to prepare. Except, I don't have a database that I can solve exercises on and practice commands. The two exams I will be takin