cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice Does not Created in R/3

Former Member
0 Kudos

Dear All,

I am sending data from Oracle Application to SAP R/3 through XI .

XI is picking up data from Oracle and send it to RFC of SAP R/3 in RFC it calls function module(Z) in which i am calling BDC.It executes fine in R/3

But when i send it thriough XI it gives

After finishing the polling it gives all successfully finished.

Message successfully received by messaging system. Profile: XI URL: http://aipid:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.

Success Message successfully put into the queue.

Success The message was successfully retrieved from the request queue.

Success The message status set to DLNG.

Success Delivering to channel: CC_COPA_AED_RFC

Success RFC adapter received a synchronous message. Attempting to send sRFC for ZXI_INTF_INVOICE

Success BAPI response was a table of type BAPIRET2 with 0 rows

Success BAPI executed successfully

Success Commit transaction with BAPI_TRANSACTION_COMMIT

BUT WHEN I CHECK THE INVOICE IN sap r/3 THENIT DOES NOT SHOW

WHAT COULD BE PROBLEM

THANKS,

rp

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey,

The Problem most probably is with COMMIT. Though the data is being transferred to the target system BDC program with you are calling in ZRFC doesn't commit.

In the RFC adapter -> Advance Mode -> Commit Control for Single BAPI Calls -> Set the indicator

If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm

<b>Cheers,

*RAJ*

**REWARD POINTS IF FOUND USEFULL <b>

Former Member
0 Kudos

Hi rajesh

we already tried that and the bapi_commit is successful but it is not returning the expected invoice no .

also as indicated in the help doc , the type node in the RETURN structure does not contain "" , "S" and "W". It is just an empty node having no values

regards

krishna

former_member431549
Contributor
0 Kudos

Are you calling the BAPI directly ? As opposed to an RFC wrapper program around the BAPI ? If so, are you doing a committ in your comm channel ?

Former Member
0 Kudos

thanks dear

i am calling BDC program in my RFC(Z Function module) i am not using BAPI at all so need to commit

please suggest what could be problem

RP

former_member431549
Contributor
0 Kudos

You could check application log, t-code SLG1, in your R/3 system to see if any errors are logged. Otherwise, I think you will need to use SE37 to debug the RFC using all the parameter values that were passed in from XI.

Former Member
0 Kudos

Dear

can u tell me how to debug in R/3 and in XI

RP

moorthy
Active Contributor
0 Kudos

Hi,

Check out Advanced Mode in the Receiver RFC Communication Channel configuration. Probably the problem with COMMIT.

http://help.sap.com/saphelp_nw70/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm

Rgds,

Moorthy

Former Member
0 Kudos

sorry

i am not able to see any error log in SLG1 in R/3 i also in SE37 i mannually entered data from sxmb_moni in XI . it creates invoice.But through XI it does not

RP

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check the RFC destination is right.

Regards

Agasthuri Doss