Solved

Use SAP-.NET Connector to issue goods in IM & WM

Posted on 2004-09-18
5
1,167 Views
Last Modified: 2013-12-08
I'm developing an application interface with SAP by using Visual Studio .NET and I have a problem about transaction controlling.

The problem is when I called the series of these BAPI to issue goods

BAPI_GOODSMVT_CREATE
BAPI_TRANSACTION_COMMIT (specify wait parameter with 'X')
BAPI_LTO_CREATE_POSTING_CHANGE

Sometime BAPI_GOODSMVT_CREATE & BAPI_TRANSACTION_COMMIT success but BAPI_LTO_CREATE_POSTING_CHANGE fail. That make data in IM not consistent with WM.
Is there anyway to control the transaction that if BAPI_LTO_CREATE_POSTING_CHANGE fail then application should roll back the BAPI_GOODSMVT_CREATE to the original state?
This caused very unstability in my system.

Please help.
0
Comment
Question by:gigades
5 Comments
 

Accepted Solution

by:
Nexplicit earned 125 total points
ID: 12118550
When BAPI_GOODSMVT_CREATE returns SUCCESS, the transaction is committed.  The only way you can rollback is create another BAPI_GOODSMVT_CREATE with a different movement type that reverses the entry.
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 125 total points
ID: 12130092
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Supply Chain Event Management Supply chain visibility is the ability of a company to track its products and business processes in supply chain towards building operational excellence. The goal of supply chain visibility is to improve and strength…
Note: You must have administrative privileges in order to create/edit Sharing Rules. Salesforce.com (http://www.salesforce.com) (SFDC) is a cloud-based customer relationship management (CRM) system. It is a database most commonly used by sales an…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now