Transaction COWBHUWE Post Goods Receipt
I've been asked to create a RF custom transaction to mirror this functionality. Is there an existing BAPI or Remote Function module that could be called to replicate this functionality by passing in a HU and production order or will I have to create a BDC .
Hi
I do not think there is any BAPI available.
You may have to do the BDC.
Regards
Prasad
Similar Messages
-
How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level, There is a requirement from my client and i propose two methode
1- Creation of Ztcode ZVL32N and do changes ABAP program level
2- Disablement via Authorization/Role level - but how can i find the auth object/ Authorization corresponds to POST GOODS RECEIPT button in VL32NI think you can make use of SHD0 - Transaction variant to achieve this. You can make it as grayed out while recording steps in SHD0.
-
Posting goods receipt using transaction MB1C
Hi
When I posting goods receipt using transaction MB1C , I am getting following error
Account 310000 for Transo/event key BSX is a A control Account.
Please tell me the solution for this error.
kalai.Dear Suriya,
If your issue is still un-resolved, Just try with:
T. Code: FS00
Key-in your G/L Account - 310000 & Company Code, in respective fields; go to
Tab: Create/bank/interest
Here, you will find a Box: Post automatically only. Enable the box (check-mark the box) for GR/IR clearing account.
Jope, this may help in some ways.
Best Regards,
Amit.
Note: In continuation to others' suggestion, I'll also suggest to consult FI-Personnel, at your end. -
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 -
How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N .
Hi ,
How can I disable POST GOODS RECEIPT button in VL31N/VL32N .
Its because, we wanted to use VL06I to do PGR insted of VL32N.
Thanks in advance.
RaysHi,
if you have a look at program SAPMV50A then you can see that routine cua_exclude_dynamic is used to disable buttons dynamically. If you are on ECC6.0 then you can use implicit enhancement point to exclude code WABU_T which corresponds to "Post Goods Receipt". You can simply add the following lines at the end of this routine using implicit enhancement point.
IF sy-tcode EQ 'VL31N' OR sy-tcode EQ 'VL32N'.
PERFORM cua_fcode_allow USING 'WABU_T' no.
ENDIF.
Cheers -
Accounting document while doing Post Goods Receipt
Hi,
The scenario is like this.
1. Sales order1 is created.
2. Delivery document created; PGI (post goods issue) is done. Here the movement type is 601.
I want to get back the material (equipment) for some reason; I want to check the material for its condition. If there is any damage, I have to charge the customer. So, the material will be received to Return stock by return sales order with reference to the first sales order1 (Movement type 651); then will be sent to Quality (Movement type 457); if it is not damaged will be sent to unrestricted stock (Movement type 321) by transaction code MB1B.
When I am doing the PGI, the accounting document is created; the Inventory account is credited and COGS (Cost of goods sold) is debited.
When I am doing PGR (Post Goods Receipt), the accounting document is not created (Movement type 651).
I have created a new u2018Schedule line categoryu2019 (YL) for the return process with the movement type 651.
I want to get an accounting document while doing PGR. The inventory account is to be debited; the COGS is to be credited.
Can I get the accounting document by changing the movement type in Schedule line category u2018YLu2019?
Please guide me in this regard.
Regards,
K BharathiHi
Can I get the accounting document by changing the movement type in
Schedule line category u2018YLu2019?
Yes in your schedule line category if the movement type is not 651 then an accounting doc will be created
For movement type 651 there wont be any accounting document
In returns (651M.Type) If a returns delivery exists, the return should be posted in the Sales (SD-SLS) component, not in the Inventory Management component.
Depending on how Customizing for Sales is configured (the movement type is configured in the step Define Schedule Line Category), the delivery is posted to the following stock:
- Blocked stock returns (non-valuated, not unrestricted-use) (movement type 651)
- Unrestricted-use stock (movement type 653)
- Quality inspection stock (movement type 655)
- Blocked stock (movement type 657)
If the given quantity is posted to blocked stock returns first, you can make a manual goods movement posting in the Inventory Management component to transfer the quantity to valuated stock.
So, when the goods arrives in so called "Block stock returns" it is not your property, it belongs to the customer (the ownership has not changed) - it is not valuated. Whiles you post the goods to your own (plant) stock by 653/655/657 it becomes your property that's why it is valuated and material document will be created
Regards
Raja -
Not able to post goods receipt trcode MB1c
hi problem in posting the gr (mb1c)
when i am trying to post goods receipt i am getting the message
ctr1000/testcc is not assigned to a business area.
but when i am trying to assign a business area to cost centre testcc
it is giving the message that transaction data already exists.
please note 1000 is my co code
1000 is my controlling area
test cc is my cost centre.Hi,
Good afternoon and greetings,
I presume there should be a transaction already existing for that particular cost centre and that is the reason it is not allowing you to do the change...go to the cost centre reporting and reverse the old transaction and then make the changes and post the new transaction using MB1C.
Please reward points if found useful.
Thanking you,
With kindest regards
Ramesh Padmanabhan -
Auth error while post good receipt thru vl02n
Hi,
During Post good receipt thru t-code vl02n i am facing error as - "You have no authorization for this transaction with movement type 653"
In the role i have given auth for vl01n,vl02n and vrre
So pl guide to resolve this issueHi
please perform the transaction again. On error type /osu53 in transaction window. System will open new session and you will get details of Missing Authorizations. Give it to your Basis person to grant those missing objects.
enjoy
Atul -
Post Goods Receipt from Inbound Delivery
Hi,
I need to find a customer enhancement or a BADI that is modifyed a field when a Post Goods Receipt is created for an inbound delivery, in transaction VL32N.
I have tried to use the Business Add-In LE_SHP_GOODSMOVEMENT, but the field I modified after is overwritten. It is a field of the mseg structure.
Can anybody please advise on the available exits or BADIs?
ThanksHi,
Please clarify whether you want to modify th efield at item or header. Please check the Badi names Starting with LE_SHP* .These BADI' are for Delivery.find the Suitable BADI and Apply it. For custom tab at header BADI is LE_SHP_TAB_CUST_ITEM
LE_SHP_TAB_CUST_OVER
The BADI does not allow the update of data. There is a common trick used to perform the job ...
- in the BADI, export the data to memory (e.g. in TRANSFER_DATA_FROM_SUBSCREEN)
- in the old-fashion exit like USEREXIT_MOVE_FIELDS_TO_LIPS, import the data and map it.
I hope this will resolve your issue. Thanking you. -
Hi,
To do Post goods receipt against Inbounnd Delivery..i am using Bapi....BAPI_GOODSMVT_CREATE...
The BAPI gives an error for any movement type given...
I have used Movement type 101 that comes directly from the delivery table LIPS
WHAT shud be done...
Vinotha M.
Message was edited by: Vinotha MDear all
Bapi BAPI_GOODSMVT_CREATE could be used to post goods receipt against inbound delivery but in consequence no Delivery document flow is updated. This is official SAP explaination.
But there is solution to accomplish it. After posting goods movements you should update Inbound Delivery using fm SD_DELIVERY_UPDATE.
Check following coding:
form process_0112.
clear post_status.
post_status-delivery = wa_likp-vbeln.
* posting
perform post_goodsreceipt changing post_status.
perform post_delivery_hist changing post_status.
perform post_transferorder changing post_status.
* reversal posting if necessary
perform reverse_goodsreceipt changing post_status.
perform reverse_delivery_hist changing post_status.
* display message in case of error
perform issue_message changing post_status.
* leave transaction
leave to transaction sy-tcode.
endform. " process_0112
form post_goodsreceipt changing post_status structure post_status.
* DATA DECLARATION
* material document header
data: begin of it_head.
include structure bapi2017_gm_head_01.
data: end of it_head.
* T158G special code
data: begin of it_code.
include structure bapi2017_gm_code.
data: end of it_code.
* material document returned data
data: begin of it_rthead.
include structure bapi2017_gm_head_ret.
data: end of it_rthead.
* material document items
data: begin of it_pos occurs 100.
include structure bapi2017_gm_item_create.
data: end of it_pos.
* error table
data: begin of it_errmsg occurs 10.
include structure bapiret2.
data: end of it_errmsg.
* return data
data: post_mat_doc type bapi2017_gm_head_ret-mat_doc,
post_doc_year type bapi2017_gm_head_ret-doc_year.
* FILL DATA
* material document header
it_head-pstng_date = sy-datum.
it_head-doc_date = sy-datum.
it_head-header_txt = 'RF'.
it_head-pr_uname = sy-uname.
* T158G code
it_code-gm_code = '01'.
* material document items
loop at it_lips into wa_lips where posnr <> space.
it_pos-mvt_ind = 'B'.
it_pos-deliv_numb_to_search = wa_lips-vbeln.
it_pos-deliv_item_to_search = wa_lips-posnr.
it_pos-po_number = wa_lips-vgbel.
it_pos-po_item = wa_lips-vgpos.
it_pos-move_type = '985'.
it_pos-entry_qnt = wa_lips-rv_lfimg.
append it_pos.
endloop.
* CALL BAPI
refresh: it_errmsg.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = it_head
goodsmvt_code = it_code
importing
materialdocument = post_mat_doc
matdocumentyear = post_doc_year
tables
goodsmvt_item = it_pos
return = it_errmsg.
* check result
if post_mat_doc is initial.
post_status-post_mat_doc = space.
post_status-post_doc_year = space.
rollback work.
else.
post_status-post_mat_doc = post_mat_doc.
post_status-post_doc_year = post_doc_year.
commit work and wait.
endif.
endform. " post_goodsreceipt
form post_delivery_hist changing post_status structure post_status.
* DATA DECLARATION
data: it_vbfa like vbfa occurs 0,
wa_vbfa like vbfa.
* CHECK IF UPDATE DELIVERY IS ESSENTIAL
check not post_status-post_mat_doc is initial
and not post_status-post_doc_year is initial.
* POPULATE TABLE
loop at it_lips into wa_lips where posnr <> space.
clear wa_vbfa.
wa_vbfa-vbelv = wa_lips-vbeln.
wa_vbfa-posnv = wa_lips-posnr.
wa_vbfa-vbeln = post_status-post_mat_doc.
wa_vbfa-vbtyp_n = 'R'.
wa_vbfa-vbtyp_v = '7'.
wa_vbfa-plmin = '+'.
select single zeile waers menge dmbtr meins matnr bwart
from mseg
into (wa_vbfa-posnn, wa_vbfa-waers,
wa_vbfa-rfmng, wa_vbfa-rfwrt,
wa_vbfa-meins, wa_vbfa-matnr,
wa_vbfa-bwart)
where mblnr = post_status-post_mat_doc
and mjahr = post_status-post_doc_year
and ebeln = wa_lips-vgbel
and ebelp = wa_lips-vgpos.
append wa_vbfa to it_vbfa.
endloop.
* UPDATE DELIVERY
data: begin of yvbfa occurs 0.
include structure vbfavb.
data: end of yvbfa.
data: begin of xvbfa occurs 0.
include structure vbfavb.
data: end of xvbfa.
data: begin of xvttk occurs 0.
include structure vttkvb.
data: end of xvttk.
sort it_vbfa by mandt vbelv posnv vbeln posnn vbtyp_n.
loop at it_vbfa into xvbfa.
xvbfa-rfmng_flt = xvbfa-rfmng.
xvbfa-updkz = 'I'.
append xvbfa.
at end of vbelv.
call function 'SD_DELIVERY_UPDATE'
exporting
i_vbtyp = '7'
nicht_sperren = 'Y'
no_imseg_refresh = 'X'
tables
zxvbfa = xvbfa
zyvbfa = yvbfa
zxvttk = xvttk
exceptions
others = 1.
if sy-subrc <> 0.
exit.
endif.
refresh xvbfa.
endat.
endloop.
* check result
if sy-subrc <> 0.
post_status-post_deli_hist = 'R'.
rollback work.
else.
post_status-post_deli_hist = 'C'.
commit work and wait.
endif.
endform. " post_delivery_hist -
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 -
Post Goods Receipt in Delivery?
Generally we have a PGI button on an outbound delivery.But,in one of my returns delivery I have a Post Goods receipt button.I want to know from where does the setting of that button in the delivery screen comes in spro.
Hi Ronaldo,
As per the standard Return delivery will have only Post goods reciept (PGR)
This will controled by the field Document cat. in the OVLK transaction detail screen of the delivery document settings.
I hope it will help you,
Regards,
Murali.
Edited by: Murali Mohan.Tallapaneni on Jul 25, 2008 12:29 PM -
"Post Goods Receipt" is not allowed (HU 2023125)
HI,
I want to post goods receipt (VL32N) the batch with HU but there is a error log ""Post Goods Receipt" is not allowed (HU 2023125)
". Could any one tell me what happen and how to fix the error ?
Thank's & Regards,
Saiful arifHi!
I have the same problem, but in my case it is because I have one HU with 2 subordinated HU. I have created the OT for the main HU, and when I try to post good receipt, It show me this error:
"Post Goods Receipt" is not allowed (HU 362640)
Message no. BS007
Diagnosis
The current status of object 'HU 362640' prohibits business transaction
'Post Goods Receipt'.
Procedure
To process business transaction 'Post Goods Receipt', you first have to
change the status of object 'HU 362640' to allow the transaction 'Post
Goods Receipt'.
This gives you an overview of the system and user statuses that affect
the transaction. A transaction can only be executed if there is at least
one status that allows it and there is no status that forbids it.
Transaction analysis"
Please, do you know what can I do???
I can't chage the HU subordinated status, how can I do that???
Thanks a lot! -
Error while posting goods receipt
Hi All,
I am getting error message while posting goods receipt.
The error says posting only possible 2007/06.....
Thanks in advance
kumarGo to MMPV give your company code and the period and the fiscal year and execute.
Regards'
Navin -
Error in post goods receipt of delivery for a cross company return STO
Hi
I created a cross company return STO in ME21N (with returnd indicator). Vendor V001 (DC) and Site F001.
I created a delivery in VL10B. Delivery Type NCR.
I did a Goods Receipt for STO. Movement Type 161. Internally stock in issued from site F001.
I am trying to do a Post Goods Receipt of the Delivery in VL02N and I am getting this error.
Delivery quantity is greater than supplying site stock quantity
Message no. VL900
Supplying site is F001 which has enough stock.
DC has no stock and I amtrying to return stock to DC from store.
How to eradicate this issue?
Thanks and RegardsHi
http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-3.TheBasicsofFinancial+Accounting
http://help.sap.com/saphelp_sbo88/helpdata/en/45/06b9997d720487e10000000a155369/content.htm
kiran
Maybe you are looking for
-
IDOC_INPUT_INVOIC_FI: missing info.
Hi, Currently trying to integrate an IDOC ofr supplier invoice, and I have the following message: "For document type KR , an entry is required in field Reference." which generates status record 51. When clicking on status, tag "Logging", system says
-
TextEdit keeps saving .html file as .txt
As you know, you don't "save as..." files in Lion - Lion-compatible applications save a copy, and you don't get to specify what extension you want. So... I have all the proper preferences checked for TextEdit to properly open and manage .html documen
-
Movement type for customer supplied packing material returns
Hi, The scenario is like this,customer will give the packing material to the company.Company does the service required & return that packing material to customer.Presently we are using 624V movement type can you suggest some other movement typ
-
Random reset of ringtone volume since update to 2.0
Since updating to 2.0 my ringtone volume level, which I keep on the hightest level, will randomly reset to mid-level, causing me to miss a number of calls. Anyone else notice this and is there a solution? Thanks
-
How to track my iPhone if lost.
How to track my iPhone if lost.