Intercompany PO process, Error F5165 while doing PGI in outbound delivery
Hi all,
I am doing an inter-company PO with delivery & billing process.
i have configured the one step procedure in the STO config so that the movement type triggered while PGI in delivery will be 645.
But when i do the PGI (Post Goods Issue) in the outbound delivery, i am getting an error message no: F5165 "company code ' ' not defined".
I have checked the settings like both the supplying site & receiving site have company codes & sales orgs assigned in respective companies.
I am not sure why this error F5165 is coming.
how to identify what is the issue.
Please help.
regards,
kumar
The SAP Note which you referred is consulting note.
Check the fields as I mentioned in my previous post
- company code (T001K-BUKRS) or
- valuation area (T001W-BWKEY).
- may be field WERKS is not maintained in the preceding document (order) for the corresponding delivery item. As a result, the system does not find a valuation area in table T001W as well
So, in case to avoid this error your config should have these table-field combination which you are used transaction data
Table-Field
Table-desc
Field-desc
T001K-BUKRS
T001K-Valuation area
BUKRS-Company Code
T001W-BWKEY
T001W-Plants/Branches
BWKEY-Valuation Area
T001W-WERKS
T001W-Plants/Branches
WERKS-Plant
Regards
JP
Similar Messages
-
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. -
Error while doing PGI for outbound delivery in SD
Dear All
while posting the PGI for out bound derlivery document in SD we are encountered the error as follows:
Fld selection for mvmt type 601/ acct 700000 differs for customer goods movement (015)
Please give the solution for this, its very very urgent...
Your quick response in this regards highly appriciated.
Thanks in advance.Hi,
the field status of movement type and field status group of GL account should be in sink.
the field that are mandatory for movement type should be also mandatory in field status group of GL account. same rule apllies for optional field.
in your case, may be GL may have some field like for example text as mandatory but may be set as optional in movement type.
consult your FI team. otherwise, check what field status group ( say G001) is given to that GL accoount in FS00, double click on that, and check the fields. same compare the fields of movement type.
easy way is in SE38 give RM07CUFA, execute, give the movement type and GL account, you can see the comparsion.
your problem will be resolved. bring movement and GL in sink for field selection.
Regards
Rajesh -
Getting the error while doing PGI for depot delivery
Hi
I am getting the below error while doing PGI for Depot delivery. This error is happening only when I taking the materials from stock transfer order which has more than 10 line items. Same issue is not happening when I am taking one material in Stock transfer order in & same material in depot delivery. Please see the screen shots below attachment. I have already maintained no range for the object J_1IDEPINV for year 2014.
Regards
PKMoved from SAP ERP SD Sales to Internationalization and Unicode. Please post all your CIN related queries here. Also ensure that before posting, you made efforts in searching in SCN or Google. The reason for this indication is the issue you posted has already been discussed many times here and you will get some clue had you searched.
G. Lakshmipathi -
STO Problem while doing GR against outbound delivery
Hi Gurus,
Need your help regarding STO,in my case i created
1. STO
2. Delivery in VL10B t code and did PGI
3. on the basis of Delivery i created billing document
4. Excise invoice in J1IIn
Now while doing GR against outbound delivery system in not doing GR giving some error code 1 as follows
Goods receipt not possible for delivery 4900000212: error code 1
Message no. M7865
Diagnosis
The goods receipt for the delivery cannot be posted.
The error according to the error code:
1. The delivery does not exist.
2. The delivery type is unknown.
3. The delivery is not goods issue posted.
4. There are no delivery items.
5. The receiving plant could not be determined.
6. The delivery items have already been goods receipt posted or contain zero quantities.
7. Goods receipt(effect)movement type to goods issue movement type could not be determined.
8. It is not currently possible to block the delivery.
Procedure
Error code 1 : Check your entry.
Error code 2,3,4,6: Check the delivery and its document flow.
Error code 5 : The delivery must be related to a purchase order or
the customer must be a retail business.
Error code 7 : Check the settins for your movement types.
My delivery types shipping points everthing is in place but am not able to trace out whats the problem. Please help its urgent
Regards
VivekHi
Based on the error code 1 , it says that the delivery does not exists in the system, That means you cannot perform a Goods receipt againsst the document specified
I have also not done Goods receipt with reference to Outbound delivery. So i am not able to confirm that this can be done or not.... i will definitely get back to you on this.
Thanks & Regards
Kishore -
HI Guys
I created Order and while doing PGI error message comes
Error message is:
Account 892000 requires an assignment to a CO object
Message no. KI235
Diagnosis
You have not defined a CO account assignment for an account that is relevant to cost accounting.
System Response
Account 892000 is defined as a cost element.
This means that you must always specify a CO account assignment.
Procedure
Enter one of the following CO account assignments
Order
Cost center / cost center/ activity type
Sales order item (for a project or cost relevant)
Project / WBS element
Cost object (Process manufacturing)
Network/ Network activities
Business process
Profitability segment
Real estate object
The posting row affected is 000, account 892000.
Help me in this issue ...as early as possibleHello,
sales order items are not in all cases available as account assignment
object, this is only the case if it is an order with make-to-order
production (VBAP-KZVBR='E').
If the sales order item itself is a co-object (VBAP-KZVBR='E'), the
cost and revenues can be carried on the position itself and the field
VBAP-OBJNR contains the number of the co-object. Please check this for
your case.
Even if the VBAP-KZVBR is set to 'E', but if the field VBAP-OBJNR is
blank, the order cannot be the accounting object in KB21N - you should
rather use the receiving order for the activity allocation.
You can check this in KB21N via the F4-help: if the sales order item
is not displayed here, it's is not considered as valid account assigment
object.
I hope this information will help to clarify the issue.
Regards
Claudia -
Problem while doing PGI for Returns Delivery
Hi,
We are facing some problem which doing PGI for a returns delivery. Our scenario is HU and WM managed. After creation of delivery I have created a TO and has two different valuation type of same material. Total quantity in TO is 2, 1 of each valuation type. So, automatically, batch split happened for the line item in delivery.
Now when I am trying to do PGI for this delivery, I get en error message saying "Enter Valuation Type". The movement type used here is 161 (Vendor Returns)
Same thing is happening successfully for movement type 643 (Transfer inter company code). What I can gather is that while creating 161 document against delivery system is not automatically taking the valuation types mentioned in line item of delivery.
Let me know possible reasons for this error and resolution.
Regards,
VishalImplement the OSS note 965985
-
Serial Nos while doing PGI in the Delivery
Hi Everyone,
Please guide me for the following query:
After selecting an item line and then clicking on option for Serial No. on the screen, no screen is being appeared for entering the Serial Nos.
Note: The Material is a serialized material.
Please guide what can be the problem.
Thanks and RegardsHi,
Yes, Serial No.is existing there.
Please guide what can be the reason, why we are not able to get the screen where we can enter the serial nos?
Actually previously we transferred the stock from a batch valuated serialized material to the currently being used material (which is serialized but not batch valuated).
As because the currently being used material is not a batch valuated material, we are not getting the screen to enter the serial nos. Is this the reason?
With serial no. profile(XXXX), attached equipement category is 'H'.
With serial no. profile(XXXX), MMSL-the Serial Number Usage = '03', '01'
Serialization attributes for Movt Type: XXXX-MMSL-001-03-01.
601-LGoods movement for delivery note-Normal receipt- No consumption-001.
Now i got it, in my serial no. profile, SDLS was not defined!
Many thanks to you all.
Thanks and Regards
Edited by: MP Vashishth on Apr 6, 2011 9:25 AM
Edited by: MP Vashishth on Apr 6, 2011 10:06 AM
Edited by: MP Vashishth on Apr 6, 2011 10:14 AM -
Reduction logic while doing PGI for Delevery
Hello all,
we have one requirement to make the consumption for MTO(Make to Orders) while MRP running through MD04. We have done some changes in enhancement spot to made the consumption forcifully for MTO's.
But while accessing MD63 for VSF(Planning with Final Assembly) MTO's we are not able to display the reduction quantity while doing PGI for particular Delivery.But this functionality is working fine for VSE(Planning without Final Assembly) MTO's as SAP standard.
Please help me out to achieve the same functionality for VSF(Planning with Final Assembly) MTO's .
Thanks and Regards,
Siva.Hello all,
we have one requirement to make the consumption for MTO(Make to Orders) while MRP running through MD04. We have done some changes in enhancement spot to made the consumption forcifully for MTO's.
But while accessing MD63 for VSF(Planning with Final Assembly) MTO's we are not able to display the reduction quantity while doing PGI for particular Delivery.But this functionality is working fine for VSE(Planning without Final Assembly) MTO's as SAP standard.
Please help me out to achieve the same functionality for VSF(Planning with Final Assembly) MTO's .
Thanks and Regards,
Siva. -
Error:while doing PGI in STO getting error
Dear sir,
while doing pgi in sto i m getting this error and i tried in obyc setting is there is there any other option to solve this isssue.
Account determination for entry CAIN AUM ____ ___ 7920 not possible
regards,
DebeshHi
Account determination for entry CAIN AUM ____ _ 7920 not possible
This is a clear OBYC error
Here CAIN is chart of accounts
AUM is transaction key
Go to OBYC select AUM double click that
system will ask for chart of accounts give CAIN as chart of accounts
maintain the necessary settings for 7920 and for the valuation grouping code
Here system has not given what is your valuation grouping code
In t code OMWD you can see what is the valuation grouping code assigned to your plant
make the necessary settings
I feel by chance or by mistake in your delivery doc there is a line item with 0 qty in both delivery and picking
That is why system has gone for AUM transaction key
check that and delete that item and then without the above said settings being maintained the PGI can get processed
Check and revert back
Regards
Raja -
while doing PGI i am getting error : " Item 000010 requires exactly 10 serial numbers for the asset "
i tried by Extra --> serial no here i am not able to do anything, there is no automatic button in pop up screen.
and in mm02 also i tried in sales:general plant/data
i am not able to do PGI, is there is any other solutionsDear Mohan,
As per your message the material alredy got assigned some serial number so those serial numbers only you need to assign in the delivery before PGI.
But you have mentioned that there is no popup menu when you go through Extras -->Click on serial numbers this is the place you can assign the serial numbers to the material (go to drop dowmn for existing serial number).
I hope this will help you,
Regards,
Murali. -
While doing PGI I system getting Error
Dear SD Experts,
While doing PGI in delivery system getting Error "The batches are not defined for delivery item 000010".
Error Massage :- Message no. VL605
I already defined Batches to the given item. Its appearing Under Material and its specified in Batch split Tab.
Kindly suggest me where I was wrong and what configuration I missed.
Regards,
Manzoor Ahmadhi
select the stock against the batch which should be equal to delivery quantity.
that means delivery quanquantity should be equal to picing quantity.
after selecting manually press F3 to go back.
system will give a POP UP message say YES
then the batches against the quantity will be copied in the delivery document
again go back you will come to over view of delivey screen
then in picking tab page you will find all picked quantity if not give it manually
and save the delivery document with out pressing PGI.
hope this clears your issue
balajia -
Run time error while doing PGI
hi gurus
while doing PGI i am experiencing run time error.
the ERROR ANALYSIS says that " check doc number 49 in company code 1234 and fiscal year 2007. and correct the number range status if necessary".
i'm confused. please guide how to rectify the problem.
thank you all in advance
regards
madhuCreate new number range in T.Code:FBN1
Go to menu path:
IMG > Materials Management >Inventory Management and Physical Inventory > Number Assignment > Define Number Assignment for Accounting Documents
Click on "Financial Accounting Document Types"
go to Accounting Documents WA, WI, WL and double click on them and change the number range to the new number range created.
Regards
AK -
While doing PGI.... error coming deficiancy of stock
Dear Guruz,
while doing PGI.... error coming deficiancy of stock. In MMBE the stock quantity is 40 and i am trying to issue 1 qty.
PL discuss
Edited by: Csaba Szommer on Oct 23, 2011 7:48 PMHi,
It seems to be u have not done "Transfer order confirmation".
Pleas do the TO confirmation then try do PGi and let us know the status....
Regards
sankar -
While doing PGI get error account determination for entry
while doing PGI get error account determination for entry not possible message no M8147
Hello,
Seems like you are missing entry in Trx OBYC - GBB/VAX or GBB/VAY. The long text of the error message would tell you where to maintain the entries. If that is VAX or VAY you would need to maintain the 'Cost of Goods Sold a/c there according to the valuation class.
Kind Regards // Shaubhik
Maybe you are looking for
-
[Solved] - Can't Log In After Upgrade
Just upgraded and now can't log in. System hangs at 'Reached target Graphical Interace.' When I go to tty2 and try to log in, I get 'Log incorrect' error message when trying to log in as normal user or root. Re-booted to runlevel 3 and tried to su to
-
Giant windows, sort of out of focus
I'm not quite sure what's wrong with my computer. I stopped using it for a minute so it was sleeping and I hit the power button to start using it again. I've done this plenty of times before with no problem. When I turned it back on it had reverted t
-
Memory leak in implementing ListModel by myself
Hello, I have created a class which implements ListModel. In this class I overwrite "Object getElementAt(int aIndex)" function of ListModel. What I do inside this function is I read from a file some bytes and with that byte I create Object and return
-
XI Mapping Standard Function MUL
I am seeing a weird problem in the XI mapping: Iam using the standard function MUL from the Arithmatic group to multiply 2 values. It works fine except when one of the values is 9, 18, 36 72, 144 and so on! For example, if the values are 0.1 and 18 t
-
Connection between two clients
Hi, I want to get some guidance on connection between two clients. Suppose I need to connect client 500 with client 900 in the same system without changing the logical names. Thanks & Regards Nabarun