cancel
Showing results for 
Search instead for 
Did you mean: 

WITH EXAMPLE

Former Member
0 Kudos

Hi friends,

need any good example for doing..<b>.I am listing down the example i finished . now you would be able to help me after seeing what am I doing...</b>

Please help...will reward for helping

SCENARIO—GET INVOICE DETAILS:

Import the Bapi “BAPI_BILLINGDOC_GETDETAIL” from SAP to Xi under imported objects.

Integration Scenario – IS_InvoiceGetDetails

Action 1– GetInvoiceDetail

Action2 – SendInvoiceNo

Insert Action1 to Application Component 1

Insert Action 2 to Application Component 2

Connection between Action1 and Action2

DT_Invoice_Req

Order No - String – occurrences (0..1)

DT_Invoice_Res

Invoice_Header – String – Occurrences (0..1)

Invoice_Address – String – Occurrences(0..1)

Invoice Items – String – Occurrences(0..1)

Message Types

MT_Invoice_Req – data type – DT_Invoice_Req

MT_Invoice_Res – data type – DT_Invoice_Res

Message Interface

MI_Invoice –

Category – OutBound

Mode – Asynchronous

Output Message – MT_Invoice_Req

Input Message – MT_Invoice_Res

Message Mapping

MM_Invoice_Req

Source – MT_Invoice_Req

Target – BAPI_BILLINGDOC_GETDETAIL

MM_Invoice_Res

Source – BAPI_BILLINGDOC_GETDETAIL

Target – MT_Invoice_Res

Interface Mapping

IM_Invoice_Query

Source –Software Component Version mycompany_product_version, 2.0 of mycompany.com

NameSpace – http//mycompany.com/xi/technology

Name – MI_Invoice

Target -Software Component Version MYCOMPANY_PRODUCT_TECHNOLOGY, 2.0 of mycompany.com

NameSpace – urn:sap-com:document:sap:rfc:fucntions

Name – BAPI_BILLINGDOC_GETDETAIL

Request – MT_Invoice_Req

Response – MT_Invoice_Res

Afterwards I Created one File_Synchronous_Abstract interface (using request and response datatypes).

Use this as sender interface and use BAPI as receiver interface. then I got the request and response tabs. then Give the 2 mapping names

Now please help me with any other exaple from a different module..

that will help me...

Regards

A.K.

Accepted Solutions (0)

Answers (1)

Answers (1)

prabhu_s2
Active Contributor
0 Kudos

check for sales order/material master creation using bapi's

Former Member
0 Kudos

Hi,

where to check...gimme a small sceanario to do..

i am a fresher having just 3 months experience

Regards

Anil

Former Member
0 Kudos

First go to TCODE se37 of your SAP system and enter the BAPI name "BAPI_SALESORDER_GETLIST" and click on display and click on execute button(Test or F8).You can find test function module screen.

There are 2 mandatory parameters called customer number and sales organization.Enter these 2 parameters and click on execute button. Now You will get all the existing sales orders.....................

Use this BAPI to get the list of sales orders....and also read functional documentation in the BAPI for mandatory and optional parameters.