Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Kaz_Iwamoto
Advisor
Advisor
Introduction

This blog is for SD & MM consultants. This functionality can be used from SAP S/4HANA OP2022, OP2023 version and SAP S/4HANA Cloud, private edition.

What is Advanced Intercompany Stock Transfer

Classic Intercompany Stock Transfer was developed in order to reduce documents between  intercompany trading since SAP R/3. However, For audit and IFRS reasons Classic Intercompany Stock transfer is not good enough. So, Advanced Intercompany Stock transfer was developed.

Classic Intercompany Stock Transfer has no Delivery Company’s Sales order.


The Advanced Intercompany Stock transfer has Delivery company’s sales order also.


3 The purchase order is created by the business application, it can be manually or by a job

4 Create a Sales order automatically by Value Chain Monitor (VCM)

5 Create a outbound delivery order by business application, manual or job

6 Post GI for Stock transfer to SiT by business application, manual or job (TM, EWM, 3PL etc.)

6' Create inbound delivery order automatically by VCM

A Create a billing document to receiving company manually or by a job

7 Create material documents automatically After internal transfer of control date by VCM

8 Stock transfer to 1010 manually (Or TM, EWM, 3PL)

B Create supplier invoice automatically by VCM

 

Pre-requisite

SAP S/4HANA OP2022 FPS00 or upper version. Fiori server must be installed.

 

Customizing

Please see the below SAP Note.

3233845 - Configuration Steps for Advanced Intercompany Stock Transfer in SAP S/4HANA

3283316 - Scope activation of Technical Job Definitions in VCM processes

Customize Hints:

Classic ATP is also used.

IMG>Cross-Application Components>Advanced Availability-to-Promise (aATP)> Configuration Activities for Specific Document Types>Stock Transport Orders>Configure Delivery Type & Availability Check Procedure by Plant


 

IMG>Materials Management>Purchasing>Purchase Order>Set Up Stock Transport Order>Define Shipping Data for Plants


 

IMG>Sales and Distribution>Billing>Intercompany Billing>Define Internal Customer Number By Sales Organization


IMG>ABAP Platform>Application Server>System Administration>Activation of Scope-Dependent Background Job Definitions (Tr-CD: S_YI3_39000188)


 

Tr-CD: SJOBREPO

You can customize the job.


 


 


 

Master

Business Partner


 


Business partner for Receiving company



Price

Receiving company’s Internal purchase price and Sending company’s Internal sales price should be exactly same. Otherwise, the internal invoice verification will fail.

Intercompany Purchase Order



Intercompany Billing document



 

Operation

Execute “Create Purchase Order Advanced” Fiori Apps or TR-CD:ME21N


Set Purchase Order Type, Supplier and Purchase Organization.


 

ATP woks after a material number and quantity are set in the STO order.

Set “0004 Inbound Delivery” as the confirmation Control


 


Internal Seles order is created automatically by VCM


Create an outbound delivery by “My Purchase Orders Due for Delivery” Fiori Apps or Tr-CD: VL10B


Set the shipping point.


Push “Execute” button


Check the purchase order


Push “Background” button


GI by “My Outbound Delivery Monitor” or Tr-CD: VL06O



Set the Shipping Point


Push “Execute” button


Check the outbound delivery


Push “Post Goods Issue” button


Push “Continue”


Success message


 

Good Issue for OD into SiT (GIOD) Movement Type 681


Created inbound delivery document automatically by VCM


Create a Billing document by “Create Billing Documents” Fiori Apps or TR-CD: VF01


Check the out bound delivery document and push “Create Billing Documents” button

Created the billing document as a draft



Push “Save” button


Push “Post Billing Document” button


Monitor the Advanced Intercompany Stock Transfer” process by “Monitor Value Chains” Fiori Apps


Crick the leading purchase order document and push “>” button


Crick “i” button


 

Job schedule is the internal transfer control data



 


After coming the job due date, subsequent material documents were created automatically.

You can do GR posing manually for the inbound delivery document by “Inbound Deliveries for Purchase Orders” Fiori Apps or Tr-CD: VL32N


Push “Post Goods Receipt” Button


 


 

 

The business process was finished.


 


 

 

Post GI from Issuing SiT (GIIV)  Movement Type 685T


Post Goods Receipt to Receiving SiT (GRRV)  Movement Type 107

 


Post Stock Transfer into Physical Stock (GRID)  Movement Type109


Supplier Invoice


 

Conclusion

You understand how Advanced Intercompany Stock Transfer works.

Appendix

Help:

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/af9ef57f504840d2b81be8667206d485/136b810e1bf44faa991...

Best Practice

Nothing for Advanced intercompany Stock transfer OP/Private Cloud

5HP - Advanced Intercompany Stock Transfer for SAP S/4HANA Public Cloud

 

SAP Note:

3366080 - SAP S/4HANA 2023: Restrictions and General Information for Advanced Intercompany Stock Tra...

3226677 - SAP S/4HANA 2022: Restrictions and General Information for Advanced Intercompany Stock Tra...

2190119 - Background information about SAP S/4HANA technical job repository

2849364 - Jobs in the Technical Job Repository (SJOBREPO) in SAP S/4HANA 2021

3195909 - Jobs in the Technical Job Repository (SJOBREPO) in SAP S/4HANA 2022

3236399 - FAQ - Technical Job Repository (SJOBREPO)

3324421 - How long it will take effect after re-activating the jobs manually in SJOBREPO

3387903 - Standard jobs defined in job repository got cancelled after post processing

3397763 - If it is possible to transport the changings of one standard job in SJOBREPO

 

2734777 - SJOBREPO: Technical Job Repository is not scheduling jobs in a client

3211320 - Mass Resolution of Issues in Processes Tracked by the Monitor Value Chains App

2816000 - CVI_VAL: Message "& plant already assigned to vendor &. Specify another Plant." (CVIV_UI 1...

 

Fiori Apps Library

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html#/detail/Apps('F4854')/S...

Related SAP Blog

Advanced Intercompany Sales in SAP S/4HANA OP/Private Cloud

Advanced Intercompany Sales & Stock Transfer in SAP S/4HANA Cloud

 

Brought to you by the SAP S/4HANA Customer Care and RIG
36 Comments
kent_2804
Explorer
0 Kudos
Hi Kazuhisa Iwamoto,

 

Internal Seles order is not created automatically by VCM, how can I check the errors

 

Thanks.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Minh,

1)Check the blow 4 settings first
IMG>ABAP Platform>Application Server>System Administration>Activation of Scope-Dependent Background Job Definitions (Tr-CD: S_YI3_39000188)

IMG>Sales and Distribution>Billing>Intercompany Billing>Define Internal Customer Number By Sales Organization

IMG>Materials Management>Purchasing>Purchase Order>Set Up Stock Transport Order>Define Shipping Data for Plants

IMG>Cross-Application Components>Advanced Availability-to-Promise (aATP)> Configuration Activities for Specific Document Types>Stock Transport Orders>Configure Delivery Type & Availability Check Procedure by Plant

2) If you couldn't find any wrong or missig seting, then SAP Note 3233845 described setting one bu one.

3) Before gave up, please ask SAP local consultant support service.

Best regards,

Kaz
kent_2804
Explorer
0 Kudos
Hi Kaz,

Thanks for your support, I can create the flow, but I still have 1 question: Some error POs when I press "Reprocessing" and it still pending, don't hanve any process even though i fixed the error.

I applied snote 3295910 - Enable reprocessing of hanging event queues after a dump/exception in VCM and uste t-code VCM_RESOLVE - Resolve incons. business processes but the PO status in VCM still remain "Reprocessing"

 

Do you have any solution about this ?

 

Best regards,

Minh.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Minh,

If I can see the error message, then I might be able to assume the issue and provide a solution.
kent_2804
Explorer
0 Kudos
Dear Kaz,

Like this error, I ppress Reprocess but it still remain the status from 08/04 to now, how can I continute with this probem?



Thanks.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Minh,

The Log says "Not able to determine tax code". You should make sure the purchase order has tax code.
kent_2804
Explorer
0 Kudos

Hi Kaz,

  • 1 - My PO has tax code in line item

  • 2 - I have config mapping tax code between billing in Logistics Invoice Verification →
    Advanced Intercompany Processes → Assign Tax Codes for the Transfer of Supplier Invoices.

Tax code in PO just in every PO line, I think the message tell us we need to find a way to input tax code in MIRO header in advanced sto auto create invoice. I also tried to default tax code per company code in Logistics Invoice Verification - Incoming Invoice - Maintain Default Values for Tax Codes but it no help.

Please let me know if there are any mistakes.

Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Tax type should be blank.

kent_2804
Explorer
0 Kudos
Hi Kaz,

Tax type blank and the errors still like before.

Kaz_Iwamoto
Advisor
Advisor
0 Kudos
SD invoice value and purchase value are exactly same include tax?
kent_2804
Explorer
0 Kudos
Not, my SD accounting document tax code is O2 with tax procedure TAXVN. My AP invoice tax code = A2.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Try the below setting.

After setting it, newly creating a purchase order.

kent_2804
Explorer
0 Kudos
Hi Kaz,

 

I found the issue, it from the mapping Sales Org and Internal Customer (TCode OVVA).

 

Thanks alot for your help.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos

Congratulations!

Please state your solution in detail for other guys with screen shots.

kent_2804
Explorer
0 Kudos
Hi Kaz,

It's nothing new, just base on the configuration guide on snote 3233845 - Configuration Steps for Advanced Intercompany Stock Transfer in SAP S/4HANA

The error abow occurred because of mapping wrong Customer code in this step, so the tax code mapping is null.


Best regards,

Minh
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Minh,

I think that your customizing amendment won't affect already created PO unfortunately.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Minh,

Please create an incident for this.
Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Thanks. I have a LinkedIn page. If you'd like to connect me, I'm happy to

https://www.linkedin.com/in/kazuhisa-i-9b0b7730/
Mo_Salah
Discoverer
0 Kudos
Hi Kazuhisa,

Thanks for the great blog!

Just wanted to know if the the scenario is compliant with configurable materials or it has any restrictions.

Thanks again!
Mo_Salah
Discoverer
0 Kudos
Thanks, Much appreciated!!

 

 
1458_8964_237
Discoverer
0 Kudos
Hi Kazuhisa,

Thanks for the great blog!

I got 2 questions below.

Just wanted to know I have created 'NBIC' PO order successfully, but initiating document is not appeared on the monitor value chains.(1st question)

I am not able to create outbound delivery via 'VL10B', error message shows below.(2nd question)

Kaz_Iwamoto
Advisor
Advisor
0 Kudos

Hello Jack,

aATP seems not to work.

Please check the customizing under IMG>Cross-Application Components>Advanced Availability-to-Promise (aATP)> Configuration Activities for Specific Document Types>Stock Transport Orders>Configure Delivery Type & Availability Check Procedure by Plant.

And check your material master has aATP activated Availability check group (IMG>Cross-Application Components>Advanced Availability-to-Promise (aATP)> Define Avalability Checking Groups>Define Availability Checking Group)

Then recreate another STO and create the delivery document.

And check Monitor the Advanced Intercompany Stock Transfer” process by “Monitor Value Chains” Fiori Apps log as your error message said.

Best regards, Kaz

1458_8964_237
Discoverer
0 Kudos
Hi Kazuhisa,

Thanks for the prompt reply.

I have successfully created 'NBIC' PO, 'CBIC' SO and 'NCC3' outbound delivery, but initiating document is still not appeared on the monitor value chain.


I have checked related authorizations, cleared cache in Chrome and restarted my laptop.

Do you have any clue about this?

Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Pyo,

So, you can created STO's delivery document and a sales order of delivering company.

However, they didn't appear in VCM.

Check the customizing under IMG> Material Management>Purchasing>Purchase Order>Advanced Inter company Processes

If there is no mistake, then check the every customizing one by one.

Best regards, Kaz
SFC
Explorer
0 Kudos
Hi, thanks for the great document. Can I find the reason why you mentioned that aATP should be used? Cheers.
Kaz_Iwamoto
Advisor
Advisor
Hello Siow Fong,

Classic ATP also can be used for this function. Thank you for your noticed.

Best regards, Kaz
SFC
Explorer
0 Kudos
Hi Kazuhisa, another question is I cannot find the Best Practice for this advanced STO functionality (and the intercompany sales one) for New Zealand. Can we still use the functionality if we do the configuration manually?

Appreciate your advice on the above. Cheers.
martinela
Discoverer
0 Kudos
Hello Kazuhisa,

Can you tell me something about advanced IC STO cancellation process?

I'm not able to cancel any of the documents in the flow after posting GI on the delivering company. First message that appears after attempting to do GI reversal is that inbound delivery exists and that it must be deleted beforehand. After deleting inbound delivery, GI reversal is not possible because the delivery in question is locked by another user *.

So, what are the exact steps for advanced IC STO cancellation process?
EricXue
Discoverer
0 Kudos

Hi Iwamoto-san

Thanks for your great blog!

I am now following Note 3233845 and your blog to test the process.
I met two questions, would you please kindly give me some advice, Thanks in advance.

Q1:
Internal Seles order is not created automatically by VCM
Error message is:
No item category available (Table T184 CBIC CBNA  )

But you could see at the attachment,
the customazing is the combination of Sales document: CBIC + Item category: CBIC.
and I could not find where is CBNA come from.

System Info: S4HANA ON PREMISE 2022 Initial Shipment Stack

Q2: In you blog, you mentioned about the sales price.
>Receiving company’s Internal purchase price and Sending company’s Internal sales price
>should be exactly same.

If i understand correctly, system could not bring PO price to SO,
and sales price should create manually?

Kaz_Iwamoto
Advisor
Advisor
0 Kudos
Hello Siow,

Yes, you have to implement this function manually into the Best Practice for OP.

Best regards,

Kaz
Kaz_Iwamoto
Advisor
Advisor
0 Kudos

Hello Yuhu,

I think the Item Category Group "CBNA" is set in your material master.

The item category group should be "NORM".

EricXue
Discoverer
0 Kudos

Hi Iwamoto-san

I will change  item category group and try again.

Appreciate for your great advice!

 

AnkurGoyal
Discoverer
0 Kudos

Is multi-level tier also supported where the intermediate company would be there between shipping and receiving companies? I tried and could not find any documentation.

Thanks,

Ankur Goyal

SFC
Explorer
0 Kudos

Hi, in general we have got the solution up and running in the S/4HANA On-Premise system. One observation is that the ship-to BP comes from the customer number assignment for the receiving plant when we assigned a storage location which derived a different customer BP on the Shipping tab of the STO. The outbound delivery actually takes the customer BP on the Shipping tab of the STO. This is inconsistent and would cause confusion for the users. Is this standard or considered a bug? I have looked up OSS but could not find any relevant notes. Appreciate any clarification on the above. Cheers.

Siow Chen