| Questions on BAPI and RFC Programming
One BAPI to get status back of the delivery no
! >> RFC programming
1) I am creating purchase order(PO) and
creating inbound delivery for that purchase order(PO) which will
be distibuted to NONSAP((warehouse management) .
> ------------------------------
Then NONSAP((ware house management) sends
back the confirmation (after updating its Data base of that inbound delivery
) to SAP through IDoc which uses delivery number. I am sending
delivery no(in IDoc) from Non Sap(ware house management) to Sap through
JCO.
If you use Jco, which is the Java Connector, you
know how to program
Java or you have a resource available that knows
how to program java.
Then in SAP [after getting back that IDoc from
NON-SAP((ware house management) ], the status of that delivery number
will changes to "Confirmed". We can see that in SAP through transaction
code : vl33n.
> ------------------------------
I am not so familiar with VL33N, so I could not
find this status change. Am I right to think that this status is stored
in table LIKP field VLSTK ( Distribution Status (Decentralized Warehouse
Processing) ).
NOW , I need one BAPI which I can use from
NON-SAP, to get back the status of that delivery number. My
idoc sending from NON-SAP, since it is through idoc , it is not returning
back the delivery number's status from SAP, I need to use one BAPI
from nonsap (java prg) which takes input as delivery number and gives back
the status of that delivery number from SAP.
> ------------------------------
You need either a BAPI ( there is non that does
what you want ), or you need an RFC.
2) What is RFC sever programming ? In which language
is it in? I am an ABAP programmer. How can I deal that issue please guide
me .
> ------------------------------
Ahah. RFC ! So, RFC's are actually function modules,
but in the Attributes tab you enable 'Remote-enabled module' and you enable
'Start Immediately'. RFC's are created with SE37, you can also create them
with SE80.
In the import section you would create a p_vbeln
like likp-vbeln, in the export section you would create a p_status like
likp-vlstk.
In the source code you would have something like
select single vlstk
into p_status
from likp
where vbeln eq p_vbeln.
And then in JCO you call this Function Module/RFC.
The java person should know how to do this.
Tom Demuyt.
Fast Links:
Get help for your ABAP problems
Do you have a ABAP Question?
ABAP Books
ABAP Certification,
BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books
Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
All the site contents are Copyright © www.sap-img.com
and the content authors. All rights reserved.
All product names are trademarks of their respective
companies. The site www.sap-img.com is in no way affiliated with
SAP AG.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
The content on this site may not be reproduced
or redistributed without the express written permission of
www.sap-img.com or the content authors.
|