Solved

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

Posted on 2004-09-18
5
1,172 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: You must have administrative privileges in order to configure lead or case queues. Salesforce.com (http://www.Salesforce.com) is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 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

23 Experts available now in Live!

Get 1:1 Help Now